/* ==========================================================================
   Reset
   ========================================================================== */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
}

/* ==========================================================================
   Columns
   ========================================================================== */
[class*="col-"] {
  float: left;
  padding: 15px;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.66%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33%; }
.col-8 { width: 66.66%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.66%; }
.col-12 { width: 100%; }

/* ==========================================================================
   Global
   ========================================================================== */
:root {
  --black: #303841;
  --white: #ffffff;
  --grey: #ebedef;
  --darkblue: #143447;
  --lightblue: #35b0e1;
  --darkgrey: #a6a6a6;
}

* {
  box-sizing: border-box;
  transition: all 0.3s ease-out;
}

@font-face {
  font-family: 'tt_octosquares_trl_cndmd';
  src: url('../font/tt_octosquares_trial_condensed_medium-webfont.woff2') format('woff2'),
       url('../font/tt_octosquares_trial_condensed_medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  background: var(--grey);
  background-size: 100%;
  animation: fadein 1s;
}

@keyframes fadein {
    from { transform:translateY(-10px); }
    to   { transform:translateY(0px); }
}

a {
  color: var(--lightblue);
  text-decoration: none;
}

.btn {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  background-color: var(--lightblue);
  margin-top: 40px;
  padding: 15px 20px;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
}

.btn:hover {
  animation: wiggle 0.5s 1;
  background-color: var(--darkblue);
}

.btn-long {
  width: 100%;
  text-align: center;
}

ul {
  list-style: none;
}

section {
  width: 100%;
  padding: 0 20px 60px;
  display: block;
  float: left;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1 {
  font-family: 'tt_octosquares_trl_cndmd';
  color: var(--lightblue);
  font-size: 90px;
  font-weight: 300;
  line-height: 1;
}

h2 {
  font-size: 24px;
  padding-bottom: 10px;
}

h3 {
  font-size: 20px;
  color: var(--lightblue);
  margin-bottom: 10px;
}

h4 { font-size: 18px; padding: 10px 0; }
h5 { font-size: 75px; }

.category, .title {
  display: block;
}

.category { font-size: 12px; }
.title { font-size: 18px; font-weight: 500; }

em {
  font-style: normal;
  color: var(--white);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
header {
  width: 100%;
  position: fixed;
  z-index: 99999;
}

.header-logo {
  background: url(../img/logo.svg) no-repeat;
  background-size: 100%;
  width: 130px;
  height: 40px;
  display: block;
  text-indent: -99999px;
  float: left;
  margin: 25px 35px;
}

.hamburger {
  display: none;
  color: var(--lightblue);
  font-size: 30px;
  float: right;
  margin: 16px 25px 0 0;
}

.header-active {
  background-color: rgba(17, 54, 71, 0.9);
  backdrop-filter: blur(10px);
}

#blog header {
  background-color: var(--darkblue);
}
}

.header-active nav ul li a {
  color: var(--white);
}

.dropdown-link:after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 8px;
  margin-left: 6px;
  background: url(../img/down.svg) center/100% no-repeat;
}

/* Dropdown */
nav#menu {
  position: relative;
  float: right;
  display: block;
  padding: 25px;
}

nav#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav#menu li {
  position: relative;
}

nav#menu a {
  text-decoration: none;
  color: var(--white);
  padding: 10px 15px;
  display: block;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav#menu a:hover {
  color: var(--lightblue);
}

nav#menu .dropdown {
  position: absolute;
  top: 100%;
  left: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s ease;
  pointer-events: none;
  gap: 5px;
}

nav#menu .dropdown li a {
  color: var(--black);
  padding: 5px 15px;
}

nav#menu .dropdown li a:hover {
  color: var(--lightblue);
  background-color: #EDEDED;
}

nav#menu li:hover > .dropdown {
  display: flex;
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}

/*==========================================================================
    Sign Up
  ========================================================================== */

  .signup {
    max-width: 900px;
    display: block;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    z-index: 999;
    padding: 20px 40px;
    background-color: var(--darkblue);
    border-radius: 50px;
    color: var(--lightblue);
    font-size: 20px;
    font-weight: 500;
  }

  .signup img {
    width: 26px;
    height: 26px;
    float: left;
    position: relative;
    top: 1px;
    right: 12px;
  }

/* ==========================================================================
   Banner
   ========================================================================== */

