@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  line-height: 1.5;
}

body {

  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: #111;
  line-height: 1.4;
  background-color: #f2f2f2;
  justify-content: center;

}

.banner {
  position: relative;
  overflow: hidden;
  height: 930px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-slider .slide.active img {
  display: block;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 70px;
  color: #fff;
  z-index: 2;
  font-family: Exo 2;
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-subtitle {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 35px;
  color: #fff;
  z-index: 2;
  font-family: Roboto;

}

@keyframes slideFade {

  0%,
  100% {
    opacity: 1;
  }

  33.3%,
  66.6% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .banner {
    top: 5%;
    height: 350px;
  }

  .banner-title {
    font-size: 38px;
  }

  .banner-subtitle {
    font-size: 18px;
    top: 65%;
  }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: #fff;
  transition: all 0.3s ease-in-out;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ===== NAVBAR ===== */
.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #001a66;
  font-size: 18px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  color: #ffd000;
  background-color: rgba(255, 208, 0, 0.1);
  border-radius: 4px;
}

/* ===== SUBMENU ===== */
.navbar ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.navbar ul li:hover>ul {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.navbar ul li ul li a {
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #001a66;
}

.navbar ul li ul li a:hover {
  background-color: rgba(255, 208, 0, 0.15);
}

.header-left img {
  height: 85px;
  transform: scale(1.3);
  transform-origin: left;
  margin-top: -5px;
}

#menu-bar {
  display: none;
}

header label {
  font-size: 30px;
  color: #ffaa00;
  cursor: pointer;
  display: none;
}

@media (max-width: 960px) {
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
  }

  .header-right label {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(255, 255, 255);
    width: 100%;
    display: none;
    padding: 20px 0;
  }

  .navbar ul {
    flex-direction: column;
    gap: 0;
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
  }

  .navbar ul li a {
    display: block;
    width: 100%;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar ul li ul {
    position: static;
    background: rgb(255, 255, 255);
    box-shadow: none;
    border-radius: 0;
  }

  .navbar ul li ul li a {
    padding: 12px 30px;
    font-size: 16px;
  }

  #menu-bar:checked+nav.navbar {
    display: block;
  }

  .header-right {
    display: flex;
    flex-direction: column;
    align-items: end;
  }

  .header-right .social-icons {
    display: none;
    order: 2;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }

  #menu-bar:checked~.header-right .social-icons {
    display: flex;
    gap: 15px;

  }

  .header-right .social-icons a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-size: 16px;
  }
}



.tooltip {
  position: absolute;
  background: white;
  border: 1px solid #333;
  padding: 10px;
  display: none;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 300px;
}

.tooltip img {
  max-width: 100%;
  height: auto;
  margin-top: 5px;
}

