@import url('https://fonts.googleapis.com/css2?family=Mulish&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Signika:wght@500&display=swap');

:root {
  --background-color: #8cd9f7;
  --primary-color: #061740;
  --secondary-color: #fdfeff;
  --accent-color: #78ac60;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  line-height: 1.4;
}

html, body {
  font-family: 'Mulish', sans-serif;
}

.container {
  margin: 6rem auto;
  max-width: var(--max-width);
  border-radius: 2rem;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.py-1 {
  padding: 1rem 0;
}

.py-2 {
  padding: 2rem 0;
}

.py-3 {
  padding: 3rem 0;
}

.white-text {
  color: var(--secondary-color);
}

.dark-blue-text {
  color: var(--primary-color);
}

.bara-separatoare {
  margin: 0 auto;
  width: 95%;
  height: 2px;
  background-color: var(--background-color);
}

.bara-separatoare-gri {
  margin: 0 auto;
  width: 100%;
  height: 2px;
  background-color: #000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Signika', sans-serif;
}


/* Navbar */
#navbar {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1;
  box-shadow: 0px 5px 15px var(--primary-color);
  background: var(--background-color);
  opacity: 0.95;
}

#navbar .nav-logo .logo {
  height: 56px;
}

#navbar .nav-logo .logo {
  margin-left: 3rem;
}

#navbar .nav-links ul {
  display: flex;
  list-style: none; 
}

#navbar .nav-links ul li {
  padding: 1rem;
}

#navbar .nav-links ul li a{
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.4rem; 
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

#navbar .nav-links ul li a::after {
  content: '';
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.25s ease;
  align-self: center;
}

#navbar .nav-links ul li a:hover::after {
  width: 110%;
}

/* Header */
#header {
  height: calc(100vh - 4.5rem);
  background-color: var(--background-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#header .header-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 5rem;
}

#header .header-text h1 {
  font-size: 4rem;
  position: relative;
  color: var(--primary-color);
  white-space: nowrap;
}

#header .header-text p {
  font-size: 2rem;
}

#header .header-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

#header .header-image img {
  width: 75%;
  margin-bottom: 5rem;
  display: inline-block;
}

#header .header-text h1 img {
  width: 100%;
}

/* Section: Intro */
#intro {
  display: flex;
  height: calc(100vh - 4.5rem);
  align-items: center;
  justify-content: center;
}

#intro .poza {
  width: 50%;
  position: relative;
}

#intro .poza p {
  position: absolute;
  font-size: 2rem;
}

#intro .poza #IoT {
  top: -2.5%;
  left: 50%;
}

#intro .poza #robotics {
  top: -10%;
  right: -5%;
}

#intro .poza #mecha {
  bottom: 18.19%;
  right: -27.5%;
}

#intro .poza #micro {
  bottom: -10%;
  right: 0%;
}

#intro .poza #IT {
  bottom: -10%;
  right: 40%;
}

@keyframes apareLitera {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    /* visibility: visible; */
  }
}

@keyframes stergelitera {
  from {
    visibility: visible;
  }
  to {
    visibility: hidden;
  }
}

@keyframes transparenta {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes transparenta2 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes alabala {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Form */
#map-form {
  display: flex;
  height: calc(100vh - 4.5rem);
  align-items: center;
  justify-content: space-around;
}

#map-form .map-image img {
  width: 90%;
}

#map-form .form {
  background-color: #bfbfbf;
  padding: 3rem;
  border-radius: 1.5rem;
  position: relative;
}

#map-form .form h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.8rem;
  font-style: oblique;
}

#map-form .form #form-input .alabala{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#map-form .form #form-input .alabala > *{
  margin: 0.5rem;
  font-size: 1.5rem;
}

#map-form .form #form-input #firstname, #map-form .form #form-input #lastname, #map-form .form #form-input #email {
  width: 20rem;
  height: 3rem;
  border-radius: 0.35rem;
  border: 1px solid #bfbfbf;
  text-align: center;
}

#map-form .form #form-input .form-input-ala {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

#map-form .form #form-input .form-input-ala #submit {
  font-size: 1.4rem;
  padding: 1rem;
  border-radius: 1.5rem;
  border: none;
  background-color: var(--background-color);
  transition: all 0.5s ease;
}

#map-form .form #form-input #submit:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  cursor: pointer;
}

#map-form .form #form-input::before {
  content: '';
  width: 90%;
  height: 2px;
  background-color: var(--secondary-color);
  position: absolute;
  top: 18%;
  right: 5%;
  left: 5%;
}


