@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color-100: #181c20;
  --primary-color-200: #485562;
  --primary-color-300: #a2a8ae;
  --primary-color-900: #fff;

  --secondary-color: #61bcea;
}

@font-face {
  font-family: "Calibri";
  src:
    url("../fonts/Calibri.woff2") format("woff2"),
    url("../fonts/Calibri.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Calibri";
  src:
    url("../fonts/Calibri-BoldItalic.woff2") format("woff2"),
    url("../fonts/Calibri-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Calibri";
  src:
    url("../fonts/Calibri-Italic.woff2") format("woff2"),
    url("../fonts/Calibri-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Calibri";
  src:
    url("../fonts/Calibri-Bold.woff2") format("woff2"),
    url("../fonts/Calibri-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.btn {
  font-family: "Calibri", sans-serif;
  font-size: 14px;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.btn.btn-outline {
  color: var(--primary-color-100);
  border: 1px solid var(--primary-color-200);
  border-radius: 0;
}

.btn.btn-outline.light {
  color: var(--primary-color-900);
  border-color: var(--primary-color-900);
}

.btn.btn-outline:hover {
  color: var(--primary-color-900);
  background-color: var(--primary-color-200);
}

.btn.btn-outline.light:hover {
  color: var(--primary-color-100);
  background-color: var(--primary-color-900);
}

.btn.btn-white {
  background-color: var(--primary-color-900);
  color: var(--primary-color-300);
}

.btn.btn-white:hover {
  color: var(--primary-color-100);
}

.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.title {
  font-size: 80px;
  font-weight: 400;
  line-height: 1.1;
}

.title.light {
  color: var(--primary-color-900);
}

.title.dark {
  color: var(--primary-color-100);
}

.navbar .navbar-toggler .navbar-toggler-icon {
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 70px 0;
  z-index: 1;
}

.offcanvas {
  background-color: var(--primary-color-100);
}

.navbar.sticky {
  position: fixed;
  padding: 15px 0;
  top: 0;
  width: 100%;
  z-index: 3000;
  animation: fadeToBottom 0.8s ease;
  background-color: var(--primary-color-100);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid var(--primary-color-900);
}

.navbar.sticky img {
  max-width: 70%;
}

@keyframes fadeToBottom {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0);
  }
}

.navbar .navbar-collapse {
  justify-content: end;
  gap: 50px;
}

.navbar .lang a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.navbar .lang a.active {
  color: #fff;
}

.navbar .lang a {
  color: #ffffff80;
}

.navbar .lang span {
  color: #fff;
  margin: 0 5px;
}

.navbar .navbar-nav li:not(:last-child) {
  margin-right: 80px;
}

.navbar .navbar-nav li a {
  position: relative;
  color: var(--primary-color-900);
  text-transform: uppercase;
  margin-bottom: 0;
  font-family: "Calibri" !important;
  font-size: 16px;
}

.navbar .navbar-nav li:not(:last-child) a::before {
  content: "+";
  position: absolute;
  right: -45px;
  font-size: 22px;
  top: 2px;
}

.hero {
  position: relative;
  min-height: 860px;
}

.about-us {
  background-color: #f0f0f0;
  padding: 100px 0;
}

.about-us .btn {
  margin-top: 20px;
}

.projects {
  background-color: var(--primary-color-100);
  padding: 200px 0 120px 0;
}

.projects .title {
  margin-bottom: 45px;
}

.projects .row {
  row-gap: 50px;
}

.projects .project-card h3 {
  color: var(--primary-color-900);
  opacity: 0.4;
  font-size: 20px;
  margin: 20px 0;
  text-align: end;
}

.projects .project-card h3 span {
  display: block;
}

.projects .project-card a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projects a img {
  transform: translateY(0px);
  transition: all 0.3s ease;
}

.projects a:hover {
  text-decoration: underline;
}

.projects a:hover img {
  transform: translateY(-2px);
}

.press {
  padding: 100px 0;
  background-color: var(--primary-color-900);
}

.press h2,
.press .project-card h3 {
  color: var(--primary-color-100);
  opacity: 1;
}

.press .project-card a {
  color: var(--primary-color-200);
  opacity: 1;
}

.press-load-more-wrap {
  position: relative;
  min-height: 52px;
}

.press-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.press-loader-spinner {
  display: block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--primary-color-200);
  border-top-color: var(--primary-color-900);
  border-radius: 50%;
  animation: press-loader-spin 0.8s linear infinite;
}

@keyframes press-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.projects-all {
  padding-top: 350px;
}

.services {
  background-color: var(--primary-color-100);
  padding: 300px 0 100px 0;
}

.services h3 {
  color: var(--primary-color-900);
  font-weight: bold;
  font-size: 36px;
  margin-bottom: 35px;
}

@media only screen and (min-width: 991px) {
  .services .col-lg-5 {
    padding-left: 80px;
  }
}

section {
  overflow: hidden;
}

.services p {
  color: var(--primary-color-900);
  font-size: 20px;
}

.services .row {
  align-items: center;
  margin-bottom: 180px;
}

.work-with-us {
  padding: 100px 0 150px 0;
}

.work-with-us h2 {
  font-size: 40px;
  font-weight: bold;
}

.work-with-us .wrapper {
  min-height: 250px;
}

.work-with-us .wrapper:first-child {
  margin-bottom: 40px;
}

.work-with-us h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.work-with-us p {
  font-size: 16px;
}

.details {
  padding-top: 300px;
  padding-bottom: 100px;
  background-color: var(--primary-color-100);
}

.details h3 {
  font-size: 25px;
  color: var(--primary-color-300);
  margin-bottom: 30px;
}

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

.details ul li {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}

.details .row {
  row-gap: 20px;
}

.details ul li:not(:last-child) {
  border-bottom: 1px solid var(--primary-color-200);
}

.details ul li p {
  color: var(--primary-color-200);
  margin-bottom: 0;
}

.details h2 {
  font-size: 60px;
  margin: 20px 0;
}

.details h2 span {
  font-size: 80px;
  color: var(--primary-color-200);
  display: block;
}

.details h2 + p {
  color: var(--primary-color-900);
}

.details .gallery {
  row-gap: 20px;
  margin-top: 70px;
}

.error-404 {
  padding: 300px 0 150px 0;
  background-color: var(--primary-color-100);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-404-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.error-404-code {
  font-size: 140px;
  line-height: 1;
  font-weight: 300;
  color: var(--primary-color-300);
  margin-bottom: 10px;
}

.error-404 h1 {
  font-size: 40px;
  color: var(--primary-color-900);
  margin-bottom: 20px;
}

.error-404-text {
  font-size: 18px;
  color: var(--primary-color-300);
  margin-bottom: 40px;
}

.legal-page {
  padding: 300px 0 100px 0;
  background-color: var(--primary-color-100);
}

.legal-page h2.title {
  margin-bottom: 50px;
}

.legal-page h2.title span {
  color: var(--primary-color-300);
}

.legal-content {
  color: var(--primary-color-900);
  font-size: 16px;
  line-height: 1.8;
  max-width: 900px;
}

.legal-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color-300);
  margin: 35px 0 15px;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-content a {
  color: var(--secondary-color);
}

.press-detail {
  padding: 300px 0 100px 0;
  background-color: var(--primary-color-100);
}

.press-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-color-300);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 50px;
  transition: color 0.3s ease;
}

