/* General */
:root{
  --primary: #b23c3c;
  --primary-dark: #8e3030;
  --primary-light: #efd8d8;
  --grey-dark: #363636;
  --grey: #444444;
  --grey-light: #fafafa;
}

html {
  height: 100%;
  width: 100%;
} 

body{
  font-family: "Open Sans", sans-serif;
  color: var(--grey);
  width: 100%;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition-duration: 0.3s;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.white-link{
  color: white !important;
  transition-duration: 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Nunito', sans-serif;
}

.text-color-primary{
  color: var(--primary);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.3s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: #fff;
  transition-duration: 0.3s;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

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

#preloader:before {
  content: "";
  position: fixed;
  width: 100px;
  height: 100px;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  border: 5px solid var(--primary);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: animate-preloader 1.2s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

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

/* Header */
#header {
  transition: all 0.3s;
  z-index: 997;
  padding: 20px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 0;
}

.header-scrolled.header-shadow{
  box-shadow: 1px 1px 12px #000;
}

#header .logo {
  font-size: 40px;
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#header .logo a {
  color: var(--primary);
}

/* Remove header shadow on mobile */
@media screen and (max-width: 767.98px) {
  .header-scrolled.header-shadow {
    box-shadow: none;
  }
}

/* Navbar */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  font-family: 'Nunito', sans-serif;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  padding: 0 3px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 15px;
  line-height: 0;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--primary);
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:not(.language-link):hover:before,
.navbar li:hover>a:not(.language-link):before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus {
  color: #fff;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 8px 12px;
}

.navbar:not(.navbar-mobile) .language-link:hover>i{
  transform: scale(1.15);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: calc(100% + 100px);
  top: 50%;
  transform: translate(0, -50%);
  margin: 0;
  padding: 10px 10px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: var(--primary);
}

.navbar .dropdown ul li a{
  justify-content: center;
  font-size: 12px;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  left: 50px;
  visibility: visible;
}

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  position: fixed;
  top: 15px;
  right: 15px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

@media (max-width: 767.98px){
  .mobile-nav-toggle{
    top: 25px;
  }

  .header-scrolled .mobile-nav-toggle{
    top: 15px;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 60px;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 0px;
  right: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--grey);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--primary);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul a i {
  font-size: 15px;
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  color: var(--grey);
}

.navbar-mobile .dropdown ul a i {
  font-size: 15px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: var(--primary);
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
  transform: none;
}

.navbar-mobile .dropdown ul li a{
  justify-content: start;
  font-size: 12px;
}

/* Hero */
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.word-changer-highlight{
  color: var(--primary);
  text-transform: uppercase;
  font-weight: bold;
}

#hero h1 {
  font-size: 64px;
  text-transform: uppercase;
  color: #fff;
}

#hero h2 {
  font-size:48px;
  color: #eee;
}

@media (max-width: 767.98px){
  #hero h1 {
    font-size: 50px;
  }

  #hero h2 {
    font-size: 35px;
  }
}

@media (max-width: 575.98px) {
  #hero {
    height: 50vh;
  }

  #hero h1 {
    font-size: 38px;
  }

  #hero h2 {
    font-size: 28px;
  }
}

/* Sections General */
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--grey-light);
}

.section-title {
  padding-bottom: 40px;
  text-align: center;
}

.section-title h2 {
  font-size: 30px;
  font-weight: 600;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title h2::after, .section-title h2::before {
  content: "";
  width: 250px;
  height: 2px;
  display: inline-block;
  background: var(--primary);
  margin: 9px 10px;
}

.section-title p {
  margin: 0;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey);
}

@media screen and (max-width: 767.98px) {
  .section-title h2::after, .section-title h2::before {
    width: 100px;
  }
}

@media screen and (max-width: 575.98px) {
  .section-title h2::after, .section-title h2::before {
    width: 50px;
  }
}

/* About */
.about .count-box {
  padding-bottom: 45px;
  width: 100%;
}

.about .count-box i {
  display: block;
  font-size: 48px;
  color: var(--primary);
  float: left;
  line-height: 0;
}

.about .count-box span {
  font-size: 28px;
  line-height: 25px;
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-left: 60px;
}

.about .count-box p {
  padding: 5px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--grey);
}

.about .content {
  font-size: 15px;
}

.about .content h3 {
  font-weight: 700;
  font-size: 24px;
  color: var(--grey);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  font-weight: 600;
  padding-bottom: 10px;
  padding-left: 34px;
  position: relative;
}

.about .content ul i {
  font-size: 24px;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: -6px;
}

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

