/* ------------------------ DESKTOP ------------------------- */

body {
  font-family: "Roboto", sans-serif;
  padding-bottom: 50px;
}

.hero-banner-wrapper {
  background-color: #202344;
  width: 100%;
  height: calc(100dvh + 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-banner-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/stripes.svg");
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  z-index: -1;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
}

.hero-banner-container {
  max-width: 1250px;
  width: 100%;
  padding: 25px;
  height: 100%;
  position: relative;
}

.hero-content {
  height: 100%;
  position: relative;
  z-index: 1;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

.logo > p > span:nth-child(1) {
  color: #ed2f49;
  font-weight: 400;
}

.logo > p > span:nth-child(2) {
  font-weight: 400;
  font-size: 0.9rem;
}

.navigation-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav > li {
  display: flex;
}

.nav > li > a {
  background: linear-gradient(to right, #e92b47, #f58726);
  padding: 10px 20px;
  border-radius: 15px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  transition: background 0.3s ease;
}

.nav > li > a:hover {
  background: linear-gradient(to right, #b2223c, #c75e1d);
}

.hero-text {
  margin-top: 230px;
}

.hero-main-text {
  color: #fff;
  font-size: 2.5rem;
  line-height: 50px;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-main-text > span {
  color: #fff;
  font-size: 3rem;
  line-height: 50px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-text-second {
  margin-top: 30px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 45%;
  line-height: 30px;
}

.address {
  margin-top: 40px;
  font-size: 1rem;
  text-transform: uppercase;
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.address > i {
  color: #ed2f49;
  font-size: 1.1rem;
}

.coordonate {
  font-size: 1rem;
  text-transform: uppercase;
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.coordonate > i {
  color: #ed2f49;
  font-size: 1.2rem;
}

.circle {
  position: absolute;
  top: 50%;
  right: 275px; /* Aligns the right edge of the circle to the right edge of the viewport */
  transform: translate(
    50%,
    -50%
  ); /* Adjust the transform to move the circle into view */
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.circle iframe {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  pointer-events: none;
}

.circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 5px dashed transparent;
  border-left-color: #ed2f49;
  border-right-color: #f58928;
  animation: rotate-border 20s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.hero-main-text > span:nth-child(1) {
  font-weight: 300;
  font-size: 2.5rem;
}

@keyframes rotate-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.content-header {
    font-size: 1.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 50px;
    color: #ed2f49;
}

.content-template {
    max-width: 1250px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 20px; /* First value is vertical gap, second value is horizontal gap */
  }

.card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.1);
  padding: 30px 20px 20px 20px;
  display: flex;
  justify-items: center;
  flex-direction: column;
  gap: 20px;
  border-radius: 5px;
}

.card-text {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
    color: #222222;
    line-height: 20px;
    font-size: 1rem;
}

.card-text > i {
    font-size: 2rem;
    
}

.button {
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 0px;
    border-top: 1px solid #cbcbcb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.button > a {
    text-decoration: none;
    background-color: #ed2f49;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 500;
    font-size: .9rem;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    width: fit-content;
    gap: 10px;
}

.ribbon {
    background-color: darkgreen;
    padding: 5px 10px;
    font-size: .8rem;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
}

#structura, #executie {
    padding-top: 100px;
}

.executie {
    margin-bottom: 100px;
}
/* ----------------------- BIG TABLET ----------------------- */
@media (max-width: 995px) {
  .circle {
    display: none;
  }

  .hero-text-second {
    max-width: 100%;
  }

  .address {
    margin-top: 130px;
  }

  .content-wrapper {
    padding: 10px;
  }

  .content-template {
    grid-template-columns: repeat(1, 1fr);

  }

  /* ----------------------- SMALL TABLET --------------------- */
  @media (max-width: 809px) {
    .nav {
      display: none;
    }

    .hero-text {
      margin-top: 100px;
    }
  }

  /* ----------------------- BIG PHONES ----------------------- */
  @media (max-width: 480px) {
    .hero-text {
      margin-top: 50px;
    }

    .hero-main-text > span:nth-child(1) {
      display: none;
    }

    .company-name {
      font-size: 2rem !important;
    }
  }

  /* ----------------------- SMALL PHONES --------------------- */
  @media (max-width: 400px) {
    .hero-text {
      margin-top: 0px;
    }
    .address {
      margin-top: 50px;
    }
  }
}
