.landingPageMainImg {
    height: 68vh !important; /* Altezza relativa alla viewport, puoi modificarla */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
.hero-content .hero-title {
  font-size: 2rem;
  font-weight: 600;
  color: #000000; /* o altro colore in armonia col design */
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-content .hero-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
  text-align: justify;
  text-align-last: center; /* mantiene l'ultima riga centrata */
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
  text-align: justify;
  text-align-last: center;
}

.hero-list li {
  margin-bottom: 10px;
  text-align: justify;
  text-align-last: center;
}

.full-width-line {
  width: 100vw; /* viewport width, NON del contenitore */
  height: 3px;
  background: #e4002d;
  margin: 40px 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

.section-title-page {
	margin-bottom: 50px;
	text-align: center;
	position: relative;
}

.section-title-page h2 {
	font-size: 2rem !important;
}


.section-title-page p,
.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.6;
}

.section-subtitle-list {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.column-list {
  list-style-type: disc;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px 40px;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
}

.column-list li {
  margin-bottom: 10px;
}

.activity-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.activity-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.activity-row.reverse {
  flex-direction: row-reverse;
}

.activity-image {
  flex: 1 1 300px;
  max-width: 100%;
  height: 400px; /* Altezza fissa per tutte le immagini */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-text {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.activity-text h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f3443;
  font-size: 1.6rem;
}

.activity-text-content {
  max-width: 600px;
}

.activity-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  margin-top: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.no-bullets {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  text-align: justify;
}

.no-bullets li {
  margin-bottom: 10px;
  text-align: justify;
}


.info-button-wrapper {
  text-align: center;
}

.info-button {
  display: inline-block;
  background-color: #e4002d;
  color: #fff;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.info-button:hover {
  background-color: #c40025;
  color: #fff;
}


.resources-section {
  background-color: #f5f5f5;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.resources-title h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1c1c1c;
}

.resources-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.resources-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  scrollbar-width: none; /* Firefox */
}
.resources-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.resource-card {
  flex: 0 0 auto;
  width: 220px;
  background-color: #fff;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-5px);
}
.resource-card img {
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.resource-card p {
  margin: 0;
  padding: 0.75rem;
  color: #1c1c1c;
  font-weight: 600;
}
.resource-img-wrapper {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.resource-img-wrapper img {
  height: auto;
  max-height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}

.carousel-nav {
  background-color: #dcdcdc;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.25rem;
  color: #333;
  transition: background 0.3s ease;
  z-index: 10;
}
.carousel-nav:hover {
  background-color: #bcbcbc;
}
.carousel-nav.prev {
  margin-right: 1rem;
}
.carousel-nav.next {
  margin-left: 1rem;
}

@media (max-width: 768px) {
  .carousel-nav {
    display: none;
  }
}



/* Responsive: stack su mobile */
@media (max-width: 768px) {
  .activity-row,
  .activity-row.reverse {
    flex-direction: column;
  }

  .activity-text h3 {
    font-size: 1.3rem;
  }
}


/* Altezza responsiva su schermi piccoli */
@media (max-width: 768px) {
    .landingPageMainImg {
        height: 40vh !important;;
    }
}

@media (max-width: 480px) {
    .landingPageMainImg {
        height: 30vh !important;
    }
}


.cta-contact-section {
  background-color: #f9f9f9; /* colore neutro e leggero */
  padding: 40px 20px;
}

.cta-title {
  font-size: 1.8rem;
  color: #0f3443;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 1.4rem;
  }
}


.vertical-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vertical-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vertical-image {
  width: 100%;
  max-width: 100%;
  height: 250px; /* altezza più bassa per un rettangolo orizzontale */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.vertical-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vertical-text {
  padding-top: 0.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.vertical-text-content {
  max-width: 800px;
}

.vertical-text h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #0f3443;
  font-size: 1.6rem;
}

.vertical-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  margin-top: 1rem;
  line-height: 1.6;
  text-align: justify;
}

