/******************************************************************


	------------------------
	-- TABLE OF CONTENTS --
	------------------------
	
	--  01. Basic
	--  02. Preloader
    --  03. Background Content
    --  04. Navigation
    --  05. Section
    --  06. Section --> Intro
    --  07. Section --> About
    --  08. Section --> Service
    --  09. Section --> Partners
    --  10. Section --> Clients
    --  11. Section --> Contact
    --  12. Section --> Footer
 
 
 ******************************************************************/

/** 1. Basic
*******************************************************************/

html {
  font-size: 10px;
}

body {
  font-family: "EB Garamond", serif;
  font-weight: 300;
  font-style: normal;

  color: #fff;
  background: #fff;

  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "EB Garamond", serif;
  font-weight: 300;

  letter-spacing: 0;

  color: #fff;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3.5rem;
}

h4 {
  font-size: 3rem;
}

h5 {
  font-size: 2.5rem;
}

h6 {
  font-size: 2rem;
}

p {
  font-size: 1.6rem;
  line-height: 1.74em;

  letter-spacing: 0.02em;
}

a,
a:hover,
a:focus {
  cursor: pointer;
  -webkit-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
  text-decoration: none;
}

a:hover {
  color: #111;
}

a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

@media (max-width: 600px) {
  html {
    font-size: 8px;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 7px;
  }

  p {
    font-size: 2rem;
  }
}

/** 2. Preloader
*******************************************************************/

.preloader {
  position: fixed;
  z-index: 100000;
  bottom: 0;
  left: 0;

  overflow: hidden;

  width: 100%;
  height: 100%;

  background: #fff;
}

.preloader.hide-preloader {
  height: 0;

  -webkit-transition: 0.8s ease 0.3s;
  -o-transition: 0.8s ease 0.3s;
  transition: 0.8s ease 0.3s;
}

.preloader .spinner {
  position: absolute;
  top: 50%;
  left: 50%;

  display: block;

  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-left: -25px;

  -webkit-animation: spinner-pulse 0.6s infinite ease-in-out;
  animation: spinner-pulse 0.6s infinite ease-in-out;
  text-align: center;

  opacity: 1;
  border-radius: 100%;
  background-color: #111;
}

.preloader.hide-preloader .spinner {
  opacity: 0;

  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

@-webkit-keyframes spinner-pulse {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);

    opacity: 0;
  }
}

@keyframes spinner-pulse {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 0;
  }
}

/** 3. Background Content
*******************************************************************/

.background-content {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 50%;

  overflow: hidden;

  width: 100%;
  height: 100%;

  -webkit-transform: translate3d(-50%, 0, 0) !important;
  transform: translate3d(-50%, 0, 0) !important;
}

.background-content-inner {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 110%;
  height: 110%;

  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.background-content .background-img {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

/** 4. Navigation
*******************************************************************/

.navigation-main {
  position: fixed;
  z-index: 100 !important;
  top: 0;

  width: 100%;
  height: 75px;
  padding: 0 30px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
}

.navigation-main .container-fluid {
  max-width: 960px;
}

.navigation-main .navbar-collapse {
  width: 100%;
}

.navigation-main .navbar-brand {
  padding: 0;
}

.navigation-main .navbar-brand img {
  position: absolute;
  top: 50%;

  max-height: 44px;
  margin: 0;
  padding: 0;

  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.navbar-logo-container {
  display: flex;
  align-items: center;
  height: 75px;
  @media (max-width: 840px) {
    height: 60px;
  }
}

.brand-name {
  color: #3f7c76;
  font-size: 18px;
  /* font-weight: 700; */
  white-space: nowrap; /* prevents wrapping */
  margin: -5px 0 0 50px;
}

.navigation-main button {
  font-size: 28px;

  margin-right: 0;

  color: #000;
}

.navigation-main ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.navigation-main ul li a,
.navigation-main ul li span {
  font-family: "EB Garamond", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 75px;

  display: block;

  margin: 0;
  padding: 0 15px;

  cursor: pointer;
  -webkit-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  letter-spacing: 0.096em;
  text-transform: uppercase;

  color: #000;
  background: none !important;
}

.navigation-main ul li a:hover,
.navigation-main ul li span:hover,
.navigation-main ul li.current a {
  color: #0097b2;
}
.navigation-main ul li a#contact {
  padding-right: 30px;
}

.navigation-main ul li a#lang-en,
.navigation-main ul li a#lang-ro {
  padding: 0 5px;
}
.navigation-main ul li.current a#lang-en,
.navigation-main ul li.current a#lang-ro {
  color: #000;
}

