
:root {
  --color-orange: #F99F16;
  --color-yellow: #CDD52A;
  --color-darkblue: #23327D;
  --color-blue: #082768;
  --color-black: #1A1818;
  --color-white: #FFFFFF;
  --font-open: 'Open Sans', sans-serif;
  --font-domine: 'Domine';

    /* Colors: */
    --unnamed-color-f99f16: #F99F16;
    --unnamed-color-cdd52a: #CDD52A;
    --unnamed-color-23327d: #23327D;
    --unnamed-color-babcbe: #BABCBE;
    --unnamed-color-082768: #082768;
    --unnamed-color-1a1818: #1A1818;
    --unnamed-color-23327d36: #23327D36;
    --unnamed-color-ffffff: #FFFFFF;

    /* Font/text values */
    --unnamed-font-family-open-sans: Open Sans;
    --unnamed-font-family-domine: Domine;
    --unnamed-font-style-normal: normal;
    --unnamed-font-weight-normal: normal;
    --unnamed-font-size-20: 20px;
    --unnamed-font-size-40: 40px;
    --unnamed-font-size-60: 60px;
    --unnamed-character-spacing-0: 0px;
    --unnamed-line-spacing-27: 27px;
    --unnamed-line-spacing-55: 55px;
    --unnamed-line-spacing-68: 68px;
    --unnamed-line-spacing-82: 82px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-open);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
}

h1, h3, h4 {
  font-family: var(--font-domine);
  font-weight: normal;
  color: var(--color-darkblue);
}

h2 {
  font-size: 60px;
  font-family: var(--font-open);
  font-weight: normal;
  color: var(--color-darkblue);
}

h5 {
  font: normal normal normal 20px/27px Open Sans;
  color: var(--color-darkblue);
}

h6 {
  letter-spacing: 0px;
  color: var(--color-darkblue);
  font: normal normal normal 40px/55px var(--font-domine);
  min-height: 110px;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  background-color: var(--color-yellow);
  color: #000;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  text-align: center;
  width: 250px;
}

.hero {
  background-color: #8CB1FF;
  padding: 0 144px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 190px;
  width: 100%;
}

.cine-suntem {
  background: #F2FCFF 0% 0% no-repeat padding-box;
  padding: 50px 144px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.proiecte-trecute {
  background: #8CB1FF 0% 0% no-repeat padding-box;
  padding: 50px 144px 100px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: space-between;
}

.testimoniale {
  background: #CDD52A 0% 0% no-repeat padding-box;
  padding: 50px 144px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.proiecte-prezente {
  background: #F2FCFF 0% 0% no-repeat padding-box;
  padding: 50px 144px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  gap: 50px;
}

.topbar-left {
  max-width: 50%;
}

.topbar-right {
  flex: 1;
  max-width: 50%;
  display: flex;
}
.hero-logo {
  max-height: 112px;
  flex: 0 0 auto;
}

.hero-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 50%;
  gap: 50px;
}

.hero-nav a {
  font-size: 16px;
  color: var(--color-blue);
}

.hero-nav a:hover {
  border-bottom: 1px solid var(--color-blue);
}

.btn:hover {
  background-color: var(--color-darkblue);
  color: var(--color-white);
}

.nav-cta {
  background-color: var(--color-yellow);
  padding: 10px 20px;
  border-radius: 8px;
  width: 250px;
  text-align: center;
}

.section-content {
  flex: 1;
  display: flex;
  gap: 50px;
}

.testimoniale-section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.proiecte-prezente-section-content {
  display: flex;
  gap: 50px;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 50%;
}

.cine-suntem-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 50%;
}

.cine-suntem-left p {
  font-size: 20px;
  line-height: 27px;
  margin-bottom: 30px;
}

.cine-suntem-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 50%;
}

.cine-suntem-right img {
  width: 100%;
  height: auto;
}

.hero-left h1 {
  font-size: 60px;
  line-height: 68px;
  margin-bottom: 30px;
}

.hero-left p {
  font-size: 20px;
  line-height: 27px;
  margin-bottom: 30px;
}

