html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  margin: 0;
  padding: 0;
  background-image: url(images/bcgg.jpg);
  background-attachment: fixed;
  background-size: cover;
}
::-webkit-scrollbar {
  width: 1px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
details {
  display: none;
}

.logo img {
  height: 120px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 50px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.5s ease;
}
nav ul li a:hover {
  color: rgb(48, 193, 250);
}

section {
  width: 100%;
  height: 100vh;
}
#principală {
  overflow: hidden;
}

#principală .container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
#principală .banner {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}
#principală .banner img {
  width: 100%;
  height: 100vh;
  background: #333;
  object-fit: cover;
}

#principală .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(53, 53, 53, 0.452);
}
#principală .container-titlu h2 {
  font-size: 85px;
  color: rgb(48, 193, 250);
}
#principală .container-titlu p {
  font-size: 60px;
  font-weight: 200;
  color: white;
}
#principală .container-titlu {
  padding-top: 30%;
  opacity: 0;
  animation: slide-up 2.5s ease forwards; /* Modific durata la 2 secunde */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#principală .container-titlu h2,
#principală .container-titlu p {
  margin: 0;
}

@keyframes slide-up {
  from {
    transform: translateY(45%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#section1a {
  height: 80px;
  background-color: rgba(48, 142, 250, 0.733);
  border: 1px solid rgba(255, 0, 0, 0);
}
#section1a h2 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  margin-left: 20%;
  color: white;
}
#serviciile-noastre {
  position: relative;
  overflow: hidden;
  background-image: url(images/bgsec2black2.jpg);
  background-size: cover;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Modificare pentru a asigura poziționarea corectă */
}

#serviciile-noastre .container-titlu1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* z-index: 1; */
  color: white;
  text-align: center;
  z-index: 0;
}
#serviciile-noastre .container-titlu1 h2 {
  font-size: 40px;
  margin: 0;
}
#serviciile-noastre .box {
  width: 300px;
  height: 600px;
  text-align: center;
  padding: 20px;
  border: 1px solid white;
  border-radius: 5px;
  margin: 10px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(31, 30, 30, 0.3);
  color: white;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#serviciile-noastre .box:nth-child(1) {
  animation-delay: 0.5s;
}

#serviciile-noastre .box:nth-child(2) {
  animation-delay: 0.7s;
}

#serviciile-noastre .box:nth-child(3) {
  animation-delay: 0.9s;
}

#serviciile-noastre .box:nth-child(4) {
  animation-delay: 0.11s;
}

#serviciile-noastre li {
  text-align: left;
  font-weight: 400;
}
#serviciile-noastre li span {
  font-weight: 700;
  color: rgb(68, 165, 255);
}

/* sectiunea 3 */
#section3a {
  height: 80px;
  background-color: rgba(48, 142, 250, 0.733);
  border: 1px solid rgba(255, 0, 0, 0);
}
#section3a .container-titlu2 {
  text-align: center;
}
#section3a .container-titlu2 h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  margin: 15px 0;
}
#realizările-noastre {
  position: relative;
  display: flex;
  background-color: rgba(255, 255, 255, 0.733);
  color: white;
  height: 100vh;
  overflow: hidden;
}

#realizările-noastre .titlu {
  flex: 1;
  padding: 20px;
  z-index: 1;
}
#realizările-noastre .titlu h2 {
  font-size: 40px;
}

#realizările-noastre .lista {
  font-size: 30px;
}

#realizările-noastre .carousel {
  width: 50%;
  overflow-y: scroll;
}

#realizările-noastre .image-container {
  width: 97%;
  height: 50vh; /* Înălțimea fixă */
  margin-bottom: 30px;
  margin-top: 30px;
}

#realizările-noastre .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* videobacground */

#realizările-noastre .video-background2 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 48.4%;
  height: 100%;
  overflow: hidden;
}

#realizările-noastre .video-foreground2 {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#realizările-noastre .video-foreground2 iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#realizările-noastre .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 48.4%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.377);
}

#section4a {
  height: 80px;
  background-color: rgba(48, 142, 250, 0.733);
  border: 1px solid rgba(255, 0, 0, 0);
}

/* sectiunea 4 */
#section4 {
  position: relative;
  display: flex;
  background-color: rgba(255, 255, 255, 0.774);
  color: white;
  height: 100vh;
  overflow: hidden;
}

#section4 .titlu {
  flex: 1;
  padding: 20px;
  z-index: 2;
}
#section4 .titlu h2 {
  font-size: 40px;
}
#section4 .lista {
  font-size: 30px;
}

