/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Di default, nascondi il logo sticky */
.logo-sticky {
    display: none !important;
}

/* Quando l'header diventa sticky, nascondi il normale e mostra lo sticky */
.elementor-sticky--effects .logo-normale {
    display: none !important;
}

.elementor-sticky--effects .logo-sticky {
    display: inline-block !important;
}

.elementor-element-c1effed.main-nav.elementor-sticky.elementor-sticky--active.elementor-sticky--effects {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.12) !important;
}

.burger-icon {
	margin-block-end: 0;
    line-height: 0;
}

.btn-alt .elementor-button {
	background-color: white !important;
	color: var(--e-global-color-primary) !important;
}
.btn-alt .elementor-button:hover {
	background-color: var(--e-global-color-text) !important;
	color: white !important;
}


.nospaziosotto h3 {
    margin-block-end: 0;
}




/* ==========================================================================
   SCHEDE PROCESSO PASSI (DESKTOP & MOBILE)
   Classe Container Principale: 'passi-section-wrapper'
   ========================================================================== */

/* 1. FRECCE DI NAVIGAZIONE IN ALTO (FONT AWESOME 5)
   ========================================================================== */
.passi-section-wrapper .nav-arrows-header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 20px;
}

.passi-section-wrapper .arrows-container {
  display: flex;
  gap: 12px;
}

/* Stile del bottone tondo */
.passi-section-wrapper .nav-arrow {
  background: #ffffff;
  border: 1px solid #0b182d;
  color: #0b182d;
  width: 42px;
  height: 42px;
  border-radius: 50%; /* Rendono il pulsante un cerchio perfetto */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: all 0.25s ease;
}

/* Dimensione e allineamento dell'icona Font Awesome */
.passi-section-wrapper .nav-arrow i {
  font-size: 14px;
  color: inherit;
  transition: color 0.25s ease;
}

/* Effetto Hover / Focus sulle frecce */
.passi-section-wrapper .nav-arrow:hover {
  background-color: #0b182d;
  color: #ffffff;
  border-color: #0b182d;
}

.passi-section-wrapper .nav-arrow:active {
  transform: scale(0.92);
}

/* 2. STILE CARDS (SCHEDE)
   ========================================================================== */

.passi-section-wrapper .passo-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 10px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.passi-section-wrapper .passo-card:not(.active):hover {
  border-color: #0b182d;
  transform: translateY(-4px);
}

.passi-section-wrapper .passo-card.active {
  background-color: #0b182d !important;
  border-color: #0b182d !important;
  box-shadow: 0 10px 30px rgba(11, 24, 45, 0.15);
}

.passi-section-wrapper .passo-card.active h1,
.passi-section-wrapper .passo-card.active h2,
.passi-section-wrapper .passo-card.active h3,
.passi-section-wrapper .passo-card.active h4,
.passi-section-wrapper .passo-card.active p,
.passi-section-wrapper .passo-card.active i,
.passi-section-wrapper .passo-card.active span,
.passi-section-wrapper .passo-card.active svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}


/* 3. TIMELINE & PALLINI SOTTO
   ========================================================================== */
.passi-section-wrapper .timeline-wrapper {
  margin-top: 40px;
  width: 100%;
}

.passi-section-wrapper .timeline-track {
  position: relative;
  width: 100%;
}

.passi-section-wrapper .timeline-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  position: relative;
  z-index: 2;
}

.passi-section-wrapper .timeline-base-line {
  position: absolute;
  top: 8px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-color: #e2e8f0;
  z-index: 1;
}

.passi-section-wrapper .timeline-progress {
  position: absolute;
  top: 8px;
  left: 12.5%;
  height: 2px;
  width: 0%;
  background-color: #a01c2b;
  transition: width 0.35s ease;
  z-index: 1;
}

.passi-section-wrapper .timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.passi-section-wrapper .timeline-dot {
  width: 16px;
  height: 16px;
  background-color: #0b182d;
  border-radius: 50%;
  transition: all 0.35s ease;
}

.passi-section-wrapper .step-text {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #a0aec0;
  white-space: nowrap;
  transition: all 0.35s ease;
}

.passi-section-wrapper .timeline-step.active .timeline-dot {
  background-color: #a01c2b;
  transform: scale(1.3);
}

.passi-section-wrapper .timeline-step.active .step-text {
  color: #0b182d;
  font-weight: 700;
}


/* 4. RESPONSIVE MOBILE (Sotto i 768px)
   ========================================================================== */
@media (max-width: 1099px) {
  .passi-section-wrapper .passo-card {
    display: none !important;
    width: 100% !important;
  }

  .passi-section-wrapper .passo-card.active {
    display: flex !important;
  }

  .passi-section-wrapper .timeline-wrapper {
    margin-top: 25px;
  }

  .passi-section-wrapper .step-text {
    font-size: 12px;
  }
}