@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,400,600|Tulpen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Modern+Antiqua&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: font5;
  src: url(../font/NotoMono/NotoMono-Regular.ttf);

}

body {
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

hr {
  width: 50%;
  margin: 15px auto;
}

/*general styles*/
.title {
  clear: both;
  /* padding-top: 4em; */
  padding-top: 3em;
  color: #000000c0;
  text-align: center;
  font-size: 2em;
}

/* ===== Stil General ===== */
.container-tabs {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* ===== Butoane ===== */
.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin: 20px auto;
  width: 100%;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.tab-btn {
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.tab-btn:hover {
  background-color: #0056b3;
}

/* ===== Tabs (Conținut) ===== */
.tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.tabs .tab {
  display: none;
  width: 90%;
  max-width: 800px;
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tabs .tab.active {
  display: block;
}

.tabs .tab img {
  /* max-width: 100%;
  height: auto; */
  width: 30vw;
  height: 30vh;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

/* ===== Media Queries ===== */



/* end structura si dotari */

button {
  text-align: center;
  margin: 25px auto;
  color: white;
  background-color: rgb(47, 0, 255);
  border: 1px solid black;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  display: block;
}

button:hover {
  color: #000000a8;
  background-color: whitesmoke;
}

.antigua a:hover {
  color: #0046FF;
}

.antigua {
  color: #000000c0;
  width: 70%;
  margin: 2% 15%;
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

.antigua p {
  color: #000000c0;
  font-family: Arial, Helvetica, sans-serif;
  text-align: justify;
  margin-bottom: 15px;
}


/* slideshow carousel */
/* Slideshow ocupa toată lățimea și înălțimea vizibilă */

.carousel {
  width: 100vw;
  position: relative;
  background-size: cover !important;
  height: 80vh;
  /* height:90vh; */
  overflow: hidden;
  display: flex;
  /* Asigură alinierea corectă */
  flex-direction: column;
  margin-left: -2rem;
}

.carousel-control {
  height: 72vh;
  background-color: #B9C2C9;
  background-image: none !important;
}


/* Asigură ca imaginile se ajustează corect */
.carousel-inner>.item>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajustare proporțională */
}

/*BEGIN MENIU*/
div#meniu {
  width: 100%;
  height: 65px;
  position: fixed;
  z-index: 1;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

*/ .bg-meniu:hover {
  display: block;
  background-color: #3B7CCA;
  height: 300px;
  width: 300px;
}

/*begin card mol si info*/
/*begin cards*/

.cards {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #585858;
}

.containercard {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.card {
  height: 250px;
  /* min-width: 22%;
  max-width: 23%; */
  width: 23%;
  margin: 0 1%;
  background: white;
  transition: 0.4s;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);

}

.card:hover {
  height: 470px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.card .img {
  height: 200px;
  width: 100%;
}

.card .img img {
  height: 200px;
  width: auto;
  object-fit: cover;
}

.card .top-text {
  padding: 5px;
}

.card .top-text .names {
  font-size: 25px;
  font-weight: 600;
  color: #202020;
}

.card .top-text p {
  font-size: 20px;
  font-weight: 600;
  color: #e74c3c;
  line-height: 20px;
}

.card .bottom-text {
  padding: 0 20px 10px 20px;
  margin-top: 5px;
  background: white;
  opacity: 0;
  visibility: hidden;
  transition: 0.1s;
  text-align: center;
}

.card:hover .bottom-text {
  opacity: 1;
  visibility: visible;
}

.card .bottom-text .text {
  text-align: center;
  overflow: hidden;
  max-height: 8rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
}

.card .bottom-text .btn {
  margin: 10px 0;
  text-align: center;

}

.card .bottom-text .btn a {
  text-decoration: none;
  background: rgb(47, 0, 255);
  color: #f2f2f2;
  padding: 5px 8px;
  border-radius: 3px;
  display: inline-flex;
  transition: 0.2s;
  width: 90%;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.card .bottom-text .btn a:hover {
  transform: scale(0.9);
}

/*end cards*/
/*end card mol si info*/
/*imagini album orizontal*/

main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

}

#menu.scrolled {
  top: 100px;
}

.scrollable {
  will-change: transform;

}

.info-mask {
  position: fixed;
  bottom: 15%;
  left: 10%;
  width: 100%;
  height: 48px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;

}

.info-mask h1 {
  display: block;
  transform: translateY(48px);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgb(255, 255, 255);
  transition: 0.2s;
}

.info-mask.active3 h1 {
  transform: translateY(0);
  transition: 0.2s;
  color: red;
}

.project-title {
  position: absolute;
  top: 5vh;
  left: 5vw;
  z-index: 100;
}

.flex-item {
  position: relative;
  width: 600px;
  height: 100%;
}

.image-wrap {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
}

.image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(80%);
  cursor: pointer;
}

.image-two {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  clip-path: circle(0% at 30% 20%);
  pointer-events: none;
  transition: clip-path 0.1s;
}

.three {
  position: relative;
  width: 100%;

}

.list ul li {
  list-style: none;
  padding-left: 50px;
  position: relative;
  padding-top: 20px;
}

.list ul li:before {
  content: "";
  position: absolute;
  top: 12px;
  left: 5px;
  display: inline-block;
  height: 30px;
  width: 30px;
  background-size: contain;
  background-image: url("../img/check.png");
}



.container {
  position: relative;
  /* width: 29.33%; */
  width: 100vw;
  margin: 0 0% 0 0%;
  float: left;
  border-radius: 10px 10px 0 0;
}


/* Begin carousel */
.mySlides {
  display: none;

}

.carousel-indicators {
  position: absolute;
  bottom: 20rem;
  left: 50%;
  z-index: 15;
  width: 60%;
  padding-left: 0;
  margin-left: -30%;
  text-align: center;
  list-style: none;
}

.dot {
  bottom: 20rem;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #717171;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}


.puncte {
  text-align: center;
}

.active {
  background-color: green;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}


/*begin search bar*/

/* Clasa generală pentru poziționarea și layout-ul iconițelor din dreapta */
/* .side-icons {
  position: fixed;
  z-index: 2;
  right: 0;
  display: flex;
  flex-direction: column;
  /* Așezare verticală */
/* gap: 10px; */
/* Spațiere uniformă între elemente */
/* padding: 0; */
/* top: 5%; */
/* transform: translateY(-50%); */
/* }  */


/*begin buton oameni dizabilitati pus dreapta jos*/
#userwayAccessibilityIcon {
  top: 90vh;
  /*  bottom: 13px; */
  right: 0px;
  left: auto;
}

/*end buton oameni dizabilitati pus dreapta jos*/
/*begin imagine slide in left -right*/
/*animation element*/
.about,
.categoriab,
.acte {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;

}


/*end imagine slide in left -right*/

/*begin events*/
.events {
  color: #3C3D37;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cardev {
  display: grid;
  grid-template-columns: 300px;
  grid-template-rows: 210px 210px 80px;
  grid-template-areas: "image" "text" "stats";

  border-radius: 18px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
  font-family: roboto;
  text-align: center;


  transition: 0.5s ease;
  cursor: pointer;
  margin: 30px;
}

.cardev-image {
  grid-area: image;
  background: url("../img/eval.JPG");
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-size: cover;
}

.events a {
  text-decoration: none;
  color: inherit;
}

.cardev-text {
  grid-area: text;
  margin: 2px;
}

.cardev-text .dateev {
  color: rgb(42, 157, 143);
  font-size: 13px;
}

.cardev-text p {
  color: grey;
  font-size: 15px;
  font-weight: 300;
  text-align: justify;
  padding: 2%;
}

.cardev-text h2 {
  margin-top: 0px;
  font-size: 28px;
}

.cardev-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: rgb(109, 104, 117);
}

.cardev-stats .stat {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}

.cardev-stats .borderev {
  border-left: 1px solid rgb(231, 226, 225);
  border-right: 1px solid rgb(231, 226, 225);
}

.cardev-stats .value {
  font-size: 22px;
  font-weight: 500;
}

.cardev-stats .value sup {
  font-size: 12px;
}

.cardev-stats .type {
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
}

.cardev:hover {
  transform: scale(1.15);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
}


.cardev-image.cardev85 {
  background: url("../img/8martie.jpeg");
  background-size: cover;
}

.cardev-image.cardev86 {
  background: url("../img/cascada.jpeg");
  background-size: cover;
}




.cardev-text.cardev2 .dateev {
  color: rgb(181, 131, 141);
}

.cardev-stats.cardev2 .borderev {
  border-left: 1px solid rgb(231, 226, 225);
  border-right: 1px solid rgb(231, 226, 225);
}

.cardev-stats.cardev2 {
  background: rgb(181, 131, 141);
}

/*cardev3*/

.cardev-text.cardev3 .dateev {
  color: rgb(229, 152, 155);
}

.cardev-stats.cardev3 .borderev {
  border-left: 1px solid rgb(231, 226, 225);
  border-right: 1px solid rgb(231, 226, 225);
}

.cardev-stats.cardev3 {
  background: rgb(229, 152, 155);
}

/*end events*/


/*end tabel*/
summary {
  font-size: 1.25rem;
  font-weight: 600;
  background: rgba(87, 133, 217, 0.5);
  background-image: linear-gradient(to right, rgba(87, 133, 217, 1), rgba(87, 133, 217, 0.5));
  color: #fff;
  padding: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 90%;
  margin: 0 5% 1rem 5%;
}

.faq__content summary {
  font-size: 1.25rem;
  font-weight: 600;
  background: rgba(178, 11, 12, 0.5);
  background-image: linear-gradient(to right, rgba(178, 11, 12, 1), rgba(178, 11, 12, 0.5));
  color: #fff;
  padding: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 90%;
  margin: 0 5% 1rem 5%;
}

p {
  text-align: left;
}

details[open] summary~* {
  animation: sweep .5s ease-in-out;
  width: 90%;
  margin: 0 5% 1rem 5%;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px
  }

  100% {
    opacity: 1;
    margin-top: 0px
  }
}

details>summary::after {
  position: absolute;
  content: "+";
  right: 20px;
}

details[open]>summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}

details>summary::-webkit-details-marker {
  display: none;
}

/*carte vizita*/
.carte-vizita {
  width: 40%;
  padding: 1% 3%;
  margin: 5% auto;
  margin-top: 0;
  position: relative;
  overflow: auto;
  outline: 2px solid #B9C2C9;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 40%), 0 7px 20px 0 rgb(0 0 0 / 20%);
}

.carte-vizita img {
  width: 40%;
  float: left;
}

.carte-vizita b {
  color: black;
}


/* MEDIA QUERRY */

/* TOATE */
@media all {
  .content-footer {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 90dvh;
    width: 100vw;
  }

  .video-resize {
    width: 80%;
  }

  .img-catedre {
    width: 25vw;
    height: 23vh;
  }
}

/* TABLETA SI CALCULATOR */
@media (min-width: 641px) {
  .video-resize {
    height: 400px;
  }

  .link-video {
    display: none;
  }
}

/* TELEFON SI TABLETA */
@media (max-width: 980px) {
  .contact {
    grid-template-columns: none;
    grid-template-rows: 700px 1fr;

  }

  .div-catedre {
    display: grid;
    gap: 14em;
    grid-template-rows: repeat(2, 1fr);
  }

  .div-catedre {
    display: grid;
    gap: 14em;
    grid-template-rows: repeat(2, 1fr);
  }

  .img-catedre {
    display: none;
  }

  .img-gdpr {
    display: none;
  }
}

/* CALCULATOR */
@media (min-width: 981px) {
  .div-grid-2col {
    display: grid;
    gap: 5em;
    grid-template-columns: repeat(2, 1fr);
  }

  .img-organigrama {
    width: 45vw;
    height: 55vh;
  }

  .div-catedre {
    display: grid;
    gap: 14em;
    grid-template-columns: repeat(2, 1fr);
  }

  .div-inv {
    display: grid;
    gap: 5em;
    grid-template-rows: max-content;
  }

  .img-gdpr {
    display: flex;
    float: right;
    width: 28vw;
    height: 45vh;
    border-radius: 10px;
    box-shadow: 1mm;
  }
}

/* TABLETA */
@media (min-width: 641px) and (max-width:980px) {
  .div-grid-2col {
    display: grid;
    gap: 1em;
    grid-template-rows: auto auto;
  }

  .img-organigrama {
    width: 80vw;
  }
}

/* TELEFON */
@media (max-width: 640px) {
  .video-resize {
    /* height: 200px; */
    display: none;
  }

  .link-video {
    display: block;
  }

  .img-organigrama {
    display: none;
  }

  .img-organigrama-ceac {
    display: none;
  }

  .div-grid-2col {
    display: grid;
    gap: 1em;
    grid-template-rows: auto auto;
  }

  .tabs .tab {
    width: unset;
  }

}

.subtitlu-h2 a {
  font-size: 1.5rem;
  color: var(--titlu);
  text-align: justify;
  padding: 0 1rem;
  margin: 1rem auto;
}

.structura-imagine {
  display: flex;
  align-items: center;
  width: 60vw;
  text-align: center;
  margin: auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 2px 2px 5px 1px rgb(61, 81, 139);
}