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

@font-face {
  font-family: "Aspekta";
  src: url("./font/AspektaVF.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body,
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: "Aspekta", sans-serif;
}

button:hover,
a:hover {
  cursor: pointer;
}

.soon {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

header {
  height: 94px;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img,
footer .logo img {
  max-width: 200px;
}

header div.desktop,
footer div {
  display: flex;
  gap: 40px;
}

header .mobile {
  display: none;
}

header div.decoration {
  height: 30px;
  width: 1px;
  background-color: #007dba;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.lang-switch span {
  cursor: pointer;
  color: #999;
  padding: 2px 4px;
  transition: color 0.2s;
}

.lang-switch span:hover {
  color: #007dba;
}

.lang-switch span.active {
  color: #007dba;
}

.lang-switch .separator {
  color: #ccc;
  cursor: default;
}

.mobile-menu .lang-switch {
  margin-top: 20px;
  justify-content: center;
  font-size: 16px;
}

header a,
header a:visited,
header a:active {
  text-decoration: none;
  color: #007dba;
  font-weight: bold;
  transition: color 0.3s ease;
}

header a:hover {
  color: #007dba;
}

@media (max-width: 910px) {
  header {
    padding-left: 15px;
    padding-right: 15px;
  }

  header div.desktop {
    display: none;
  }

  header div.mobile {
    display: block;
  }

  header div .menu-icon {
    width: 30px;
    height: 30px;
    color: #007dba;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu {
    padding-left: 15px;
    padding-right: 15px;
    position: fixed;
    top: 0px;
    bottom: 0px;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #fff;
  }

  .mobile-menu .logo img {
    max-width: 200px;
  }

  .mobile-menu a,
  .mobile-menu a:visited,
  .mobile-menu a:active {
    text-decoration: none;
    color: #007dba;
    font-weight: bold;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu a:hover {
    color: #007dba;
  }

  .mobile-menu .close-menu-mobile {
    position: absolute;
    top: 20px;
    right: 15px;
  }

  .mobile-menu div .close-icon {
    width: 30px;
    height: 30px;
    color: #007dba;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Overlay - updated with image support */
.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: #000000e6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
  width: 100%;
  height: 100vh;
  z-index: 999;
  overflow-y: auto;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.overlay .overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.overlay .overlay-image {
  max-width: 1200px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
  max-height: 540px;
}

.overlay .overlay-text {
  font-size: 32px;
  color: #fff;
  max-width: 1200px;
  width: 100%;
  text-align: center;
  line-height: 1.4;
}

.overlay .overlay-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  max-width: 1200px;
  width: 100%;
  gap: 30px;
}

.overlay .overlay-buttons button {
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  max-width: 200px;
  width: 200px;
  height: 63px;
  background-color: #007dba;
  color: #fff;
  font-size: 16px;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .overlay .overlay-text {
    font-size: 20px;
  }

  .overlay .overlay-text,
  .overlay .overlay-buttons {
    max-width: 70%;
  }

  .overlay .overlay-image {
    max-width: 600px;
  }
}

@media (max-width: 646px) {
  .overlay .overlay-text,
  .overlay .overlay-buttons {
    max-width: 95%;
  }

  .overlay .overlay-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .overlay .overlay-buttons button {
    max-width: 100%;
    width: 100%;
  }

  .overlay .overlay-image {
    max-width: 95%;
    max-height: 250px;
  }
}

.hero {
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero p {
  max-width: 1200px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  color: #007dba;
  font-size: 40px;
  font-weight: bold;
}

/* Hero banner with background image */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  max-height: 500px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-banner .hero-banner-text {
  position: absolute;
  bottom: 40px;
  left: 0;
  padding: 15px 30px;
  background-color: rgba(0, 125, 186, 0.75);
  max-width: 700px;
}

.hero-banner .hero-banner-text h1 {
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-banner img {
    height: 350px;
  }

  .hero-banner .hero-banner-text {
    bottom: 20px;
    padding: 10px 20px;
    max-width: 90%;
  }

  .hero-banner .hero-banner-text h1 {
    font-size: 24px;
  }
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}

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

.wrapper div.subtitle {
  font-size: 20px;
  color: #007dba;
  margin-top: 15px;
  font-weight: bold;
}

.wrapper ul {
  margin-left: 20px;
}

.wrapper ul li {
  margin-top: 5px;
  margin-bottom: 5px;
}

.wrapper .img-wrapper, .wrapper .description-image  {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.wrapper .img-wrapper img {
  max-height: 200px;
  height: 100%;
}

.wrapper .description-image{
    justify-content: center;
    gap:20px;
    flex-wrap: wrap;
    margin-top:15px;
    margin-bottom:15px;
    flex-direction: row;
}

.wrapper .description-image.reverse  {
    flex-direction: row-reverse;
}


.wrapper .description-image img {
    max-height: 250px;
    height: 100%;
  }

  .wrapper .description-image p , .wrapper .description-image div {
    width: auto;
    max-width: none;
    flex: 1;
}

@media(max-width:780px){
    .wrapper .description-image p , .wrapper .description-image div {
        width: 100%;
        max-width: 100%;
        flex: 1;
    }

    .wrapper .description-image{
        flex-direction: column;
    }
}
@media (max-width: 570px) {


    .wrapper .description-image img{

            max-height: unset;
            max-width: 100%;
            width: 100%;

    }

    .wrapper .description-image img{
        max-height: unset;
        max-width: 100%;
        width: 100%;
    }

  .wrapper .img-wrapper img {
    max-height: unset;
    max-width: 100%;
    width: 100%;
  }
}

.wrapper .list-image {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
}

.wrapper .list-image div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.info-card-stacked .list-image {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
  margin: 15px 0;
}

.info-card-stacked .list-image div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.info-card-stacked .list-image img {
  width: 40px;
  height: 40px;
}

/* Info card blocks */
.info-card {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 15px;
}

.info-card-inner {
  display: flex;
  align-items: stretch;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.info-card-inner.reverse {
  flex-direction: row-reverse;
}

.info-card-text {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card-text h2 {
  font-size: 28px;
  font-weight: bold;
  color: rgb(0, 125, 186);
  margin: 0 0 15px 0;
}

.info-card-text p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #333;
}

.info-card-text ul {
  margin: 0 0 10px 20px;
  line-height: 1.6;
  color: #333;
}

.info-card-text ul li {
  margin: 3px 0;
}

.info-card-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.info-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card-stacked {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.info-card-top-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 20px;
}

.info-card-top-text {
  flex: 1;
}

.info-card-top-text h2 {
  font-size: 28px;
  font-weight: bold;
  color: rgb(0, 125, 186);
  margin: 0 0 15px 0;
}

.info-card-top-text p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.info-card-top-icon {
  flex: 0 0 auto;
  max-width: 230px;
}

.info-card-top-icon img {
  width: 100%;
  height: auto;
}

.info-card-bottom-text p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .info-card-top-row {
    flex-direction: column;
    align-items: center;
  }

  .info-card-top-icon {
    max-width: 200px;
  }

  .info-card-stacked {
    padding: 25px 20px;
  }
}

.info-card-image.square {
  flex: 0 0 270px;
  max-width: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.info-card-image.square img {
  width: 100%;
  max-width: 270px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .info-card-image.square {
    flex: none;
    max-width: 200px;
    width: auto;
    margin: 15px auto;
  }

  .info-card-image.square img {
    width: 100%;
    height: auto;
  }

  .info-card-inner,
  .info-card-inner.reverse {
    flex-direction: column;
  }

  .info-card-image {
    flex: none;
    max-width: 100%;
    width: 100%;
    max-height: 250px;
    overflow: hidden;
  }

  .info-card-text {
    padding: 25px 20px;
  }

  .info-card-text h2 {
    font-size: 22px;
  }
}

.despre,
.servicii,
.comunicare {
  padding-bottom: 60px;
}

.comunicare .information-main-wrapper {
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: auto;
}

.comunicare .information-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.comunicare .information-title span {
  text-overflow: ellipsis;
}

.comunicare .information-title button {
  text-wrap: nowrap;
}

.comunicare .information-content {
  display: none;
  margin-top: 30px;
  padding-left: 15px;
  padding-right: 15px;
}

.comunicare .information-content p {
  margin-top: 15px;
  margin-bottom: 15px;
}

.comunicare .information-content.active {
  display: block;
}

.comunicare .information-title button {
  cursor: pointer;
  background: none;
  border: none;
  color: #007dba;
  text-decoration: underline;
  padding: 0;
  font-size: 0.9rem;
}

.contact, .comunicare{
    min-height:calc(100vh - 258px);
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 164px;
  height:100%;
  background-color: #007dba;
  color: #fff;
  padding: 15px;
}

footer > div {
  flex-direction: column;
}

footer p.copyright {
  font-size: 12px;
}