.banner {
  min-height: 70vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
}

.banner h1 {
  font-size: 120px;
  margin-bottom: 20px;
}

video {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.banner-container {
  position: relative;
  width: 100%;
}

.banner-text {
  max-width: 1500px;
  margin: 12vh auto;
  padding: 80px 60px;
  color: var(--white);
}

.banner-text span {
  display: block;
  max-width: 600px;
}

.banner-image {
  background: url(../img/time.jpg) center/cover fixed;
  margin-bottom: 60px;
}

.banner-text-box {
  margin-top: 10%;
  background: #fff;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
}

.banner-text-box img {
  width: 100%;
  display: none;
  margin: 40px auto 0;
}

.hold { height: 100vh; }
.hold-logo { width: 200px; }

/* ==========================================================================
   Scroller
   ========================================================================== */

.cards {
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  margin-top: -110px;
  background: url(../img/drag.svg) no-repeat;
}

.cards::-webkit-scrollbar {
  display: none;
}

.cards.active { cursor: grabbing; }
.cards[data-dragging="true"] a { pointer-events: none; }

.card-wrapper {
  width: 2450px;
  height: 400px;
  padding: 20px 0 20px 17px;
}

.card {
  width: 284px;
  height: 390px;
  display: block;
  float: left;
  margin-right: 20px;
  position: relative;
}

.card span {
  color: var(--darkblue);
}

.card p {
  color: var(--darkgrey);
}


.card:hover { scale: 1.02; }

.card:hover h4 {
  color: var(--lightblue);
}

.card img {
  position: absolute;
  left: 20px;
  bottom: 25px;
}

/* ==========================================================================
   Styling
   ========================================================================== */

.box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

a.feed-powered-by-es { display: none !important; }

.description { padding: 20px 0; font-size: 16px; }

.page {
  background: var(--darkblue);
  padding-top: 125px;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 500px;
  background-blend-mode: multiply;
  margin-bottom: 60px;
 }

 .page-nogap {
  background: var(--darkblue);
  padding-top: 125px;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 500px;
  background-blend-mode: multiply;
 }

 .page-services {
  background-image: url(../img/services-banner.png);
 }

 .page-capability {
  background-image: url(../img/capability-banner.png);
 }

 .page-company {
  background-image: url(../img/company-banner.png);
 }

 .page-news {
  background-image: url(../img/news-banner.png);
 }

 .page p, .page-nogap p {
  color: var(--white);
 }

.page h2 {
  font-family: 'tt_octosquares_trl_cndmd';
  font-size: 100px;
  font-weight: 300;
  color: var(--lightblue);
}

.item-container {
  background: var(--white);
  border-radius: 10px;
  margin: 20px 0 40px;
  padding: 40px;
  float: left;
  position: relative;
  overflow: hidden;
}

.item-img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.item-container span {
  font-size: 16px;
  font-weight: 500;
  color: var(--lightblue);
}

.item-container p {
  padding: 20px 0;
  line-height: 1.7;
}

.item-container .short { width: 50%; }
.item-container li { padding: 5px 0; font-weight: 500; }

.gallery {
  float: left;
  width: 100%;
  margin: 40px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 10px;
}

.gallery-img {
  width: 100%;
  border-radius: 10px;
}

.gallery-img img {
  width: 100%;
}

.link-item div {
  width: 100%;
  height: 200px;
  border-radius: 8px 8px 0px 0px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.link-item div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;  
}

.link-item a {
  display: block;
  background: var(--white);
  padding: 20px;
  border-radius: 0px 0px 8px 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.link-item span {
  color: var(--lightblue);
  margin-top: 10px;
  display: block;
  font-weight: 700;
  text-decoration: underline;
}

.link-item p {
  min-height: 70px;
  display: block;
  color: var(--darkblue);
}

.link-item a:hover span {
  color: var(--darkblue);
}

.article-banner {
  width: 100%;
  margin-bottom: 20px;
}

.article p {
  margin-bottom: 40px;
}

.article ul {
  margin-bottom: 40px;
  list-style-type: disc;
  margin-left: 20px;
}

.article ul li {
  padding: 5px;
  font-weight: 500;
}

.article ul li::marker {
  color: var(--lightblue);
}

.blog {
  float: left;
  width: 100%;
  margin: 40px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  grid-gap: 20px;
}

.blog-post {
  display: block;
  text-decoration: none;
  width: 100%;
  position: relative;
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
}

.blog-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--white);
  padding: 20px;
}

