/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap'); */

@import url("https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/hk-grotesk.min.css");

:root {
  --primary: #E86F07;
  --primary-light: #CC7A3F;
  --primary-text: #747474;
  --dark: #363232;
  --dark-transparent: rgba(54, 50, 50, 0.85);
  --dark-2: #3A3A3A;
  --gray: #E0E0E0;
  --gray-2: #6B6B6B;
  --dropdown-links: #d1d1d1;
  --light-gray: #F0F0F0;
  --white: #fff;
  --blue: #1E569D;
  --dark-blue: #161923;
  --consultoria: #3270c2;
  --clown: #9392BC;
  --forum-online: #92C16A;
  --cross-teams: #848B6E;
  --get-to-yes: #B79557;
  --imagine: #535393;
  --leadership-forum: #96C7A5;
  --leading-with-triple-impact: #B79557;
  --servico-ao-cliente: #E69D28;
  --top-team-development: #77A1C4;
  --team-building: #436577;
  --leading-teams: #67573A;
  --smile: #B6B825;
  --public-speak-training: #9EAEA0;
  --red: #f03022;
  --black-transparent: rgba(0, 0, 0, 0.25);
  --black-transparent-2: rgba(0, 0, 0, 0.98);
  --timeline: #707070;
  --associacao: #0E62A4;
  --stats: rgba(41, 36, 36, 0.7);
  --lideranca: #A07651;
  --equipas: #83A8D5;
  --foruns: #7ABA42;
  --criatividade: #765AA4;
  --negociacao-e-servico-ao-cliente: #EA8319;
  --desenvolvimento-pessoal: #93C6A7;
  --stars: #9b9b9b;
  --contents-h1: #c4c6c9;
  --contents-card-title: #6c727c;
  --border: #d0cfce;
  --sticky-border: #ccc;
  --white-transparent: rgb(255 255 255 / 25%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body, input, textarea, button, a {
  font-family: 'HK Grotesk', sans-serif;
  color: var(--primary-text);
}

button, a, span, p {
  line-height: 1.5em;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

nav {
  width: 100%;
  height: 5rem;
  background-color: var(--dark);

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 5rem;
  z-index: 20;
}

nav .navbar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 5rem;
  background-color: var(--dark);

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

nav.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

nav .logo {
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .logo a, nav .logo a img {
  height: 100%;
}

nav .content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;

  width: 50%;
  height: 100%;
  color: var(--white)
}

nav .pages {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;

  width: 50%;
  height: 100%;
}

nav .pages ul {
  list-style: none;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

nav ul li {
  font-weight: 300;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li:not(:first-child) {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}

nav ul li a:hover {
  opacity: 0.6;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--dark-transparent);
  box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
  z-index: 1;
  color: var(--white);
  width: 37rem;
  top: 5rem;
  left: 65%;
  transform: translate(-50%, 0);

  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;

  padding: 2.5rem 3rem;
  position: absolute;
}

.dropdown.about-us .dropdown-content {
  display: none;
  position: absolute;
  background: var(--dark-transparent);
  box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
  z-index: 1;
  color: var(--white);
  width: 13rem;
  top: 5rem;
  left: 65%;
  transform: translate(-50%, 0);

  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  padding: 1.5rem;
  position: absolute;
  gap: .75rem;
}

.dropdown-content-mobile {
  display: none;
}

.dropdown-content .buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 35%;
}

.dropdown-content .buttons button {
  background-color: transparent;
  color: var(--white);
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;

  transition: transform 0.3s ease-in-out;
}

.dropdown-content .buttons button:hover, .dropdown-content .buttons button.active {
  opacity: 0.6;
}

.dropdown-content .items {
  display: none;
}

.dropdown-content .items.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.dropdown-content .sub-items {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.dropdown-content .sub-items span {
  font-weight: 400;
}

.dropdown-content .sub-items li {
  margin-left: initial;
  margin: 0.25rem 0;
}

.dropdown-content .sub-items li a {
  font-weight: 300;
  color: var(--dropdown-links);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

nav .content button#navbarBtn {
  display: none;
}

nav .content > button {
  margin: 0 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: transparent;
  color: var(--white);
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 1.3rem;

  transition: transform 0.3s ease-in-out;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12;
}

nav .content > button.opened {
  background-color: transparent;
  font-size: 1.5rem;
}

nav .content > button:after {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  content: "\f0c9";
}

nav .content > button.opened:after {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  content: "\f00d";
}

/* nav .pages ul li button i {
  margin-right: 0.5rem;
} */

nav .content > button:hover {
  transform: scale(1.05);
}

header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

header > video {
  min-width: 100%;
  min-height: 100%;
}

header > img {
  width: 100%;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main h1 {
  color: var(--dark);
}

footer {
  width: 100%;
  height: 5rem;
  background-color: var(--dark);
  color: var(--white);

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  text-align: center;
}

section .button {
  text-decoration: none;
  text-align: center;
  padding: 0.6rem 2rem;
  border: 1px solid var(--dark);
  background-color: var(--dark);
  border-radius: 30rem;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  color: var(--white);
  font-size: 1rem;
}

section .button:hover {
  transform: scale(1.05);
}

@media only screen and (max-width: 768px) {
  nav {
    padding: 0 2rem;
  }

  nav .content button#navbarBtn {
    display: flex;
  }

  nav .content button {
    margin: 0;
  }

  .dropdown-content {
    display: none;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown-content-mobile.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .dropdown-content-mobile.active a {
    margin: 0.5rem 0 0 1rem;
  }

  #services-link.opened:after, #about-link.opened:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f077";
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  nav .content .pages {
    visibility: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    z-index: 11;
    justify-content: center;
    background: var(--black-transparent-2);

    transition: 0.3s ease-in-out;
  }

  nav .content .pages ul {
    flex-direction: column;
    align-items: flex-start;
    height: initial;
    width: 70%;
    margin: 0 auto;
  }

  nav .content .pages ul li {
    margin: 1rem 0;
    font-size: 1.2rem;

    flex-direction: column;
    align-items: flex-start;
  }

  #services-link:after, #about-link:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f078";
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  nav .content .pages.active {
    visibility: visible;
    left: 0;
  }
}

.carrousel {
  text-align: center;
  padding-bottom: 3rem;
  width: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.carrousel .slides {
  padding-left: 0;
  padding-top: 16px;
  overflow: hidden;
  list-style: none;
  position: relative;

  -webkit-transition: left .75s ease-out;
  -moz-transition: left .75s ease-out;
  -o-transition: left .75s ease-out;
  transition: left .75s ease-out;
}

.carrousel .slides li {
  position: relative;
  float: left;
}

.carrousel li p {
  margin-top: 0;  
}

.carrousel li span {
  color: var(--primary);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5rem;
}

.carrousel li .content {
  margin-top: 8px;
  font-size: 19px;
  color: var(--primary-text);

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  max-width: 70%;
  margin: auto;
}

.carrousel li .content .client {
  width: 100%;
  max-width: 20rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.carrousel li .content .client img {
  width: 10rem;
}

.carrousel li .content .text {
  width: 100%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.carrousel li .content .text i {
  border-radius: 50%;
  padding: .5rem;
  color: var(--white);
  background: var(--dark);
  font-size: .7rem;
  margin-bottom: .5rem;
  height: 2rem;
  width: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrousel li .content .text p {
  width: 100%;
  max-width: 20rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
  color: var(--dark);
}

.carrousel li .content .text span {
  font-size: 1rem;
  color: var(--primary-text);
}

.carrousel li .content .text span.author {
  font-weight: 400;
}

.carrousel li .content .text span.role {
  font-weight: 600;
  text-align: left;
}

.carrousel li .content .line {
  border-left: 2px solid var(--primary-text);
  height: 10rem;
}

.carrousel li .content > *:not(hr) {
  margin: 1rem;
}

.carrousel .slidesNavigation {
  display: block;
  list-style: none;
  text-align: center;
  bottom: 0;
  position: absolute; 
  width: 104px;
  left: 50%;
  margin-left: -52px;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.carrousel .slidesNavigation button {
  margin: 1rem;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.carrousel .slidesNavigation button:hover {
  opacity: 0.6;
}

.carrousel input{
  display: none;
}

.carrousel .slidesNavigation label:hover{
   cursor: pointer;
}

/* Modal */

.modals {
  width: 100%;
}

.modal-overlay {
  width: 100%;
  height: 100%;

  background-color: var(--black-transparent);

  position: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  top: 0;
  
  transition: opacity 0.6s ease-in-out,
  visibility 0.6s ease-in-out;

  -webkit-transition: opacity 0.6s ease-in-out,
  visibility 0.6s ease-in-out;
}

.modal-overlay.modal-active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.modal-active ~ body {
  overflow: hidden;
}

.modal-overlay .modal {
  background: var(--white);
  padding: 2rem;
  width: 90%;
  max-width: 60rem;

  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;

  border-radius: 0.5rem;
  top: 0;
  transition: top 0.6s ease-in-out;
  -webkit-transition: top 0.6s ease-in-out;

  -webkit-box-shadow: 0px 20px 26px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 20px 26px 0px rgba(0,0,0,0.16);
  box-shadow: 0px 20px 26px 0px rgba(0,0,0,0.16);
}

.modal > * {
  margin: 0.5rem;
}

@media only screen and (max-width: 425px) {
  .modal-overlay .modal {
    align-items: center;
  }
}

@media only screen and (max-width: 1024px) {
  .dropdown-content {
    left: 60%;
    padding: 2rem;
  }
}

.video-btn {
  position: absolute;
  bottom: 1%;
  right: 1%;
  width: 4rem;
  height: 4rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.video-btn i {
  font-size: 2rem;
  color: var(--white);
}

.video-btn:hover {
  opacity: 0.6;
}
