@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@300;500&display=swap');

:root {
  font-family: var(--text-font-family);
  font-size: 14px;
  color: var(--text-color);
  --text-font-family: 'Open Sans', sans-serif;
  --title-font-family: 'Montserrat', sans-serif;
  --title-color: #aaa;
  --text-color: #555;
  --container-size: 1170px;
  --dark-background-text-color: #fff;
}

html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

p {
  line-height: 1.5em;
  text-align: justify;
}

a {
  color: #333;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  display: block;
  width: var(--container-size);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.dark-background {
  color: var(--dark-background-text-color);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  padding: 20px;
  background-color: #ffffff;
  z-index: 10001;
}

.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: var(--container-size);
  max-width: 100%;
  height: 100%;
}

.header-logo {
  height: 70%;
}

.header-logo img {
  max-height: 100%;
}

.header-menu-button button {
  border: 0;
  background-color: transparent;
  font-size: 2rem;
  color: #777;
}

.header-menu {
  position: fixed;
  display: none;
  top: 85px;
  left: 0;
  background-color: #fff;
  list-style-type: none;
  margin: 0;
  padding: 20px;
  width: 100%;
}

.header-menu li a {
  display: block;
  text-decoration: none;
  color: #777;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px;
  border-bottom: 1px solid #aaa;
}

.header-menu li img {
  height: 1rem;
}

.dropdown-menu {
  list-style-type: none;
  padding-left: 0;
  display: none;
}

.dropdown-menu li a {
  padding-left: 1rem;
}

main {
  margin-top: 85px;
}

.home-atf {
  position: relative;
  height: 30rem;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.home-atf video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.home-slider .slick-dots,
.category-slider .slick-dots {
  bottom: 10px;
}

.slick-initialized .home-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  height: 500px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 1rem;
  font-family: var(--title-font-family);
  font-weight: 600;
}

.slick-dots button::before {
  color: transparent;
  text-shadow: 1px 1px 0 #ffffff,
               -1px 1px 0 #ffffff,
               -1px -1px 0 #ffffff,
               1px -1px 0 #ffffff;
}

.slick-prev, .slick-next {
  z-index: 1;
}

.category-slider .slick-prev {
  left: 25px;
}

.category-slider .slick-next {
  right: 25px;
}

.home-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 550px;
  padding: 8rem 3rem 15rem 3rem;
  color: #ffffff;
  font-weight: 400;
  font-size: 1.25rem;
}

.home-slide-title {
  font-size: 2em;
  text-transform: uppercase;
  padding-bottom: 3rem;
  font-weight: bold;
}

.home-slide-quote-author {
  padding-top: 3rem;
  font-style: italic;
}

.home-slide-quote::before,
.home-slide-quote::after {
  content: "\"";
}

.swiper-pagination-bullet {
  border: 1px solid #ffffff;
}

.swiper-pagination-bullet-active {
  background-color: #ffffff;
}