.blog-info h2 {
  font-size: 18px;
  padding-bottom: 5px;
}

.blog-post span {
  color: var(--lightblue);
  font-size: 16px;
  display: block;
  position: absolute;
  right: 0;
  top: -62px;
  margin-right: 20px;
  padding: 20px;
  background: var(--darkblue);
}

.blog-info p {
  display: block;
  width: 90%;
  height: 40px;
  overflow: hidden;
  color: var(--darkblue);
}

.blog-post:hover h2 {
  color: var(--lightblue);
}

.blog-post:hover .blog-img img {
  scale: 1.1;
}

.blog-page {
  float: left;
  width: 100%;
  margin: 100px 0px 20px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
  grid-gap: 20px;
}

.blog-page em {
  color: var(--darkgrey);
}

.blog-page span {
  padding: 20px 0px 40px;
  display: block;
  font-size: 18px;
}

.blog-page p {
  margin-bottom: 40px;
}

.blog-page .faq-container {
  margin-bottom: 40px;
}

.side-bar img {
  width: 100%;
}

/* Tabs */

.machine-tabs {
    margin-top: 40px;
    float: left;
}

.tabs {
    display: flex;
    gap: 10px;
}

.tab-link {
    padding: 10px 20px;
    background: var(--grey);
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px 10px 0px 0px;
    transition: 0.2s ease;
}

.tab-link:hover {
    background: #d8d8d8;
}

.tab-link.active {
    background: var(--white);
    color: var(--darkblue);
}

.tab-content {
    display: none;
    padding: 20px;
    background: var(--white);
    border-radius: 0px 10px 10px 10px;
    margin-bottom: 20px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-top: 0;
}

.tab-content img {
  width: 100%;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab-link {
        width: 100%;
        text-align: left;
    }
}



/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7em;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox:target { display: block; }

.lightbox span {
  display: block;
  width: 100%;
  height: 90%;
  border-radius: 20px;
  background: center/contain no-repeat;
}

/* Project Gallery */
.project-gallery {
  float: left;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.pg-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: var(--white);
}

.pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
  display: block;
}

.pg-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 52, 71, 0.35) url(../img/zoom.svg) center/28px no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pg-item:hover img {
  transform: scale(1.12);
}

.pg-item:hover::after {
  opacity: 1;
}

