@font-face {
  font-family: "Sen";
  src: url("./assets/fonts/Sen-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Sen";
  src: url("./assets/fonts/Sen-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Sen";
  src: url("./assets/fonts/Sen-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

* {
  font-family: "Sen", sans-serif;
  box-sizing: border-box;
}

.main-dynamic-slogan {
  display: flex; /* Arrange children (the spans) in a row by default */
  flex-wrap: wrap; /* Allow wrapping if space is tight, though column direction is better for mobile */
  justify-content: center; /* Or your preferred horizontal alignment */
  align-items: baseline; /* Aligns the text baselines nicely */
  gap: 0.5em; /* Adds a small space between the two parts when side-by-side */
  color: #007caf;
  /* Add any other styling for the heading itself, like font-size, color etc. */
}

/* On mobile screens */
@media (max-width: 767.98px) {
  /* Adjust breakpoint as needed */
  .main-dynamic-slogan {
    flex-direction: column; /* Stack the children vertically */
    align-items: center; /* Center items when stacked */
    gap: 0.1em; /* Adjust vertical gap if needed */
  }
  .main-dynamic-slogan span {
    /* Ensure text within spans is also centered on mobile if desired */
    text-align: center;
  }
}

/*  */
.hero-container {
  position: relative;
}

/* Overlap the blue sky */
.hero-title-overlay {
  top: 5%; /* push into top part of sky */
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  /* color: white; */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.no-wrap {
  white-space: nowrap;
}

.hero-title-overlay span[localization-key="title-4"] {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .hero-title-overlay {
    top: 3%; /* even higher on mobile */
  }

  .hero-title-overlay h1 {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
}

@media (min-width: 577px) {
  .hero-title-overlay h1 {
    font-size: 2.8rem;
    line-height: 3.2rem;
  }
}
/*  */

/* Navbar flicker fix */
@media screen and (min-width: 1024px) {
  .collapse {
    display: block;
    height: auto !important;
    visibility: visible;
  }
  .collapsing {
    position: relative;
    height: unset !important;
    overflow: hidden;
  }
}

.lang .dropdown-menu {
  min-width: 4rem;
}

@media (max-width: 767px) {
  .lang .dropdown-menu {
    min-width: 4rem;
    width: 4rem;
  }
}

.product-thumbnail-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(16, 75, 99, 0.4),
    rgba(16, 75, 99, 0.4)
  );
}

.product-image {
  float: left;
  width: 100px;
  height: 100px;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.product-container:hover .product-image {
  filter: grayscale(0);
}

body {
  margin: 0;
  caret-color: transparent;
}

.blue-bg {
  background-color: #007caf;
}

.blue-text {
  color: #b6eaff;
}

.very-big-text {
  font-weight: 700;
  font-size: 5rem;
}

.margin-top {
  margin-top: 10vh;
}

.padding-top {
  padding-top: 10vh;
}

.padding-left {
  padding-left: 4vw;
}

.padding-right {
  padding-right: 4vw;
}

.padding-bottom {
  padding-bottom: 1vh;
}

.padding-top-bottom {
  padding-top: 5vh;
  padding-bottom: 7vh;
}

@media (max-width: 717px) {
  .navbar-brand img {
    height: 65px;
  }
}

@media (min-width: 576px) {
  .product-item-text {
    position: absolute;
    padding-left: 1vw;
  }
  .products button {
    background-color: #007caf;
    border-radius: 20px;
    border: none;
  }
}

@media (max-width: 575px) {
  .product-item-text {
    color: white;
  }
}

.product-item-text {
  position: absolute;
  font-size: 24px;
  font-weight: 700;
  padding-left: 1vw;
}

.products button {
  background-color: #007caf;
  border-radius: 20px;
  border: none;
}

.benefits span {
  padding-top: 0.5vh;
}

.benefits-top-text {
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
  text-align: center;
  color: #ffffff;
  margin-top: 0.5vh;
}

.benefits-bottom-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #ffffff;
}

.footer button {
  border: none;
  background: transparent;
  color: #ffffff;
}

.img-border-radius {
  border-radius: 4vh;
}

#about-us {
  scroll-margin-top: 91px;
}

@media (max-width: 717px) {
  #about-us {
    scroll-margin-top: 350px;
  }

  #partners {
    scroll-margin-top: 120px;
  }

  #benefits {
    scroll-margin-top: 350px;
  }

  #contact-form {
    scroll-margin-top: 20vh;
  }
}

@media (max-width: 717px) {
  #partners {
    scroll-margin-top: 1000px;
  }
}

#partners {
  scroll-margin-top: 120px;
}

#benefits {
  scroll-margin-top: 90px;
}

#contact-form {
  scroll-margin-top: 80px;
}