/* Team */
body{
  background-color: var(--secondary-color);
}
#team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 4rem;
  justify-items: center;
  align-items: center;
}

#team .person {
  padding: 1rem;
  background-color: var(--primary-color);
  border-radius: 2rem;
  /* box-shadow: 2px 2px 16px var(--primary-color3); */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 15rem;
  height: 100%;
  /* background-image: linear-gradient(to bottom right, #ffffff, #ededed); */
}

#team div:nth-child(9), div:nth-child(12)
{
  visibility: hidden;
}
#team .person .info h2, #team .person .info p, #team .person .skills p {
  margin-top: 1rem;
  text-align: center;
  color: var(--secondary-color);
}

#team .person .skills p {
  font-style: italic;
}


#team .person .img img {
  width: 70%;
  border-radius: 100%;
  display: flex;
  margin: 0.5rem auto;
  box-shadow: 2px 2px 16px var(--primary-color3);
}

#header-plans {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

#header-plans .text {
  text-align: center;
  margin: 1rem;
}

#header-plans .text h1 {
  padding: 0.5rem;
  font-size: 2.5rem;
}

#header-plans .text p {
  max-width: 1200px;
  padding: 0.5rem;
  font-size: 1.25rem;
}

/* Projects Page */
#projects-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

#projects-header .head-proj-title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 24px;
}

#projects-header .head-proj-text {
  width: 75vw;
}

#projects-header .head-proj-text * {
  font-size: 22px;
  margin: 1rem 0;
  text-align: center;
}

#projects-projects .projects-proiect {
  margin: 0 4vw;
  height: 720px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#projects-projects .projects-proiect .proiect-text {
  width: 640px;
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#projects-projects .projects-proiect .proiect-text * {
  margin: 2.5rem 0;
}

#projects-projects .projects-proiect .proiect-text h2 {
  font-size: 56px;
  color: #016DF0;
}

#projects-projects .projects-proiect .proiect-text p {
  font-size: 24px;
  text-align: center;
}

#projects-projects .projects-proiect .proiect-text ul {
  list-style-type: circle;
  margin: 0;
}

#projects-projects .projects-proiect .proiect-text ul li {
  margin: 0.25rem 0;
  padding: 0;
  font-size: 1.25rem;
  font-weight: bolder;
}

#projects-projects .projects-proiect .proiect-img img{
  width: 20vw;
}

#projects-projects .projects-proiect .proiect-text button { 
  width: 216px;
  height: 96px;
  font-size: 24px;
  background: transparent;
  color: #016DF0;
  border-radius: 8px;
  border: none;
  display: inline-block;
  position: relative;
  cursor: pointer;
  border: 2px solid #016DF0;
  text-align: center;
  transition: ease-out 0.5s;
  box-shadow: inset 0 0 0 0 #016DF0;
}

#projects-projects .projects-proiect .proiect-text button:hover {
  color: #fff;
  box-shadow: inset 0 -100px 0 0 #016DF0;
}

#projects-projects .projects-proiect .proiect-text button:active {
  transform: scale(0.9);
}

#projects-cards {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#projects-cards .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 369px;
  background-color: var(--background-color);
  margin: 2rem auto;
  padding: 2rem 2rem;
  border-radius: 1rem;
  /* border: solid black 2px; */
  box-shadow: -10px 10px 16px #c4c4c4;
}

#projects-cards .card * {
  margin-bottom: 0.75rem;
}

#projects-cards .card img {
  width: 60%;
}

#projects-cards .card h2 {
  font-size: 2rem;
}

#projects-cards .card p {
  font-size: 1.25rem;
  text-align: center;
}

/* Footer */
#projects-futal {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem;
}

#projects-futal .text {
  text-align: center;
}

#projects-futal .social a {
  text-decoration: none;
  color: #000;
  margin: 0 0.5rem;
}

#projects-futal .social a i::before {
  font-size: 28px;
}

/* Plans Page */
#plans-roadmap .main-axis-line {
  background-color: rgb(0, 0, 0);
  width: 5px;
  height: calc(3*200px + 4rem);
  margin: 2rem auto;
  position: relative;
}

#plans-roadmap .main-axis-line::after {
  content: '';
  position: absolute;
  transform: rotate(45deg);
  display: inline-block;
  border: solid #000;
  border-width: 0 4px 4px 0;
  bottom: 0;
  padding: 0.5rem;
  right: -0.5rem;
  /* margin-bottom: 2rem; */
}