.news {
  padding: 4rem 1rem;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #001f5c;
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #3b82f6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.news-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.news-image-container {
  height: 180px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.news-category {
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
}

.news-date {
  color: #64748b;
}

.news-title {
  font-size: 1.125rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.news-excerpt {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.read-more {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.read-more i {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #001a66;
}

.read-more:hover i {
  transform: translateX(3px);
}

.news-source {
  color: #94a3b8;
  font-size: 0.75rem;
  font-style: italic;
}

.view-all-container {
  text-align: center;
  margin-top: 2rem;
}

.view-all {
  display: inline-flex;
  align-items: center;
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.view-all i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.view-all:hover {
  color: #001a66;
}

.view-all:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .news-image-container {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .news {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

.one {
  padding: 20px 0;
  background-color: #f4f4f4;
}

.one h1,
p {
  margin-left: 10px;
}

.one-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin: 3%;
}

.one-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 0;
}

.one-item:hover {
  transform: scale(1.05);
}

.one-item h2 {
  font-size: 1.5rem;
  color: rgb(0, 6, 168);
  margin-left: 2px;
}

.one-item img {
  width: auto;
  height: 400px;
  object-fit: cover;
  border-bottom: 1px solid #ccc;
  display: block;
  margin-bottom: 10px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin: 0;
}

.second1 h1,
p {
  margin-left: 10px;
}

.one-item a {
  padding: 15px;
  text-decoration: none;
}

.line-eu {
  height: 2px;
  background-color: yellow;
  width: 100%;
}

@media (max-width: 1024px) {
  .one-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .one-item img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .one-container {
    grid-template-columns: 1fr;
  }

  .one-item img {
    height: 250px;
  }

  .one-item h2 {
    font-size: 1.2rem;
  }

  .one h1 {
    font-size: 1.5rem;
    text-align: center;
  }
}

.three {
  text-align: center;
  margin: 0;
}

.three h1 {
  font-size: 36px;
  font-weight: bold;
  color: rgb(0, 6, 168);
  margin-bottom: 40px;
  margin-left: 10px;
}

.three .card {
  display: inline-block;
  width: 300px;
  margin: 0 20px;
  vertical-align: top;
}

.card h3 {
  font-size: 18px;
  color: black;
  margin-bottom: 15px;
  min-height: 50px;
}

.review-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.details-text a {
  text-decoration: none;
  color: black;
}

.details-text a:hover {
  text-decoration: underline;
}

footer {
  background-color: #001f5c;
  color: white;
  padding: 40px 30px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.footer-left {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-left h2 {
  color: #ffd000;
  font-size: 35px;
  margin-bottom: 15px;
}

.footer-left p {
  font-size: 18px;
  margin: 8px 0;
}

.footer-left h4 {
  text-align: center;
  font-style: italic;

}

.second1 {
  padding: 4rem 1rem;
  margin-top: 2%;
}

.second1 p {
  font-size: 22px;
  margin-left: 5%;
  margin-right: 5%;
}
.map-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    border: 3px solid #ccc;
    border-radius: 12px;
    background: #fff;
}

#gagauziaMap {
    width: 100%;
    height: 600px;
    border-radius: 10px;
}

.leaflet-popup-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 8px;
}

/*pagina 2*/

.banner2 {
  background: url('images/premium_photo-1712011181415-570ef105f57a.avif') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 450px;
   
}

.banner2-title {
  margin-top: 10%;
  background-color: rgba(0, 0, 0, 0.2); 
  border-radius: 15px; 
  padding: 20px 40px;   
  text-align: center;
}

.banner2-title h1 {
  color: #ffffff;      
  font-size: 40px;
  margin: 0;
}

.subtitlu p {
  font-size: 20px;
  color: #ffffff;       
  margin: 10px 0 0 0;
}

.program {
  margin: auto;
  padding: 40px;
}

.program h1 {
  text-align: center;
  color: #003399;
  margin-bottom: 10px;
  font-size: 30px;
}

.subtitlu {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.tara-section {
  margin-bottom: 50px;
}

.tara-section h3 {
  color: #003366;
  border-left: 5px solid #0077cc;
  padding-left: 10px;
  margin-bottom: 20px;
}

.proiecte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card2 {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.2s;
}

.card2:hover {
  transform: translateY(-5px);
}

.card2 h3 {
  font-size: 20px;
  margin-top: 0;
  color: #0055aa;
}

.card2 p {
  font-size: 16px;
  color: #555;
}

/*pagina4*/
.lista-oferte {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.card-voluntariat {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 280px;
  text-align: center;
}

.card-voluntariat h3 {
  color: #0056b3;
}

.descriere-proiect {
  font-size: 15px;
  color: #555;
}

.data-voluntariat {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.buton-aplica {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
}

.buton-aplica:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.oferte {
  width: 100%;
}

.lista-oferte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: auto;
}

.card-voluntariat {
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-voluntariat:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.data-voluntariat {
  font-weight: bold;
  color: #0d47a1;
  margin-bottom: 8px;
}

.card-voluntariat h3 {
  font-size: 1.3rem;
  color: #0d47a1;
  margin-bottom: 10px;
}

.card-voluntariat .descriere-proiect {
  margin-bottom: 15px;
  color: #333;
}

.buton-aplica {
  background-color: #0d47a1;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.buton-aplica:hover {
  background-color: #1976d2;
}

.lista-testimoniale {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card-testimonial {
  background-color: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.card-testimonial:hover {
  transform: translateY(-5px);
}

.poza-voluntar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #007bff;
}

/*pagina4*/

.pagina-traininguri {
  padding: 30px 5%;
  background: linear-gradient(to right, #f4f7fe, #eef3fc);
  font-family: 'Segoe UI', sans-serif;
  color: #2b2b2b;
}

.descriere-training {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.lista-traininguri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card-training {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-training:hover {
  transform: translateY(-5px);
}

.data-training {
  color: #004e98;
  font-weight: bold;
  margin-bottom: 10px;
}

.buton-inscriere {
  border-radius: 5px;
  background-color: #001a66;
  color: white;
  padding: 4px 14px;

}

.buton-inscriere:hover {
  background-color: #003399;
  transform: scale(1.05);
}

/*paginA5*/

.istorie-eu {
  background-color: #f4faff;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.istorie-eu h2 {
  text-align: center;
  color: #002d5e;
  margin-bottom: 50px;
  font-size: 2em;
}

.perioada {
  background-color: white;
  border-left: 6px solid #0057b7;
  padding: 25px 30px;
  margin-bottom: 35px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.perioada:hover {
  transform: translateY(-5px);
}

.perioada h3 {
  color: #003366;
  margin-top: 0;
  font-size: 1.4em;
}

.perioada p {
  font-size: 1.05em;
  color: #444;
  line-height: 1.7;
}

strong {
  color: #003366;
}

.btn-invata {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background-color: #0057b7;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-invata:hover {
  background-color: #003d82;
}

.quiz {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.quiz h2 {
  color: #002d5e;
  margin-bottom: 20px;
}

.quiz-question {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.btn-submit {
  background-color: #007bff;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 7px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
}

/*pagina6* supoarte*/

.suport-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

.suport-card {
  display: flex;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  flex-wrap: wrap;
}

.suport-content {
  flex: 1 1 70%;
  font-size: 15px;
}

.suport-content h2 {
  color: #003366;
  margin-bottom: 10px;
  border-bottom: 2px solid #003399;
  padding-bottom: 5px;
}

.suport-content ul {
  margin-left: 20px;
  line-height: 1.8;
  color: #222;
}

.suport-exemplu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 25%;
}

.btn-exemplu {
  display: inline-block;
  background-color: #0033cc;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.btn-exemplu:hover {
  background-color: #001a66;
}