.hero-right {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.hero-right img {
  width: 100%;
  height: auto;
}

.proiecte-trecute-half {
  display: flex;
  flex: 1;
  max-width: 50%;
  gap: 50px;
  flex-direction: column;
}

.proiecte-trecute-half img {
  width: 100%;
  height: auto;
}

.proiecte-trecute-half p {
  line-height: 27px;
  font-size: 20px;
  letter-spacing: 0px;
}

.proiecte-prezente-block {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.proiecte-prezente-column {
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.proiecte-prezente-block img {
  width: 100%;
  height: auto;
}

.proiecte-prezente-block p {
  line-height: 27px;
  font-size: 20px;
  letter-spacing: 0px;
}

.proiecte-trecute .btn {
  align-self: center;
}

.testimoniale-half {
  display: flex;
  flex: 1;
  gap: 25px;
  justify-content: space-between;
}

.testimoniale-card {
  display: flex;
  max-width: 50%;
  gap: 50px;
  justify-content: space-between;
}

.testimoniale-card-text {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.testimoniale-card img {
  max-height: 50px;
}

.paragraph {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

section {
  padding: 100px 144px;
}

.section-wrapper {
  max-width: 1632px;
  margin: 0 auto;
}

.proiecte .project {
  margin-bottom: 2rem;
}

.donatii {
  background-color: var(--color-darkblue);
  color: var(--color-white);
}

.donatii-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.donatii-grid {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.donatii-grid h4 {
  text-align: left;
  letter-spacing: 0px;
  font: normal normal normal 20px/27px Open Sans;
  color: #CDD52A;
}

.donatii-account {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.iban {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.donatii h2 {
  color: var(--color-white);
}

@media (max-width: 1024px) {

  .topbar-left {
    max-width: 100%;
  }

  .hero-logo {
    max-height: 80px;
  }

  h2 {
    font-size: 35px;
    line-height: 45px;
  }

  h6 {
     font: normal normal normal 35px/35px var(--font-domine);
     min-height: 64px; /* ajuste selon la hauteur du plus long titre */
   }

  .hero {
    padding: 50px 20px;
    gap: 50px;
  }

  .hero-nav {
    max-width: 100%;
    gap: 20px;
  }

  .hero-nav a:hover {
     border-bottom: 0;
   }

  .cine-suntem {
    padding: 50px 20px;
    gap: 50px;
  }

  .proiecte-trecute {
    padding: 50px 20px;
    gap: 50px;
  }

  .testimoniale {
    padding: 50px 20px;
    gap: 50px;
  }

  .proiecte-prezente {
    padding: 50px 20px;
    gap: 50px;
  }

  .donatii {
    padding: 50px 20px;
    gap: 50px;
  }
  
  .section-content {
    flex-direction: column; /* Pour mettre l'image en haut */
    gap: 50px;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
    width: 100%;
  }

  .hero-left h1 {
     font-size: 40px;
    line-height: 45px;
    margin-bottom: 0px;
   }

  .hero-left p {
    font-size: 18px;
    max-width: 50%;
  }

  .hero-right {
    order: -1; /* Assure que l’image est affichée en premier */
  }

  .cine-suntem .section-content {
    flex-direction: column;
    gap: 30px; /* un peu d’espace entre les deux blocs */
  }

  .cine-suntem-left,
  .cine-suntem-right {
    max-width: 100%;
    width: 100%;
  }

  .cine-suntem-right img {
    width: 100%;
    height: auto;
  }

  .proiecte-trecute .section-content {
    flex-direction: column;
    gap: 50px;
  }

  .proiecte-trecute .btn {
    display: none;
  }

  .proiecte-trecute-half {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .proiecte-trecute-half img {
    width: 100%;
    height: auto;
  }

  .paragraph {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .testimoniale-section-content {
    flex-direction: column;
    gap: 50px;
  }

  .testimoniale-half {
    flex-direction: column;
    gap: 50px;
    width: 100%;
  }

  .testimoniale-card {
    align-items: flex-start;
    gap: 50px;
    max-width: 100%;
    width: 100%;
  }

  .testimoniale-card img {
    max-width: 40px;
    height: auto;
  }

  .testimoniale-card-text {
    gap: 50px;
  }

  .testimoniale-card h6,
  .testimoniale-card h5 {
    text-align: left;
  }

  .proiecte-prezente-section-content {
    flex-direction: column;
  }

  .proiecte-prezente-block {
    flex: 1 1 100%;
  }

  .donatii-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 par ligne */
    gap: 50px;
    align-items: start;
  }

  .donatii-grid img {
    grid-column: 1 / -1;
    max-width: 120px;
    height: auto;
  }

  .donatii-grid h4 {
    font: normal normal normal 18px/24px Open Sans;
  }
}

@media (max-width: 700px) {

  h6 {
    font: normal normal normal 25px/35px var(--font-domine)
  }

  h5 {
    font: normal normal normal 18px/24px Open Sans;
  }

  .donatii-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .donatii-grid img {
    order: -1;
    max-width: 120px;
    height: auto;
  }

  .donatii-account {
    width: 100%;
  }

  .hero-nav {
    display: flex;
    justify-content: flex-end;

  }

  .hero-nav a {
    display: none;
  }

  .hero-nav .nav-cta {
    display: inline-block; /* on affiche uniquement le bouton CTA */
  }

  .hero-left p {
    max-width: 100%;
  }

  .cine-suntem-left p {
    font-size: 18px;
    line-height: 24px;
  }

  .proiecte-trecute-half p {
    font-size: 18px;
    line-height: 24px;
  }

  .proiecte-prezente-block p {
    font-size: 18px;
    line-height: 24px;
  }

  .testimoniale-card {
    flex-direction: column;
    gap: 50px;
  }

  .testimoniale-card img {
    max-height: 40px;
    width: auto;
  }
}