/* Lightbox (JS driven) */
.pg-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: rgba(15, 25, 32, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.pg-lightbox.active {
  display: flex;
}

.pg-lightbox-figure {
  position: relative;
  max-width: 88vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lightbox-figure img {
  max-width: 88vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pg-lightbox-figure img.loaded {
  opacity: 1;
}

.pg-lightbox-close,
.pg-lightbox-prev,
.pg-lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
}

.pg-lightbox-close:hover,
.pg-lightbox-prev:hover,
.pg-lightbox-next:hover {
  background: var(--lightblue);
}

.pg-lightbox-close {
  top: 25px;
  right: 25px;
}

.pg-lightbox-prev {
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.pg-lightbox-next {
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.pg-lightbox-counter {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pg-lightbox-prev { left: 10px; width: 40px; height: 40px; }
  .pg-lightbox-next { right: 10px; width: 40px; height: 40px; }
  .pg-lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; }
}

/* FAQ */
.faq-container {
  width: 100%;
  padding: 40px 40px 20px 40px;
  border-radius: 10px;
  background: rgba(235, 237, 239, 0.02);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(235, 237, 239, 0.3);
}

.faq-container p {
  margin-bottom: 20px;
}

.faq {
  display: block;
  float: left;
  height: 30px;
  width: 30px;
  background: url(../img/question.svg);
  margin-right: 5px;
}

.answers {
  display: block;
  background: var(--white);
  padding: 10px;
  border-left: 3px solid var(--lightblue);
  font-weight: 500;
  margin-bottom: 20px !important;
}

/* Contact */

#contact {
  background-color: var(--darkblue);
  min-height: 500px;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  grid-gap: 10px;
}

.contact-wrapper img {
  width: 20px;
  height: 20px;
  display: inline;
  vertical-align: sub;
  margin-right: 5px;
}

.contact-wrapper p {
  margin-top: 15px;
}

.contact-wrapper span {
  font-weight: 700;
  padding-top: 10px;
  display: block;
}

.contact-item {
  padding: 20px;
  border: solid 1px lightgrey;
  border-radius: 10px;
  background-color: var(--white);
}

.contact-item span a {
  color: var(--lightblue);
}

.contact-btn {
  padding: 8px 20px;
  margin-top: 10px;
  text-align: center;
  bottom: 20px;
  width: 100%;
}

.contact-item h4 {
  display: inline;
}

.download {
  padding: 20px;
  border-radius: 10px;
  background-color: var(--darkblue);
  border: solid 1px var(--lightblue);
}

.download h4 {
  color: var(--lightblue);
  display: inline;
}

.download p, .download span {
  color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--darkblue);
  color: var(--white);
  padding: 40px;
  width: 100%;
  display: block;
  float: left;
}

footer .header-logo { margin: 0 0 12px 0; }

footer span {
  display: block;
  float: left;
  width: 100%;
  padding: 20px 0;
}

footer a {
  display: block;
  color: var(--lightblue);
}

.contact-link {
  display: block;
  width: 100%;
  text-align: right;
  color: var(--lightblue);
}

.iso {
  display: block;
  width: 150px;
  float: right;
  margin: 20px 0 0 20px;
}

.social {
  display: block;
  float: left;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  text-indent: -99999px;
}

.instagram { background: url(../img/instagram.svg) no-repeat; background-size: 40px; }
.facebook  { background: url(../img/facebook.svg) no-repeat; background-size: 40px; }
.linkedin  { background: url(../img/linkedin.svg) no-repeat; background-size: 40px; }

/*==========================================================================
    Media Queries
  ========================================================================== */

  @media (max-width: 1500px) {
    
    .col-3 {width: 50%;}
}

@media (max-width: 1024px) {

    .col-1 {width: 100%%;}
    .col-2 {width: 100%;}
    .col-3 {width: 100%;}
    .col-4 {width: 100%;}
    .col-5 {width: 100%;}
    .col-6 {width: 100%;}
    .col-7 {width: 100%;}
    .col-8 {width: 100%;}
    .col-9 {width: 100%;}
    .col-10 {width: 100%;}
    .col-11 {width: 100%;}
    .col-12 {width: 100%;}

    body {
        background-image: none;
    }

    header {
        height: 80px;
        background-color: rgba(17,54,71,0.9);
        backdrop-filter: blur(10px);
        overflow: hidden;
    }

    h1 {
      font-size: 60px;
    }

    .hamburger {
        display: block;
    }

    .dropdown {
        height: 100vh;
    }

    .header-logo {
        background-size: 120px;
        margin: 20px;
    }

    .dropdown-link:after {
      display: none;
    }

    h5 {
        font-size: 45px;
    }

    nav#menu {
        width: 100%;
        padding: 0 0 50px 0;
    }

    nav#menu ul {
        margin: 0; 
        width: 100%;
        display: block;
    }

    nav#menu ul li {
        width: 100%;
    }

    nav#menu ul li a {
        margin: 0px 35px; 
        padding: 20px 0px; 
        font-size: 18px; 
        font-weight: 500; 
        color: var(--white);
        border-bottom: solid 2px var(--lightblue);
    }

    nav#menu li:hover > .dropdown {
      display: none;
    }

    footer .header-logo {
        background-size: 115px;
    }

    .signup {
      width: 95%;
      text-align: center;
    }

    .banner h1 {
      font-size: 60px;
    }

    .banner-text {
        padding: 5% 16px;
    }

    .item-container .short {
        width: 100%;
    }

    .item-img {
        width: 50%;
    }

    .banner-image {
        background-image: url(../img/workshop.jpg);
    }

    .banner-text-box img {
        display: block;
    }

    .tab-link {
      border-radius: 10px;
      background: #dfe1e3;
    }

    .tab-link.active {
      border: none;
    }

    .tab-content {
      margin-top: 20px;
      border-radius: 10px;
    }

    footer {
        padding: 10px 10px 100px 10px;
    }

    footer h4, .contact-link {
        text-align: left;
    }

    .iso {
        float: left;
        margin: 20px 20px 0 0;
    }
}