/* --- Base --- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding top: 60;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
  color: #333;
}

ul {
  text-align: left;
  margin-top: 10px;
  padding-left: 20px;
}

/* --- Navbar --- */
/*nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #6B5B95;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}*/



/*existing css*/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #c8e6c9, #6f5c9e);
  /*background-color: #6f5c9e;*/
  color: white;
  padding: 10px 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;  /* This is key */
  align-items: center;
}

.navbar-left {
  display: flex;
  align-items: center;
  
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.logo-contacts {
  height: 500px;
  margin-right: 10px;
}

.brand-name {
  font-size: 26px;
  font-weight: bold;

  text-decoration: none; /* toglie la sottolineatura */
  color: inherit;        /* mantiene il colore della navbar */
  cursor: pointer;       /* cursore a mano */
}

.navbar-right {
  display: flex;
  gap: 20px;
}

.navbar-right a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.navbar-right a:hover {
  text-decoration: underline;
}


/* --- Header / Banner --- */
header, .header, .banner {
  background: linear-gradient(90deg, #bfaee0, #c8e6c9);
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
}

.header, .banner {
  padding: 10px 0;
  font-weight: bold;
  border: 1px solid #222;
}

/* Contenitore interno con larghezza regolabile */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px; /* puoi modificare questa larghezza */
  width: 100%;
  padding: 0 20px;
}

/* Logo */
.logo {
  height: 60px;
  margin-right: 15px;
}

/* Sezione sinistra */
.header-left {
  display: flex;
  align-items: center;
}

/* Titolo */
.title {
  font-size: 24px;
  margin: 0;
  color: white;
  text-align: left;
}

/* Sezione destra (opzionale) */
.header-right {
  flex: 1;
  padding-left: 20px;
  text-align: right;
}


/*-------Header top ------*/
.header1 {
  padding: 10px 20px 60px;
  margin-top: 50px;

  background: linear-gradient(90deg, #bfaee0, #c8e6c9);
  color: white;
  padding: 20px;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}



.icona {
  height: 100px; /* o la dimensione che preferisci */
  width: auto;
}


.header1 .nome {
  font-size: 32px;
  font-weight: bold;
}

.header1 .titolo {
  font-size: 20px;
  font-weight: normal;
  margin-top: 5px;
}


/* --- Sezioni --- */
.section {
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
  scroll-margin-top: 100px
}

.section.visible {
  opacity: 1;
}



/* --- Typography --- */
h2 {
  color: #6f5c9e;
  margin-top: 40px;
}

p.subtitle {
  max-width: 800px;
  margin: 10px auto 40px;
  font-size: 16px;
}

.highlight {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

/* --- Griglie e Card --- */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 200px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: left;
}

.card h3 {
  color: #7ba839;
  margin-top: 0;
}

/* --- Contenuti flessibili (Testo + Immagini) --- */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.text {
  flex: 1 1 60%;
}

.text p {
  line-height: 1.6;
  text-align: left;
}

.images {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.images img {
  width: 100%;
  max-width: 300px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- Call To Action e Bottoni --- */
.cta {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 18px;
}

.button {
  background-color: #7ba839;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

/* --- Footer --- */
/*footer {
  background: #6B5B95;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}*/
.footer {
  background : #6B5B95;
  color: white;
  padding: 30px;
  font-family: Arial, sans-serif;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
}

.footer-column h4 {
  margin-bottom: 10px;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}


/* --- Responsive --- */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .text, .images {
    flex: 1 1 100%;
  }
}

h2 {
  text-align: left;
}

h3 {
  text-align: left;
}

.containe {
    display: flex;
    gap: 2rem;
  }

  .left-column {
    flex: 1;
    padding: 1rem;
    background-color: #f4f4f4; /* solo per visibilità */
  }

  .right-column {
    flex: 2;
    padding: 1rem;
  }
  
  .left-column-contacts {
    flex: 1;
    padding: 1rem;
   
  }

  .right-column-contacts {
    flex: 1;
    padding: 1rem;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
  }
  
 .motivational-message {
  font-family: 'Georgia', serif;
  font-size: 1.1em;
  line-height: 1.5;
  color: #2e3a3a;
  text-align: center;
  background-color: #eef8f0;
  padding: 20px;
  border-left: 4px solid #4caf50;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 500px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.img-dialogo {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}