#plans-roadmap .main-axis-parts ul {
  list-style: none;
}

#plans-roadmap .main-axis-parts ul li {
  position: absolute;
  padding: 1rem;
  margin: 1rem;
  height: 200px;
  width: 500px;
  background-color: var(--background-color);
  text-align: center;
  transition: 0.3s ease;
  font-size: 1.25rem;
  border-radius: 1rem;
}

#plans-roadmap .main-axis-parts ul li:nth-child(1) {
  top: 0;
  right: 1.5rem;
}

#plans-roadmap .main-axis-parts ul li:nth-child(2) {
  top: 200px;
  left: 1.5rem;
}

#plans-roadmap .main-axis-parts ul li:nth-child(3) {
  top: 400px;
  right: 1.5rem;
}

#plans-roadmap .main-axis-parts ul li h2 {
  margin-bottom: 1rem;
}

#plans-roadmap .main-axis-parts ul li:nth-child(even)::before {
  content: '';
  position: absolute;
  transform: rotate(-45deg);
  display: inline-block;
  padding: 3px;
  border: solid #000;
  border-width: 4px 0 0 4px;
  top: 50%;
  left: -0.3rem;
  opacity: 0;
  transition: opacity 0.25s ease 0.1s;
}

#plans-roadmap .main-axis-parts ul li:nth-child(odd)::before {
  content: '';
  position: absolute;
  transform: rotate(-45deg);
  display: inline-block;
  padding: 3px;
  border: solid #000;
  border-width: 0 4px 4px 0;
  top: 50%;
  right: -0.3rem;
  opacity: 0;
  transition: opacity 0.25s ease 0.1s;
}

#plans-roadmap .main-axis-parts ul li:hover {
  transform: scale(1.1);
}

#plans-roadmap .main-axis-parts ul li:hover:nth-child(odd)::before, #plans-roadmap .main-axis-parts ul li:hover:nth-child(even)::before {
  opacity: 1;
}

#team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 4rem;
}

#team .card {
  position: relative;
  width: 220px;
  height: 294px;
  background: #f0f0f0;
  border-radius: 10px;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: 2px 2px 20px rgb(0, 0, 0);
}

#team .card:hover {
  box-shadow: 6px 6px 20px rgb(0, 0, 0);
  background-color: #4bb8ff;
}

#team .card .blob {
  height: 10px;
  width: 75%;
  border-radius: 0 0 30px 30px;
  margin: 0 auto;
  /* display: inline-block; */
  background-color: #4bb8ff;
  visibility: visible;
  transition: all 250ms ease;
}

#team .card:hover .blob {
  height: 1px;
}

#team .card .img{
  display: flex;
  margin: 50px auto 10px auto;
  width: 100px;
  height: 100px;
  /* background-color: #4bb8ff; */
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

#team .card .img img{
  display: flex;
  margin: 10px auto 10px auto;
  width: 125px;
  height: 125px;
  background-color: #4bb8ff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
 }
 
 #team .card:hover .img {
  width: 100%;
  height: 70%;
  border-radius: 10px;
  margin: 0 auto;
  background-color: #f0f0f0;
 }

 #team .card:hover .img img {
  opacity: 0;
 }
 
 #team .card h2 {
  margin-top: 2rem;
  font-size: 24px;
 }
 
 #team .card span {
  font-size: 24px;
 }
 
 #team .card:hover h2 {
  display: none;
  opacity: 0;
  transition: all 0.2s ease;
  height: 0;
}

#team .card ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  height: 0;
}

#team .card ul li a{
  margin: 0 0.5rem;
  margin-top: 5rem;
  opacity: 0;
  color:#fff;
  transition: all 0.5 ease;
  text-decoration: none;
  font-size: 1.2rem;
}

#team .card:hover ul {
  align-items: flex-end;
  height: 50px;
}

#team .card:hover ul li a {
  opacity: 1;
}


#team .card .text-job h2 {
  position: absolute;
  top: 25%;
  left: 15%;
  right: 15%;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  font-size: 24px;
}

#team .card .text-job p {
  position: absolute;
  top: 55%;
  left: 15%;
  right: 15%;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  font-size: 14px;
  font-style: italic;
}

#team .card:hover .text-job h2, #team .card:hover .text-job p{
  opacity: 1;
}

#team .card:nth-child(9), #team .card:nth-child(12) {
  opacity: 0;
  visibility: hidden;
}