html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

.slideshow {
 
  position: relative; /* deja ai */
  width: 100%;
  height: 1300px;
  overflow: hidden;
}

/* imagine container */
.container {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.container.active {
  opacity: 1;
}

/* logo fixat peste slideshow */
.logo {
  position: absolute; /* schimbat din relative */
  top: 20px; /* ajustează cât vrei sus */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* peste toate imaginile */
  width: 1000px;
  max-width: 90%;
}



.description {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgb(0, 0, 0);
  padding: 100px 20px 40px; /* A crescut padding-ul de sus */
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  margin-top: 30px; /* Aduce întreaga secțiune mai jos */
}

.description h1 {
  font-size: 2.2em;
  font-weight: bold;
  color: rgb(0, 0, 0);
  margin-bottom: 50px;
  text-align: center; /* sau left, după preferință */
}

.description p {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  color: #000000;
}

.description-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -20px; /* spațiu între text și imagine */
  flex-wrap: wrap; /* să se adapteze pe mobil */
}

.description-image-wrapper .description {
  flex: 1 1 400px; /* textul să ocupe cel puțin 400px și să fie flexibil */
}








.side-menu.open li:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(2) {
  transition-delay: 0.15s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(3) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(4) {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(5) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(6) {
  transition-delay: 0.35s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(7) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(8) {
  transition-delay: 0.45s;
  opacity: 1;
  transform: translateX(0);
}

.side-menu.open li:nth-child(9) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateX(0);
}


.side-menu.open li:nth-child(10) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateX(0);
}








.mission-image,
.other-image {
  height: 300px;
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  border-radius: 8px; /* opțional, pentru aspect frumos */
}



.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
    border: 2px solid #0b77ec; /* Albastru */
  color: #0b77ec;
    background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button:hover {
   background-color: #007BFF;
  color: white;
}




.row-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 10%;
}

.text-column {
  flex: 1 1 50%;
  min-width: 300px;
}

.image-column {
  flex: 1 1 40%;
  text-align: right;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}





.site-header {
  position: relative;
  width: 100%;
  background-color: white;
  text-align: center;
  padding: 20px 0;
  z-index: 10;
}

.logo {
  height: auto;
  width: auto;
  margin-top:-300px;
  max-height: 700px; /* logo vizibil, dar rezonabil */
  max-width: 100%;
  display: inline-block;
}

.slideshow {
  position: relative;
  margin-top: 180px; /* păstrat ca să nu se suprapună cu headerul */
  overflow: hidden;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.container.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px; /* mai mici decât 48px */
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;

  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  z-index: 10;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.site-footer {
  background-color: #1f1f1f; /* gri foarte închis */
  padding: 40px 20px; /* mai mult padding pentru înălțime */
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.footer-text {
  text-align: center;
  font-size: 14px;
  color: #ccc;
  z-index: 1;
}

.footer-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #444;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.footer-button:hover {
  background-color: #666;
}

.footer-button.left {
  left: 400px;
}

.footer-button.right {
  right: 400px;
}



/* LOGO */

/* Pentru parteneri */
.image-column.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.image-column.partners img {
  height: 60px;
  object-fit: contain;
}



.partners-section {
  padding: 60px 10%;
  text-align: center;
}

.partners-logos {

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.partners-logos img {
  height: 60px;
  max-width: 500px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partners-logos img:hover {
  transform: scale(1.05);
}



.description-section {
  padding: 40px 60px;
}
/* ===================== Responsive Design (Mobile) ===================== */
@media (max-width: 768px) {
  .slideshow {
    height: 300px;
  }

.logo {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
 
  width: 240px;
  max-width: 90%;
  height: auto;
  pointer-events: none; /* permite click pe ce e sub logo */
}

.description {
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

  .description h1 {
    text-align: left;
  }

  .description p {
    text-align: left;
  }

.description-section {
    padding: 30px 20px;
  }

  .text-column {
    padding: 0 10px;
    text-align: justify;
  }

  .text-column h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
  }
.text-column ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.text-column li {
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  color: #000;
  margin-bottom: 12px;
}

  .text-column p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    word-break: break-word;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-button {
    width: 80%;
    font-size: 15px;
  }

  .section-image {
    width: 100%;
    height: auto;
  }

  .partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .partners-logos img {
    width: 120px;
    height: auto;
  }

  footer.site-footer {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
  }

  .footer-button {
    width: 100%;
    text-align: center;
    font-size: 16px;
  }

  .footer-text {
    text-align: center;
    font-size: 14px;
  }
  .side-menu a {
    font-size: 28px;
    padding: 8px 0;
  }

  .side-menu li {
    margin: 20px 0; /* mai mic ca să încapă toate */
  }

  .close-button {
    font-size: 30px;
    top: 20px;
    right: 25px;
  }
}


.logos-slider {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  box-sizing: border-box;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 5s linear infinite;
  gap: 40px;
}

.logos-track img {
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.logos-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