/* Clients */
.clients {
  background: white;
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  filter: grayscale(100);
}

.clients img:hover {
  filter: none;
  transform: scale(1.15);
  cursor: pointer;
}

/* Opinions */
.opinions .opinion-item {
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  box-shadow: 0 0 10px rgba(216, 216, 216, 0.6);
  background: var(--grey-light);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

.opinions .opinion-item .opinion-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.opinions .opinion-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--primary);
}

.opinions .opinion-item h4 {
  font-size: 12px;
  color: var(--primary-dark);
  margin: 0;
}

.opinions .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.opinions .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--primary);
}

.opinions .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary);
}

.opinions .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .opinions .swiper-slide-active {
    opacity: 1;
  }

  .opinions .swiper-pagination {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .opinions .swiper-slide-next {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Services */
.services .nav-tabs {
  border: 0;
}

.services .nav-link {
  border: 2px solid var(--primary);
  padding: 15px;
  transition: 0.3s;
  height: 100%;
  color: #15222b;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.services .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.services .nav-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.services .nav-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 1024px) {
  .services .nav-link i {
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 991.98px){
  .services .nav-link i {
    padding: 0;
  }
}

@media (max-width: 575px) {
  .services .nav-link {
    padding: 15px;
  }

  .services .nav-link i {
    font-size: 24px;
  }
}

.services .tab-content {
  margin-top: 30px;
}

.services .tab-pane h3 {
  font-weight: 600;
  font-size: 26px;
}

.services .tab-pane ul {
  list-style: none;
  padding: 0;
}

.services .tab-pane ul li {
  font-weight: 600;
  padding-bottom: 10px;
}

.services .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--primary);
}

.services .tab-pane p:last-child {
  margin-bottom: 0;
}

/* Team */
.team {
  position: relative;
}

.team .container {
  position: relative;
  z-index: 10;
}

.team .member {
  margin-bottom: 150px;
  position: relative;
}

.team .member .picture {
  overflow: hidden;
  box-shadow: 0 0 10px rgba(216, 216, 216, 0.6);
}

.team .member .member-info {
  text-align: center;
  position: absolute;
  height: 150px;
  bottom: -90px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 20px 15px;
  color: var(--grey);
  box-shadow: 0 0 10px rgba(216, 216, 216, 0.6);
  overflow: hidden;
  transition: 0.3s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 0px;
  font-size: 18px;
  color: var(--primary);
  position: relative;
  text-transform: uppercase;
}

.team .member h4::after  {
  content: "";
  width: 100%;
  height: 2px;
  display: block;
  background: var(--primary);
  margin: 0px;
}

.team .member span {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.team .member .social {
  position: absolute;
  right: 0;
  top: 0;
}

.team .member .social a {
  color: var(--primary);
}

.team .member .social a:hover {
  color: var(--primary-dark);
}

.team .member .social a > i::before{
  transition-duration: 0.3s;
}

.team .member .social a:hover > i::before{
  transform: scale(1.15);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

.img-certification{
  max-height: 175px;
  cursor: pointer;
  transition-duration: 0.3s;
}

.img-certification:hover{
  filter: none;
  transform: scale(1.15);
}

@media screen and (max-width: 575.98px) {
  .team .member {
    margin-bottom: 50px;
  }

  .team .member .member-info {
    position: relative;
    height: 100%;
    bottom: 0px;
    left: 0px;
    right: 0px;
  }

}

/* Contact */
.contact .info-box {
  color: var(--grey);
  text-align: center;
  box-shadow: 0 0 10px rgba(216, 216, 216, 0.6);
  background-color: white;
  padding: 20px 0 30px 0;
  height: 100%
}

.contact .info-box i {
  font-size: 32px;
  color: var(--primary);
  border-radius: 50%;
  padding: 8px;
}

.contact .info-box h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  position: relative;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 600;
}

.contact .info-box a{
  color: var(--primary);
  transition-duration: 0.3s;
}

.contact .info-box a:hover{
  color: var(--primary-dark);
}

.flag-icon{
  width: 18px;
  margin-right: 6px;
  margin-bottom: 3px;
}

#timezone{
  font-size: 10px;
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translate(-50%, 0px);
}

/* Footer */
#footer {
  background: var(--grey);
  color: #fff;
  font-size: 14px;
  padding: 30px 0 15px 0;
}

/* Overwrite screen based */
@media screen and (max-width: 767.98px){
  p{
    font-size: 15px !important;
  }
}

@media screen and (max-width: 575.98px) {
  p{
    font-size: 13px !important;
  }
}