#section4 .carousel {
  width: 50%;
  overflow-y: scroll;
}

#section4 .image-container {
  width: 97%;
  height: 50vh;
  margin-bottom: 30px;
  margin-top: 30px;
}

#section4 .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* videobacground */

#section4 .video-background2 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 48.4%;
  height: 100%;
  overflow: hidden;
}

#section4 .video-foreground2 {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#section4 .video-foreground2 iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#section4 .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 48.4%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.377);
}
/* SECTIUNEA 5 */
#section5a {
  height: 80px;
  background-color: rgba(48, 142, 250, 0.733);
  border: 1px solid rgba(255, 0, 0, 0);
}

/* sectiunea 4 */
#section5 {
  position: relative;
  display: flex;
  background-color: rgba(255, 255, 255, 0.774);
  color: white;
  height: 100vh;
  overflow: hidden;
}

#section5 .titlu {
  flex: 1;
  padding: 20px;
  z-index: 2;
}
#section5 .titlu h2 {
  font-size: 40px;
}
#section5 .lista {
  font-size: 30px;
}

#section5 .carousel {
  width: 50%;
  overflow-y: scroll;
}

#section5 .image-container {
  width: 97%;
  height: 50vh;
  margin-bottom: 30px;
  margin-top: 30px;
}

#section5 .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* videobacground */

#section5 .video-background2 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 48.4%;
  height: 100%;
  overflow: hidden;
}

#section5 .video-foreground2 {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#section5 .video-foreground2 iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#section5 .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 48.4%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.377);
}

/* SECTIUNEA 6------------- */

#section6a {
  height: 80px;
  background-color: rgba(48, 142, 250, 0.733);
  border: 1px solid rgba(255, 0, 0, 0);
}

/* sectiunea 4 */
#section6 {
  position: relative;
  display: flex;
  background-color: rgba(255, 255, 255, 0.774);
  color: white;
  height: 100vh;
  overflow: hidden;
}

#section6 .titlu {
  flex: 1;
  padding: 20px;
  z-index: 2;
}
#section6 .titlu h2 {
  font-size: 40px;
}
#section6 .lista {
  font-size: 30px;
}

#section6 .carousel {
  width: 50%;
  overflow-y: scroll;
}

#section6 .image-container {
  width: 97%;
  height: 50vh;
  margin-bottom: 30px;
  margin-top: 30px;
}

#section6 .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* videobacground */

#section6 .video-background2 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 48.4%;
  height: 100%;
  overflow: hidden;
}

#section6 .video-foreground2 {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#section6 .video-foreground2 iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#section6 .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 48.4%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.377);
}

/* SECTIUNEA 7------------- */

#section7a {
  height: 80px;
  background-color: rgba(48, 142, 250, 0.733);
  border: 1px solid rgba(255, 0, 0, 0);
}

/* sectiunea 7 */
#section7 {
  position: relative;
  display: flex;
  background-color: rgba(255, 255, 255, 0.774);
  color: white;
  height: 100vh;
  overflow: hidden;
}

#section7 .titlu {
  flex: 1;
  padding: 20px;
  z-index: 2;
}
#section7 .titlu h2 {
  font-size: 40px;
}
#section7 .lista {
  font-size: 30px;
}

#section7 .carousel {
  width: 50%;
  overflow-y: scroll;
}

#section7 .image-container {
  width: 97%;
  height: 50vh;
  margin-bottom: 30px;
  margin-top: 30px;
}

#section7 .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* videobacground */

#section7 .video-background2 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 48.4%;
  height: 100%;
  overflow: hidden;
}

#section7 .video-foreground2 {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#section7 .video-foreground2 iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#section7 .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 48.4%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.377);
}

#contacte {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  justify-content: right;

  height: 800px;
  background-color: #fff;

  position: relative;
  background-image: url(images/contact-usbcg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#contacte .contact-title {
  color: rgba(48, 142, 250, 0.733);
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 20px;
}
#contacte .contact-title h2 {
  font-size: 50px;
  margin: 0;
}
#contacte .info-item {
  font-size: 30px;
}
#contacte .info-item span {
  font-size: 27px;
}

footer {
  background-color: #011135;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

footer .logo img {
  width: 200px;
  height: auto;
  margin: 0;
}

/* .text {
  text-align: center;
} */

footer p {
  margin: 0;
  margin-bottom: 18px;
  line-height: 20px;
}
