.elementor-kit-7{--e-global-color-primary:#FF0000;--e-global-color-secondary:#F4F4F4;--e-global-color-text:#000000;--e-global-color-accent:#CCCCCC;--e-global-typography-primary-font-family:"Poppins";--e-global-typography-primary-font-weight:300;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Montserrat";--e-global-typography-accent-font-size:18px;--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-kit-7 a{font-family:"Poppins", Sans-serif;}.elementor-kit-7 h1{font-family:"Poppins", Sans-serif;}.elementor-kit-7 h2{font-family:"Poppins", Sans-serif;}.elementor-kit-7 h3{font-family:"Poppins", Sans-serif;}.elementor-kit-7 h4{font-family:"Poppins", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Aniamtion title */
.scroll-anim {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9;
}

.text-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centro perfetto */
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.paragraph {
  position: absolute;
  font-size: 2rem;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  color: #000;
  font-weight: 500;
  max-width: 90%;
  font-family: 'Roobert', sans-serif;
  font-weight: 400;
  font-size: 3vw;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

@media (max-width: 1024px) {
  .paragraph {
    font-size: 5vw;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .paragraph {
    font-size: 8vw;
  }
}

#paragraph2 {
    color: #000 !important;
}

.line {
  display: inline-block;
  overflow: hidden;
}

.last-line {
  font-weight: bold;
}


/* scroll cards */
/* ========================= */
/* BASE STRUCTURE */
/* ========================= */
.animated-wrapper {
  position: relative;
  width: 100%;
  height: 200vh;
}

.animated-section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
    font-family: 'Roobert', sans-serif;
  color: #fff;
}

.animated-inner {
  width: 100%;
  height: 100%;
  transform: scale(0.1);
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

.horizontal-container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-wrapper {
  display: flex;
  height: 100vh;
  width: max-content;
}

.fancy-card {
  position: relative; 
  width: 100vw; 
  height: 100vh; 
  flex-shrink: 0; 
  display: flex; 
  align-items: flex-end; 
  justify-content: flex-start; 
  padding: 0 5vw 18vh 5vw; /* 👈 allineato sopra progress bar */ 
  box-sizing: border-box;
  overflow: hidden;
}

.fancy-card video.fancy-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* dietro al testo */
  pointer-events: none; /* evita conflitti con gsap o scroll */
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.fancy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 0;
  pointer-events: none;
}

/* ========================= */
/* TEXT CONTENT */
/* ========================= */
.fancy-card .fancy-info {
  position: relative;
  z-index: 1; /* sopra il video */
}

.fancy-info {
  position: relative;
  max-width: 700px;
  color: #fff;
}

.arrow img {
    width: 30px;
    height: 30px;
}

.fancy-info__subtitle {
  margin: 0 0 1.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  font-family: 'Roobert', sans-serif;
  font-weight: 400;
  font-size: 3vw; /* Desktop */
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.fancy-info__description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  font-family: 'Roobert', sans-serif;
  font-weight: 400;
  font-size: 1.2vw; /* Desktop */
  line-height: 1.2;
  letter-spacing: -0.05em;
}

/* Tablet */
@media (max-width: 1024px) {
  .fancy-info__subtitle {
    font-size: 5vw;
  }
  
  .fancy-info__description {
    font-size: 2.5vw;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .fancy-info__subtitle {
    font-size: 8vw;
  }
  
  .fancy-info__description {
    font-size: 5vw;
  }
}

/* ========================= */
/* PROGRESS BAR */
/* ========================= */
.progress-bar-container {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  z-index: 20;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
}

.dot {
  flex: 1;
  text-align: left;
  padding: 0 0.5rem;
}

.progress-lines {
  width: 100%;
  height: 3px; /* leggermente più spessa per renderla visibile */
  background: rgba(255, 255, 255, 0.15); /* linea base grigia */
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-lines span {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fff 0%, #fff 100%); /* pienamente bianco */
  transition: width 0.4s ease-out;
  border-radius: 2px;
}

.dot p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease-out;
  font-family: 'Roobert', sans-serif;
  font-weight: 300; /* Light */
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

/* testo attivo */
.dot.active p {
  color: #fff;
}

/* ========================= */
/* RESPONSIVE FIXES */
/* ========================= */
@media (max-width: 1024px) {
  .fancy-card {
    padding: 0 5vw 18vh 5vw;
  }

  .fancy-info__subtitle {
    font-size: 2.6rem;
  }

  .fancy-info__description {
    font-size: 0.85rem;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
    li.menu-item a {
        box-shadow: none !important;
    }
    
    .paragraph {
        font-size: 1.5rem;
    }
        
  .progress-bar-container {
    bottom: 20px;
    width: 90%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .dot {
    flex: none;
    align-items: flex-start;
  }

  .dot p {
    font-size: 0.8rem;
  }
}/* End custom CSS */