@charset "UTF-8";
:root {
  --section-header: #093c86;
  --light-blue: #145bc3;
  --yellow: #ffdd56;
  --yellow-separator: #ffeda3;
  --white: #ffffff;
  --gray-bg: #f8f9fa;
  --dark: #1d1d1b;
  --green: #009640;
  --black: #000;
  --dark-red: #b90303;
  --slide-border: #2d2d2d;
  --slide-text: #74adff;
  --slide-title: #ffbf90;
  --red: #ff0000;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes flipY {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  background: var(--gray-bg);
  line-height: 1.6;
}

header {
  top: 0;
  z-index: 10;
  position: fixed;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  padding: 16px;
  flex-direction: column;
}
header nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
header .langs {
  display: flex;
  gap: 8px;
}
header button {
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}
header .logo {
  width: 150px;
}
header .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
header .nav-links > a:first-child:after {
  content: "";
  position: absolute;
  height: 50%;
  width: 2px;
  background-color: #fff;
  right: -20px;
}
header .nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  position: relative;
}
header .nav-links a:hover {
  color: var(--light-blue);
}
header .nav-links a.contact-anchor {
  background-color: var(--red);
  padding: 4px;
  border-radius: 4px;
  padding-right: 20px;
}
header .nav-links a.contact-anchor:hover {
  color: var(--white);
  background: var(--dark-red);
}

.content {
  max-width: 100%;
  margin: auto;
}
.content .top-rotator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100% px;
  -webkit-box-shadow: inset 0px 0px 30px 30px rgb(0, 0, 0);
  -moz-box-shadow: inset 0px 0px 30px 30px rgb(0, 0, 0);
  box-shadow: inset 0px 0px 30px 30px rgb(0, 0, 0);
  background-image: url("../img/zygiIT2b.png");
  background-color: var(--black);
  width: 100%;
  background-repeat: no-repeat;
  background-position: center -90px;
  background-size: contain;
}
.content .top-rotator h2 {
  color: white;
}
.content .top-rotator .services {
  margin-top: 35px;
}
.content .slider-container {
  max-width: 1000px;
}
.content .glide__slide {
  padding: 16px;
  border-radius: 8px;
  background: var(--dark);
  height: 250px;
  opacity: 0.6;
  border: 1px solid var(--slide-border);
  transition: all 0.3s;
  transform: scale(0.8);
}
.content .glide__slide h3 {
  color: var(--slide-title);
  border-bottom: 1px solid var(--slide-border);
  padding: 0 0 8px 0;
  margin-bottom: 8px;
  font-weight: 500;
}
.content .glide__slide p {
  color: var(--slide-text);
  line-height: 30px;
  font-size: 16px;
}
.content .glide__slide.glide__slide--active {
  opacity: 1;
  transform: scale(1);
}

.glide__bullets {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}
.glide__bullets button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background: black;
  border: 1px solid var(--slide-border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glide__bullets button.glide__bullet--active:after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--light-blue);
  position: absolute;
}

.head-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.mid-section,
footer {
  background: linear-gradient(90deg, var(--light-blue), #1f1f1f);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.mid-section.first,
footer.first {
  margin-top: 76px;
}
.mid-section .slogan,
footer .slogan {
  max-width: 1200px;
  margin: 0 auto;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 3.5rem;
}
@media screen and (max-width: 768px) {
  .mid-section .slogan,
  footer .slogan {
    font-size: 2rem;
    line-height: 3rem;
  }
}

header .subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 10px;
}

.mid-section .subtitle {
  padding: 5px;
  font-size: 16px;
  font-weight: 500;
  color: #5392b9;
  background-color: #1f1f1f;
}

.mid-section .subtitle .gray {
  color: #656a6c;
}

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 16px;
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #ffda33;
  transform: translateY(-2px);
}

/* === SECTIONS === */
section.normal-section {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 35px;
  color: var(--section-header);
  position: relative;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

/* === ABOUT === */
.about {
  text-align: center;
}
.about ul {
  list-style: none;
}
.about ul li {
  padding: 10px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.about .material-symbols-outlined {
  color: var(--light-blue);
  font-size: 72px;
}

.about p {
  max-width: 800px;
  font-size: 1.1rem;
}

/* === SERVICES === */
.service-grid-container {
  position: relative;
}
.service-grid-container .desc {
  display: none;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: white;
}
.service-grid-container .desc .service-desc {
  padding: 16px 24px 24px 24px;
}
.service-grid-container .desc ul {
  margin-top: 16px;
  padding: 0 0 0 20px;
  text-align: left;
}
.service-grid-container.modal .desc {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}

.services-grid,
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
@media screen and (max-width: 768px) {
  .services-grid,
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.desc {
  text-align: left;
  border-radius: 4px;
}
.desc .material-symbols-outlined {
  font-size: 48px;
  color: var(--light-blue);
}
.desc .close-modal {
  position: absolute;
  right: 16px;
  top: 16px;
  cursor: pointer;
}
.desc h3 {
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 8px;
  margin-bottom: 8px;
  gap: 16px;
  padding: 16px 24px 16px 24px;
}
.desc h4 {
  font-weight: 500;
  font-size: 1.3rem;
  margin: 8px 0;
  position: relative;
}
.desc h4::before {
  content: "„"; /* „ */
  color: #ccc;
}
.desc h4::after {
  content: "”"; /* ” */
  color: #ccc;
}
.desc .hint {
  text-decoration: underline;
  display: block;
  margin: 4px 0;
}

.service-box,
.client-box {
  background: var(--white);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.service-box.others,
.client-box.others {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.service-box.others h3,
.client-box.others h3 {
  color: var(--light-blue);
}

.service-box:hover,
.client-box:not(.others):hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.service-box {
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  padding-bottom: 32px;
}
.service-box .material-symbols-outlined {
  font-size: 48px;
  color: var(--light-blue);
}
.service-box .service-desc {
  display: none;
}
.service-box .more {
  background: transparent;
  border: 0;
  color: var(--light-blue);
  font-size: 14px;
  cursor: pointer;
  display: block;
  text-align: left;
  margin-top: 12px;
  text-decoration: underline;
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.client-box h3 {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 600;
}

.flip .services-grid {
  transition: 0.5s all;
  gap: 0;
}

.flip .service-box {
  transform-style: preserve-3d;
  animation: flipY 1s ease forwards;
  box-shadow: none;
  border-radius: 0;
}

.flip .service-box-inner {
  animation-delay: 5s;
  animation: fadeOut 1s ease forwards;
}

/* === CONTACT === */
.contact {
  text-align: center;
}

.contact p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* === CONTACT === */
.contact {
  text-align: center;
}

.contact p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* === FOOTER === */
footer {
  text-align: left;
}
footer ul {
  list-style: none;
}
footer a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}
footer a:hover {
  text-decoration: underline;
}

.mobile-menu {
  display: none !important;
  width: 100%;
  justify-content: space-between;
}
@media screen and (max-width: 600px) {
  .mobile-menu {
    display: flex !important;
  }
}
.mobile-menu > div {
  display: flex;
  gap: 32px;
}
.mobile-menu > div > a:first-child:after {
  content: "";
  position: absolute;
  height: 50%;
  width: 2px;
  background-color: #fff;
  right: -20px;
}

@media screen and (max-width: 600px) {
  .hide-for-mobile {
    display: none !important;
  }
}