:root {
  --color-text: #000000fd;
  --color-heading: #000000;
  --font-family-main: 'Arial', sans-serif;
  --font-size-base: 16px;
  --font-size-title: 32px;
  --font-size-subtitle: 20px;
}

body {
  font-family: var(--font-family-main);
  color: var(--color-text);
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  margin-top: 180px;
  overflow: hidden;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 7000px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  object-fit: contain;
}

.container.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 700px;
  display: inline-block;
  margin-top: -300px;
}

.description {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-text);
  padding: 100px 20px 40px;
  max-width: 900px;
  margin: 30px auto 0;
}

.description h1 {
  font-size: var(--font-size-title);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 50px;
  text-align: center;
}

.description p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  text-align: justify;
  color: var(--color-text);
}

.description-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -20px;
  flex-wrap: wrap;
}

.description-image-wrapper .description {
  flex: 1 1 400px;
}


.mission-image,
.other-image {
  height: 300px;
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  border-radius: 8px;
}

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-left: 800px;
  margin-bottom: 50px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  border: 2px solid #11375a;
  color: #11375a;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #11375a;
  color: white;
}

.row-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 10%;
  gap: 60px;
}

.text-column {
  
  flex: 1 1 50%;
  min-width: 300px;
}


.text-column h1{
  font-size: 24px;
  color: rgb(0, 0, 0);
 
}



.text-column p{
  font-size: 16px;
  color: rgb(0, 0, 0);
 
}


.text-column ul {
  font-size: 16px;
  padding-left: 20px;
  margin: 20px 0;
}

.text-column ul li {
  margin-bottom: 10px;

  line-height: 1.6;
  font-size:16px;
  color:#000;
}

.image-column {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
}

.site-header {
  position: relative;
  width: 100%;
  background-color: white;
  text-align: center;
  padding: 20px 0;
  z-index: 10;
}



.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 100%;
  user-select: none;
  z-index: 10;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.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.row-section {
  
  
  
  background-color: #fff;

  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   transition: transform 0.2s ease, box-shadow 0.3s ease;
  padding: 30px;
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.description-section.row-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}



.page-container {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  
}

.logos-group img {
  margin-right: 60px;
}


.slideshow-dots {
  text-align: center;
  margin-top: 40px;
}

.slideshow-dots .dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slideshow-dots .dot.active {
  background-color: #11375a; /* Culoare activă - mov din tema ta */
}

.slideshow .container {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slideshow .container.active {
  display: block;
}

.tall-fix {
  max-width: 1900px;       /* mai îngustă */
  max-height: 920px;    /* mai joasă */
  object-fit: contain;  /* păstrează proporțiile fără să taie */
  display: block;
  
}


.logos-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1900px;
  height: 150px;     /* 👈 Înălțime fixă a zonei */
  padding: 0;
  box-sizing: border-box;
}

.logos-track {
  display: flex;
  width: fit-content;
  animation: scroll-logos 20s linear infinite;
}

.logos-group {
  display: flex;
  gap: 40px;
}

.logos-group img {
  width: 320px;
  height: 100%;       /* 👈 Ocupă 100% din container */
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform 0.3s ease;
  padding: 0 10px;    /* opțional: spațiu lateral */
  box-sizing: border-box;
}


.logos-group img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




/* ===================== Responsive Design (Mobile) ===================== */
@media (max-width: 2000px) {
  .slideshow {
    height: 300px;
  }
  
  
  
  .slideshow .container {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.slideshow .container.active {
  opacity: 1;
  position: relative;
}
  
  
  
  .logo {
  width: 100%;
  margin-top: -170px; 
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

  .tall-fix {
  margin-left: 18px;
  max-width: 300px;       
  max-height: 900px;    
  object-fit: contain;  
  display: block;
  
}
.description-section.row-section{
  padding:5px;
}

.page-container{
  padding:30px;
}
  

.description-section row-section{
    padding:15px;
}
.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;
    margin-left: 0;      /* elimină margin-left */
    margin-right: 0;
  }

  .cta-button {
    width: 80%;
    max-width: 280px;
    text-align: center;
  }


  .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;
  }
    .site-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 15px;
    text-align: center;
  }

  .footer-button {
    position: static;
    width: 80%;
    max-width: 250px;
    text-align: center;
    font-size: 16px;
    padding: 12px 0;
    background-color: #444;
    color: white;
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .footer-button:hover {
    background-color: #666;
  }

  .footer-button.left,
  .footer-button.right {
    left: auto;
    right: auto;
    transform: none;
  }

  .footer-text {
    order: 3;
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
  }
  
}


@media (max-width: 2000px) and (orientation: landscape) {
.logo {

 max-width: 500px;       /* ← mărit puțin față de 200px */
    max-height: 300px;       /* ← mărit puțin pentru claritate */
    width: auto;
    height: auto;

  transform: translateX(-50%);
  margin-top: -120px;
  display: block;
}
 .slideshow {
    margin-top: 10px;
    padding:40px 0px;
    height: auto;
    max-height: none;   /* lasă imaginea să crească */
  }

  .slideshow .container {
    height: auto;
    max-height: none;   /* fără limită artificială */
  }

  .tall-fix {
    max-height: 1000px; /* sau cât vrei să fie imaginea maximă */
  }

  .slideshow img {
  width: 100% !important;
  height: auto !important;
  max-height: 90vh;      /* imagine mare dar nu mai înaltă decât viewport-ul */
  object-fit: contain;   /* păstrează proporțiile */
  display: block;
  margin: 0 auto;
}

}

