/* ===== BLOCCO CSS 1 ESTRATTO DA INDEX ===== */
body {
  font-family: "Advent Pro", sans-serif;
  background-color: white;
  color: #000;
}

/* Header e Menu */
.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  transition: background-color 0.3s ease, background-color 0.3s;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}
.header-sticky:hover {
  background-color: rgba(255, 255, 255, 1);
}
.logo-header img {
  height: 60px;
  transition: height 0.3s ease;
}
.hamburger-btn {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1), color 0.3s ease,
    text-shadow 0.3s ease;
}

.hamburger-btn:hover span {
  background-color: #00c8c8;
  transform: scale(1.1);
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.social-link {
  color: #000;
  font-size: 20px;
  margin-left: 25px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1), color 0.3s ease,
    text-shadow 0.3s ease;
}
.social-link:hover {
  color: #00c8c8;
  transform: scale(1.2);
}

/* Menu Laterale */
.offcanvas {
  width: 400px !important;
  background-color: whitesmoke;
}
.side-menu-links {
  list-style: none;
  padding: 0;
  margin: 50px 0;
}
.side-menu-links li {
  margin: 5px 0;
}
.side-menu-links a {
  color: #000;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: block;
  padding: 6px 20px;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}
.side-menu-links a:hover {
  color: #00c8c8;
  transform: scale(1.05);
}
.side-menu-social {
  text-align: center;
  margin-top: 50px;
}
.side-menu-social a {
  color: #000;
  font-size: 20px;
  margin: 0 15px;
  transition: all 0.3s ease;
}
.side-menu-social a:hover {
  color: #00c8c8;
  transform: scale(1.3);
}

/* ===== SUBMENU nel menu laterale ===== */
.side-menu-links .submenu-parent {
  position: relative;
}

.side-menu-links .submenu-toggle {
  cursor: pointer;
  position: relative;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.side-menu-links .submenu-toggle:hover {
  color: #00c8c8;
}

/* Freccina accanto a “Servizi” */
.side-menu-links .submenu-toggle::after {
  content: "▾";
  font-size: 1.5rem;
  margin-left: 6px;
  color: black;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.submenu-toggle:hover::after {
  color: #00c8c8; /* Cambia colore al passaggio del mouse */
}


.side-menu-links .submenu-parent.open > .submenu-toggle::after {
  transform: rotate(180deg);
}

/* Contenitore sottomenu */
.side-menu-links .submenu {
  list-style: none;
  margin: 0.4rem 0 0 1.5rem;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.35s ease;
}

/* Quando il menu è aperto */
.side-menu-links .submenu-parent.open > .submenu {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.side-menu-links .submenu li {
  margin: 0.3rem 0;
}

.side-menu-links .submenu a {
  font-size: 0.95rem;
  color: #444;
  text-transform: none;
  display: block;
  transition: color 0.2s ease;
}

.side-menu-links .submenu a:hover {
  color: #00c8c8;
}

/* Carousel */
.carousel {
  height: 100vh;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.carousel-item {
  height: 100vh;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
}
.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
}
#servizi {
  position: relative;
  z-index: 2;
  background-color: white;
}
.carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.671);
  z-index: 1;
}

/* Servizi */
.service-card {
  transition: transform 0.3s;
  border: none;
  background-color: white;
  margin-bottom: 40px;
  height: 100%;
  width: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
}
.service-card .card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 65%; /* Aspect ratio ridotto */
  overflow: hidden;
  margin: 0 auto;
}
.service-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .card-body {
  padding: 20px;
  text-align: center;
  background-color: white;
}
.service-card h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.service-card .btn-primary {
  background-color: #00c8c8;
  border-color: #00c8c8;
}
.service-card .btn-primary:hover {
  background-color: #00a0a0;
  border-color: #00a0a0;
}

/* Punti di Forza */
.bg-light {
  background-color: whitesmoke !important;
}
.feature-icon {
  font-size: 36px;
  color: #00c8c8;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background-color: white;
  color: black;
  padding: 40px 30px 20px;
}
.footer h4 {
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 15px;
}
.footer a {
  color: grey;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #00c8c8;
}
.footer .social-icons a {
  font-size: 23px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}
.footer .social-icons a:hover {
  transform: scale(1.3);
}

/* Cookie Banner e Overlay PDF */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(102, 102, 102, 0.808);
  color: white;
  padding: 2rem;
  z-index: 1000;
  display: none;
}

#acceptCookies {
  background: #00c8c8;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

#acceptCookies:hover {
  background: #00a0a0;
}