.lang-link::after {
  content: "";
}

/* .navigation-main ul li.current a#lang-ro {
  color: #000;
  padding: 0 5px;
} */

/** MEDIA QUERIES  **/

@media (max-width: 1000px) {
  .navigation-main ul li a,
  .navigation-main ul li span {
    padding: 0 10px;
  }

  .navigation-main .container-fluid {
    padding: 0;
  }

  .navigation-main {
    padding: 0;
  }

  .navbar-header {
    padding: 0 24px;
  }

  .navbar-header button i {
    color: #3f7c76;
  }
}

@media (min-width: 841px) {
  .navigation-main .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 840px) {
  .navigation-main {
    height: 60px;
  }

  .navbar-header {
    float: none;

    margin: 0 !important;
  }

  .navbar-toggle {
    line-height: 60px;

    display: block;

    margin-top: -4px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .navbar-collapse {
    margin: 0 !important;
    padding: 0;

    border-top: 1px solid transparent;
    background: #fff;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;

    margin: 7.5px -15px;
    padding-top: 15px !important;
    padding-bottom: 26px !important;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-text {
    float: none;

    margin: 15px 0;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .collapsing {
    overflow: hidden !important;
  }

  .navigation-main ul li a,
  .navigation-main ul li span,
  .navigation-main ul li .dropdown-menu a {
    line-height: 60px !important;

    padding-left: 40px !important;
  }

  .navbar-nav .open .dropdown-menu {
    position: static;

    float: none;

    width: auto;
    margin-top: 0;
    padding: 0;

    border: 0;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .navbar-nav .open .dropdown-menu .dropdown-header,
  .navbar-nav .open .dropdown-menu > li > a {
    padding: 0;
  }
}

@media (max-height: 840px) and (max-width: 840px) {
  .navigation-main ul li a,
  .navigation-main ul li span,
  .navigation-main ul li .dropdown-menu a {
    line-height: 44px !important;
  }

  .navigation-main {
    height: 60px;
  }

  .navigation-main .navbar-brand img {
    max-width: 120px;
  }
}

@media (max-height: 600px) and (max-width: 840px) {
  .navigation-main ul li a,
  .navigation-main ul li span,
  .navigation-main ul li .dropdown-menu a {
    line-height: 34px !important;
  }
}

/** 5. Section
*******************************************************************/

section {
  position: relative;

  margin: 0 auto;
  padding: 16rem 0;

  background: rgba(45, 45, 45, 0.86);
}

section.white {
  position: relative;

  background: #fff;
}

section.white h1,
section.white h2,
section.white h3,
section.white h4,
section.white h5,
section.white h6 {
  color: #000;
}

section.white p,
section.white a,
section.white span {
  color: #333;
}

section:last-of-type {
  padding-bottom: 20rem;
}

section .container-fluid {
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

section .headline {
  line-height: 1.4em;

  margin: 0 auto 0.9em;
}

@media (min-width: 768px) {
  section .headline br {
    display: none;
  }
}

/** 6. Section --> Intro
*******************************************************************/

#intro {
  position: relative;

  height: 90vh;
}

#intro .container-mid {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;

  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

#intro .container-mid h1 {
  line-height: 1.2em;

  margin-top: 0;
  margin-bottom: 1em;
}

#intro .container-mid p.subline {
  font-size: 2.5rem;
  line-height: 1.6em;

  display: inline-block;

  margin: 0;

  vertical-align: middle;
}

#intro .container-mid p.subline .dot {
  color: #3f7c76;
}

#intro .container-mid h1:hover {
  color: #3f7c76;
  transition: all 0.2s ease-in-out;
}

#intro .container-mid a {
  font-size: 2rem;
  line-height: 3.2em;

  position: relative;

  display: inline-block;
  overflow: hidden;

  width: 3.2em;
  margin: 0;
  padding: 0;

  -webkit-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
  text-align: center;
  vertical-align: middle;

  color: #fff;
  border-radius: 100%;
  background: none;
}