.home-description {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.home-description p {
  font-size: 1.3rem;
  line-height: 1.5em;
  text-align: center;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.col-half,
.col-third,
.col-fourth,
.col-fifth {
  flex-basis: 100%;
  width: 100%;
}

.home-services-section .col-half {
  padding: 10px;
}

.home-service-link-wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  transform: scale(0.9);
  opacity: 0.3;
  transition: filter 0.2s ease-in-out, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.home-service-link-wrapper:hover {
  filter: brightness(0.8);
}

.home-service-link-wrapper.visible {
  opacity: 1;
  transform: none;
}

.home-service-link {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-service-link-text {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  color: #5D367A;
  font-size: 1.75rem;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.news-section {
  background-color: #2f2f2f;
  background-image: url("../imgs/bg-news.jpg");
  color: var(--dark-background-text-color);
  padding: 4em 0;
  margin-top: 5rem;
}

.home-news-slider {
  display: none;
}

.home-news-slider.slick-initialized {
  display: block;
}

.home-news-slide-wrapper {
  margin: 2em 0.5em;
}

.home-news-slide {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
}

.home-news-slide-image {
  width: 100%;
  padding-bottom: 55.555555%;
  background-size: cover;
  background-position: center center;
}

.home-news-slide-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: #777777;
  font-size: 1.5rem;
  padding: 1.5rem;
  height: 11.4rem;
}

.home-news-slide:hover .home-news-slide-title {
  background-color: #eeeeee;
}

.home-news-slide-title p {
  text-align: center;
  line-height: 1.2em;
}

.clients-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.client-slide {
  padding: 8px 16px;
}

.page-title {
  text-align: center;
  padding: 2em 0;
  font-size: 2.5rem;
  background-color: #dddddd;
  color: #111111;
}

.service-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.service-image,
.service-description-wrapper {
  width: 50%;
  flex-basis: 50%;
}

.service-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
}

.service-description-wrapper {
  padding: 60px;
}

.service-description {
  display: block;
  width: 480px;
  max-width: 100%;
}

.service-description-left {
  margin: 0 auto;
}

.service-description-right {
  margin: 0 auto;
}

.service-description h2 {
  font-size: 2.5rem;
  margin-bottom: 2em;
}

.page-title-news {
  padding: 2rem 0;
  text-align: center;
  font-size: 2.5rem;
  text-transform: uppercase
}

.news-article {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 450px;
  margin: 2em auto;
}

.news-article-image {
  width: 100%;
  padding-bottom: 55.555555%;
  background-size: cover;
  background-position: center center;
}

.news-article-title {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: #1f1f1f;
  font-size: 1.5rem;
  padding: 1.5rem;
  height: 11.4rem;
  transition: background-color 0.2s ease-in-out;
}

.news-article-title::before {
  content: ' ';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-color: #1f1f1f;
  border-width: 0 0 2px 2px;
  border-style: solid;
}

.news-article-title::after {
  content: ' ';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-color: #1f1f1f;
  border-width: 0 2px 2px 0;
  border-style: solid;
}

.news-article:hover .news-article-title {
  background-color: rgba(255,255, 255, 0.2);
}

.news-article-title p {
  text-align: center;
  line-height: 1.2em;
}

footer {
  background-color: #000;
  padding: 2rem 3rem;
  color: #fff;
  font-size: 0.75rem;
  margin-top: 2rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer a {
  color: #fff;
}

.footer-flex-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-flex-row,
footer .row {
  margin-top: 2em;
  margin-bottom: 2em;
}

footer .row .col-fourth,
footer .row .col-fifth {
  margin-top: 1rem;
  margin-bottom:1rem
}

footer p img {
  vertical-align: middle;
}

.contact-atf {
  padding-top: 8rem;
  padding-bottom: 8rem;
  font-size: 1.4rem;
  line-height: 1em;
}

.contact-atf p {
  margin: 0;
  text-align: center;
}

.contact-row {
  flex-direction: column;
}

.contact-row .col-half {
  padding-left: 1rem;
  padding-right: 1rem;
}

.contact-row .contact-office table {
  margin: 2em auto;
}

form input[type="text"],
form textarea {
  width: 100%;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"] {
  background-color: #eee;
  border: medium none;
  color: #000;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 18px;
  padding: 16px 20px;
  box-shadow: 0px 7px 10px -5px rgb(0 0 0 / 30%);
  width: 100%;
}

form textarea {
  background-color: #eee;
  border: medium none;
  color: #aaaaaa;
  font-size: 14px;
  font-weight: normal;
  height: 100px;
  padding: 16px 20px;
  width: 100%;
  box-shadow: 0px 7px 10px -5px rgb(0 0 0 / 30%);
  resize: vertical;
}

form ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

form ul li {
  margin: 1rem 0;
}

form input[type="checkbox"] {
  margin-right: 1rem;
}

form button[type="submit"] {
  color: #000;
  background: rgba(239,239,239,0.99);
  border-width: 0px;
  border-color: #000000;
  border-radius: 9px;
  background-color: rgba(239,239,239,0.99);
  box-shadow: 0px 9px 20px -8px rgb(0 0 0 / 30%);
  width: 170px;
  font-size: 22px;
  margin-top: 20px;
  text-transform: uppercase;
}

.category-title {
  color: #333;
  font-size: 2.5rem;
  text-align: center;
}

.category-body {
  display: block;
  margin: 3rem auto;
  width: 900px;
  max-width: 100%;
}

.category-image {
  width: 100%;
}

.category-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.category-slider .peppermint-dots {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style-type: none;
}

.category-slider .peppermint-dots li::before {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0.25rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #000;
  cursor: pointer;
}

.category-slider .peppermint-dots li.peppermint-active-dot::before {
  background-color: #000;
}

.category-sequence-item-wrapper {
  margin-bottom: 2rem;
}

.category-sequence-item-wrapper img {
  width: 100%;
  opacity: 0.3;
  transform: scale(0.9);
  transition: all 1s ease-in-out;
}

.category-sequence-item-wrapper img.visible {
  opacity: 1;
  transform: none;
}

.category-text {
  margin-top: 2rem;
  font-size: 1rem;
  background-color: #f0f0f0;
  padding: 20px 10%;
}

.category-text a:hover img {
  filter: opacity(0.7);
}

.clients-page {
  background-color: #f5f5f5;
  padding: 3rem 0;
}

.clients-page hr {
  margin: 5rem 1rem;
}

.contact-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15rem 1rem;
}

.contact-logo {
  width: 480px;
  max-width: 100%;
  object-fit: contain;
}

.contact-offices {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 2rem;
  background-color: #1a1a1a;
}

.contact-office {
  width: 400px;
  max-width: 100%;
  padding: 2rem 0;
}

.contact-office p {
  margin: 0;
  padding: 0;
  color: #b3b3b3;
}

.contact-office .contact-office-title {
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 1rem;
  text-align: center;
  color: #ffffff;
}

.contact-office .contact-office-address {
  padding: 0;
  text-align: center;
}

.contact-office .contact-office-email {
  padding-top: 1rem;
  text-align: center;
}

.contact-office .contact-office-email a {
  color: #dfdfdf;
}

.contact-office .contact-office-email a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {

  .header-menu-button {
    display: none;
  }

  .header-menu {
    display: flex;
    position: relative;
    flex-direction: row;
    top: unset;
    padding: unset;
    width: unset;
  }

  .header-menu li {
    padding: 0 0.5rem;
  }

  .header-menu li a {
    border-bottom: 0;
  }

  .dropdown-wrapper {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 3px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  }

  .dropdown-menu li {
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 1rem 2rem;
  }

  .header-menu a:hover {
    background-color: rgba(0, 0, 0, 0.12);
  }

  .home-subtitle {
    width: 35%;
  }

  .col-half {
    flex-basis: 50%;
    width: 50%;
  }

  .col-third {
    flex-basis: 33.333333%;
    width: 33.333333%;
  }

  .col-fourth {
    flex-basis: 25%;
    width: 25%;
  }

  .col-fifth {
    flex-basis: 20%;
    width: 20%;
  }

  .home-slide {
    padding: 8rem 6rem 15rem 6rem;
    font-size: 2rem;
  }

  .home-slide-quote {
    width: 50%;
  }

  .footer-flex-row {
    flex-direction: row;
  }

  .contact-row {
    flex-direction: row;
  }

  footer p {
    text-align: left;
  }

}

@media screen and (max-width: 768px) {
  .home-atf {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}