.overlay-pdf {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
}
.overlay-content {
  position: relative;
  width: 80%;
  height: 80%;
  margin: 5% auto;
  background: white;
  border-radius: 8px;
  padding: 20px;
}
.overlay-content iframe {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00c8c8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 999;
}
.scroll-top-btn:hover {
  background: #00a0a0;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel {
    height: 60vh;
  }
  .carousel-item {
    height: 60vh;
  }
  .navbar-brand img {
    height: 40px;
  }
  .service-card {
    margin-bottom: 30px;
  }
}

/* ===== BLOCCO CSS 2 ESTRATTO DA INDEX ===== */
.feature-card {
  padding: 1rem;
  max-width: 280px;
  margin: 0 auto;
}
.feature-icon {
  font-size: 2.2rem;
  color: #00c8c8;
  margin-bottom: 0.8rem;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.feature-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .feature-card {
    padding: 0.8rem;
  }
}

/* ===== BLOCCO CSS 3 ESTRATTO DA INDEX ===== */
.text-gray-300 {
  color: #d1d5db !important;
}
.hover-effect {
  transition: color 0.3s ease, transform 0.3s ease;
}
.hover-effect:hover {
  color: #00c8c8 !important;
  transform: scale(1.1);
}
footer a.text-gray-300:hover {
  color: #00c8c8 !important;
}
footer h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
footer p,
footer a {
  font-size: 0.95rem;
  text-transform: uppercase;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links li:last-child {
  margin-bottom: 0;
}
.footer-links a {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Testo in uppercase solo nel footer */
footer .col-md-3 {
  text-transform: uppercase;
}

footer .text-white.mb-0 {
  text-transform: none;
}

/* Riduzione spazi tra link del footer */
footer .footer-links li.mb-1 {
  margin-bottom: 0.1rem !important; /* prima era 0.25rem */
}

/* Link indirizzo nel footer */
footer .footer-address-link {
  text-transform: none !important; /* mantiene minuscolo */
}

/* Effetto comparsa allo scroll */
.fade-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FIX VISUALIZZAZIONE PDF NELL'OVERLAY ===== */
#pdfOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

#pdfOverlay .overlay-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  background: #fff;
  border-radius: 8px;
  overflow: hidden; /* importantissimo! evita che il viewer si restringa */
  display: flex;
  flex-direction: column;
}

#pdfOverlay .overlay-content iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===== Selettore lingua overlay ===== */
.lang-selector {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lang-box {
  background: white;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Advent Pro", sans-serif;
  animation: fadeIn 0.3s ease;
}

.lang-box h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.lang-btn {
  font-size: 1.1rem;
  margin: 5px 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #007b83;
  color: white;
  transition: background 0.2s;
}

.lang-btn:hover {
  background: #009fae;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === Scroll to Top Button === */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #00a0a0;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollToTopBtn:hover {
  background-color: #027a7a;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px; /* distanza sotto l'header */
  padding-bottom: 0px; /* margine prima del footer */
}

.emseng-contatti-section {
  font-family: "Advent Pro", sans-serif;
  color: #111;
}

.emseng-title {
  font-weight: 600;
  color: #00c8c8; /* Tiffany EMS */
  letter-spacing: 0.5px;
}

.emseng-subtitle {
  font-size: 1.05rem;
  color: #333;
}

.emseng-contact-list i {
  color: #00c8c8;
}

.emseng-form {
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.emseng-form .form-label {
  font-weight: 500;
  color: #222;
}

.emseng-btn {
  background: #00c8c8;
  border: none;
  font-weight: 500;
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.emseng-btn:hover {
  background: #009e9e;
  transform: translateY(-2px);
}

.emseng-map iframe {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.emseng-privacy {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: whitesmoke;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Animazione linee */
.loader {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.loader .line {
  width: 6px;
  height: 40px;
  background: #00c8c8;
  animation: pulse 1.2s infinite ease-in-out;
}

.loader .line:nth-child(2) {
  animation-delay: 0.2s;
}

.loader .line:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%,
  80%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.6;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.loader-text {
  padding-left: 10px;
  color: black;
  font-family: "Advent Pro", sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 
.team-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 220px;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.team-card .card-body {
  background-color: #fff;
  padding: 20px;
}

.team-card .social-links a {
  color: #00c8c8;
  transition: color 0.3s ease;
}

.team-card .social-links a:hover {
  color: #007f7f;
} */

/* ===== TEAM CARD - Nuovo Design ===== */
.team-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 200, 200, 0.15);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 200, 200, 0.25);
  border-color: #00c8c8;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #00c8c8, #009e9e);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.team-card h5 {
  color: #00a0a0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

.team-card i {
  color: #00c8c8;
  transition: color 0.3s ease, transform 0.3s ease;
}

.team-card i:hover {
  color: #007f7f;
  transform: scale(1.2);
}

/* Icona circolare opzionale */
.team-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c8c8, #00a0a0);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 200, 200, 0.3);
  transition: transform 0.3s ease;
}

.team-card:hover .team-icon {
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .team-card {
    margin-bottom: 1.2rem;
    padding: 1.5rem 1rem;
  }
}

/* ===== Bottone "Torna su" ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00c8c8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background-color: #009f9f;
  transform: translateY(-3px);
}

/* Evidenziazione voce attiva nel menu laterale con effetto slide */
.side-menu-links a.active {
  color: #00c8c8;
  font-weight: 600;
  position: relative;
}

/* Evidenziazione voce attiva nel menu laterale con effetto slide animato */
.side-menu-links a.active {
  color: #00c8c8;
  font-weight: 600;
  position: relative;
}

.side-menu-links a.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 30%;
  transform: translateX(-50%);
  width: 50%; /* lunghezza linea */
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00c8c8, #009e9e, #00c8c8);
  background-size: 200% 100%; /* necessario per il movimento */
  animation: slideLine 2.5s linear infinite;
}

/* Animazione gradiente in scorrimento */
@keyframes slideLine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

#page404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

#page404 h1 {
  font-size: 8rem;
  line-height: 1;
}

#page404 p {
  font-size: 1.1rem;
}

/* --- Sezione progetti --- */
.progetto-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 200, 200, 0.1);
}