.press-back:hover {
  color: var(--primary-color-900);
}

.press-back-icon {
  transform: rotate(180deg);
  width: 15px;
  height: auto;
}

.press-detail-image {
  margin-bottom: 50px;
}

.press-detail-image img {
  width: 100%;
  border-radius: 10px;
}

.press-meta {
  font-size: 14px;
  color: var(--primary-color-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.press-detail h1 {
  font-size: 48px;
  color: var(--primary-color-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.press-subtitle {
  font-size: 24px;
  color: var(--primary-color-300);
  margin-bottom: 0;
}

.press-detail-header {
  margin-bottom: 40px;
}

.press-content {
  color: var(--primary-color-900);
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
}

.press-content p {
  margin-bottom: 20px;
}

.press-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

.kontakt {
  padding: 300px 0 100px 0;
  background-color: var(--primary-color-100);
}

.kontakt h2 {
  font-size: 60px;
  color: var(--primary-color-900);
  margin-bottom: 50px;
}

.kontakt h2 span {
  color: var(--primary-color-300);
}

.kontakt .map {
  margin-bottom: 40px;
}

.kontakt img {
  border-radius: 10px;
}

.kontakt .map iframe {
 min-height: 500px;
 max-width: 100%;
}

.kontakt h3 {
  color: var(--primary-color-300);
  font-size: 40px;
  margin: 15px 0 40px 0;
}

.kontakt form label {
  font-size: 16px;
  color: var(--primary-color-300);
  margin-bottom: 5px;
}

.kontakt form input,
.kontakt form textarea {
  background-color: transparent;
  border: 1px solid var(--primary-color-300);
  color: var(--primary-color-300);
  padding: 20px 15px;
  margin-bottom: 20px;
  display: block;
  width: 100%;
  border-radius: 8px;
  resize: none;
}

.kontakt .btn.btn-white {
  margin-top: 30px;
}

footer {
  background-color: var(--primary-color-100);
  padding: 50px 0;
}

footer p {
  margin-bottom: 0;
}

footer .links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

footer .links ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 60px;
  margin-bottom: 0;
}

footer .links ul a {
  color: var(--primary-color-900);
  text-decoration: none;
  text-transform: uppercase;
}

footer .links ul + ul {
  gap: 20px;
}

footer .row {
  align-items: center;
}

footer .row p,
footer .row a {
  color: var(--primary-color-900);
  font-size: 14px;
  margin-bottom: 0;
  text-decoration: none;
}

footer .row + .row .col-lg-5 {
  text-align: end;
  gap: 30px;
}

.itsystem {
  text-align: center;
  color: #fff;
  margin-top: 20px;
}

.itsystem a {
  color: #fff;
  font-weight: 600;
}

@media only screen and (max-width: 1199px) {
  .navbar .navbar-nav li:not(:last-child) {
    margin-right: 30px;
  }

  .navbar .navbar-nav li:not(:last-child) a::before {
    right: -22px;
  }

  .work-with-us .wrapper {
    min-height: unset;
  }

  .work-with-us .row {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
  }

  .work-with-us .col-xl-2 {
    order: 1;
  }

  .work-with-us .col-xl-3:nth-child(2) .wrapper:first-child {
    order: 2;
  }

  .work-with-us .col-xl-3:nth-child(3) .wrapper:first-child {
    order: 3;
  }

  .work-with-us .col-xl-4:nth-child(4) .wrapper:first-child {
    order: 4;
  }

  .work-with-us .col-xl-3:nth-child(2) .wrapper:last-child {
    order: 5;
  }

  .work-with-us .col-xl-3:nth-child(3) .wrapper:last-child {
    order: 6;
  }

  .work-with-us .col-xl-4:nth-child(4) .wrapper:last-child {
    order: 7;
  }

  .work-with-us .col-xl-3,
  .work-with-us .col-xl-4 {
    display: contents;
  }

  .work-with-us .wrapper:first-child {
    margin-bottom: 0;
  }

  .work-with-us h2 {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 991px) {
  .about-us .row {
    row-gap: 40px;
  }
  .about-us .row .col-lg-6 {
    order: 2;
  }
  footer .links {
    flex-direction: column;
    gap: 20px;
    align-items: end;
  }

  footer .row + .row .col-lg-5 {
    text-align: left;
  }

  footer .row + .row {
    margin-top: 30px;
  }

  .services .col-lg-7 {
    order: 1;
  }

  .services .row {
    margin-bottom: 50px;
  }

  .work-with-us {
    padding: 70px 0;
  }

  .kontakt img {
    display: none;
  }

  .kontakt .map iframe {
    min-height: 500px;
  }

  .navbar .navbar-nav li:not(:last-child) a::before {
    display: none;
  }
  .offcanvas-header .btn-close {
    filter: invert(1);
  }
}

@media only screen and (max-width: 480px) {
  .title {
    font-size: 42px;
  }
  .about-us {
    padding: 50px 0;
  }
  .about-us h2 {
    margin-bottom: 30px;
  }
  .hero {
    min-height: 550px;
  }
  .projects {
    padding: 50px 0;
  }
  .services p {
    font-size: 14px;
  }
  .services h3 {
    font-size: 24px;
  }
  .services {
    padding-bottom: 50px;
  }

  .work-with-us .wrapper {
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
  }
  .work-with-us h3 {
    font-size: 18px;
  }

  footer .links ul:first-of-type {
    display: none;
  }

  footer .links {
    align-items: start;
  }

  footer img[alt="logo"] {
    max-width: 50%;
  }

  footer .row + .row {
    row-gap: 20px;
  }
  .work-with-us {
    padding: 30px 0;
  }

  .navbar.sticky img {
    max-width: 75px;
  }

  .projects.projects-all {
    padding-top: 300px;
  }

  .kontakt {
    padding-bottom: 30px;
  }

  .details {
    padding-bottom: 0;
  }

  .details .col-lg-7 {
    order: 2;
  }

  .details h2 span,
  .details h2,
  .kontakt h2,
  .kontakt h2 span,
  .legal-page h2.title,
  .press-detail h1 {
    font-size: 42px;
  }

  .error-404-code {
    font-size: 80px;
  }

  .error-404 h1 {
    font-size: 28px;
  }

  .press-detail,
  .legal-page,
  .error-404 {
    padding-top: 250px;
  }

  .navbar .lang {
    margin-top: 20px;
  }
}