#intro .container-mid a:before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  content: "";
  -webkit-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: 0.15s ease;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);

  border-radius: 100%;
  background: #3f7c76;
}

#intro .container-mid a:hover:before {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

#intro .container-mid a:after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  content: "";
  -webkit-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: 0.15s ease;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);

  border-radius: 100%;
  background: #222;
}

#intro .container-mid a:hover:after {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

#intro .container-mid a i {
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  #intro {
    height: auto;
  }

  #intro .container-mid {
    position: relative;
    top: 0;

    margin: 15vh 0;

    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translate(0);
  }
}

/** 7. Section --> About
*******************************************************************/

#about .container-fluid.text-center {
  padding: 0;
}

#about .subline {
  max-width: 77%;
  margin: 0 auto 2em auto;
}

#about .about-item {
  padding-right: 24px;
  padding-left: 24px;
}

#about .about-item img {
  margin-top: 1.8em;
  width: 278px;
  height: 178px;
  object-fit: cover;
}

#about .about-item p {
  margin-top: 1.8em;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #about .subline {
    max-width: 640px;
    font-size: 2.2rem;
  }

  #about .about-item img {
    margin-right: auto;
    margin-left: auto;
  }

  #about .about-item p {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;

    font-size: 2.2rem;
    text-align: center;
  }
}

/** 8. Section --> Service
*******************************************************************/

#service .service-item {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

#service .service-item i {
  font-size: 2rem;
  line-height: 3em;

  display: inline-block;

  width: 3em;
  margin-right: 0.8em;

  text-align: center;
  vertical-align: middle;

  border-radius: 100%;
  background: #3f7c76;
}

#service .service-item h5 {
  display: inline-block;

  vertical-align: middle;
}

#service .service-item p {
  margin-top: 1.6em;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #service .service-item {
    text-align: center !important;
  }

  #service .service-item p {
    font-size: 2.2rem;
  }
}

/** 9. Section --> Partners
*******************************************************************/

#partners {
  padding: 16rem 0;
  height: 550px;
}

#partners .container-fluid.text-center {
  justify-content: center;
}

#partners .partners-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center the row */
  gap: 1rem;
}

/* Desktop: 4 in a row */
@media (min-width: 769px) {
  #partners .partner {
    flex: 1;
  }
}

/* Mobile*/
@media (max-width: 768px) {
  #partners {
    height: auto;
  }

  #partners .partner {
    max-width: 250px;
  }

  #partners .partner img {
    width: 100%;
  }
}

#partners .partner img {
  height: 100px;
  min-width: 178px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

#partners .partner:hover img {
  transform: scale(1.05);
}

#partners .partners-carousel .item .info .container-mid i {
  font-size: 2rem;
  line-height: 2.5em;

  display: block;

  width: 2.5em;
  margin: 1em auto 0 auto;

  -webkit-transform: translateX(-2rem);
  -ms-transform: translateX(-2rem);
  transform: translateX(-2rem);
  text-align: center;

  opacity: 0;
  color: #fff;
  border-radius: 100%;
  background: #3f7c76;
}

#partners .partners-carousel .item:hover .info .container-mid i {
  -webkit-transition: 0.2s ease 0.1s;
  -o-transition: 0.2s ease 0.1s;
  transition: 0.2s ease 0.1s;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);

  opacity: 1;
}

#partners .partners-carousel .item .lightbox-wrapper {
  position: absolute;

  display: none;

  opacity: 0;
}

/** 10. Section --> Clients
*******************************************************************/

/** 11. Section --> Contact
*******************************************************************/

/** 12. Section --> Footer
*******************************************************************/

#footer {
  position: relative;

  overflow: hidden;

  margin: 0 auto;
  padding: 6rem 0;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#footer .container-fluid {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#footer p {
  line-height: 6rem;

  margin: 0;
  width: 100%;
  text-align: center;
}

#footer p a {
  font-weight: 400;

  color: inherit;
}

#footer #linkedin {
  font-size: 3rem;
  display: inline-block;
  overflow: hidden;
  width: 3em;
  height: 3em;
  margin: 0;
  text-align: center;
  color: #fff;
}

#footer p a:hover {
  color: #3f7c76;
}

@media (max-width: 768px) {
  #footer #linkedin {
    font-size: 4rem;
  }

  #footer p a#telOrEmail {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    width: fit-content;
  }
}