.progetto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 200, 200, 0.25);
  border-color: #00c8c8;
}

.progetto-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.progetto-card:hover .progetto-img {
  transform: scale(1.05);
  opacity: 0.9;
}

.progetto-card .card-body {
  background: #fff;
  padding: 1rem;
}

.progetto-card h5 {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #00a0a0;
  text-transform: uppercase;
  margin: 0;
}

/* Fix visibilità per i progetti */
#progetti .fade-section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* --- Fix visibilità per la pagina Chi Siamo --- */
#chi-siamo .fade-section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* ===== OMBRA MIGLIORATA CARD - CHI SIAMO ===== */
#chi-siamo .card {
  background: #ffffff;
  border: 1px solid rgba(0, 200, 200, 0.15);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); /* Ombra più ampia e visibile */
  transition: all 0.3s ease;
}

#chi-siamo .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); /* Effetto sollevamento più deciso */
  border-color: #00c8c8;
}

/* Badge per le icone */
#chi-siamo .ems-icon {
  background: linear-gradient(135deg, #00c8c8, #00a0a0);
  color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 200, 200, 0.3);
  font-size: 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#chi-siamo .card:hover .ems-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 200, 200, 0.4);
}

#chi-siamo .card h5 {
  font-weight: 700;
  color: #222;
  text-transform: none;
  margin-top: 0.3rem;
}

#chi-siamo .card p {
  color: #444;
  font-size: 0.95rem;
}
/* ===== SEZIONE METODOLOGIA BIM ===== */
#chi-siamo .bim-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  transition: all 0.5s ease;
}

/* effetto hover leggero */
#chi-siamo .bim-image:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 200, 200, 0.25);
}

/* sfondo sezione più elegante */
#chi-siamo .bg-light {
  background: linear-gradient(180deg, #f9f9f9 0%, #f3f8f8 100%) !important;
}

/* testo con barra laterale Tiffany */
#chi-siamo .col-lg-6 h2.emseng-title {
  position: relative;
}

.ems-icon-lg {
  background: linear-gradient(135deg, #00c8c8, #00a0a0);
  color: #fff !important;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 200, 200, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== HERO CON SCORRIMENTO ORIZZONTALE ===== */
#hero-ems {
  position: relative;
  height: 500px; /* regola qui l'altezza (300–400px) */
  overflow: hidden;
  color: white;
}

/* sfondo immagine animato */
#hero-ems .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/image/SEZIONI/project-support-S-768x329.jpg"); /* percorso diretto */
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  filter: brightness(60%);
  transform: scale(1.1);
  animation: heroPan 25s linear infinite alternate;
}

/* animazione scorrimento + zoom */
@keyframes heroPan {
  0% {
    background-position: left center;
    transform: scale(1);
  }
  50% {
    background-position: right center;
    transform: scale(1.05);
  }
  100% {
    background-position: left center;
    transform: scale(1);
  }
}

/* contenuto testuale */
#hero-ems .hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

#hero-ems h1 {
  font-weight: 700;
  color: white;
}

#hero-ems p {
  font-size: 1.2rem;
  color: #ffffff;
}
