body {
  font-family: "Segoe UI", sans-serif;
}
header {
  background-color: #2f73ac;
}
.nav-link {
  font-weight: 600;
}
a.nav-link:hover {
  transform: translateY(-2px);
}
#navbarNav .navbar-nav{
    flex-direction:row;
    justify-content:space-around;
}
.navbar-toggler{
    margin-bottom:15px;
}
.navbar-toggler-icon{
    width:1em;
    height:1em;
}
.hero-logo img {
  width: 100%;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  margin-top: 50px;
}
.hero-text h2 {
  line-height: 45px;
}
.hero-main h1,
.hero-main p,
.hero-main .list-unstyled li span {
  color: #ffffff;
}

.hero-main .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero-main .btn-outline-primary {
  border-color: #ffffff;
  color: #ffffff;
}

.hero-main .btn-outline-primary:hover {
  background-color: #ffffff;
  color: #0b2a4a;
}
.w-md-50 {
  width: 50% !important;
}

.w-100 {
  width: 100% !important;
}


#perche-annunci p,
#cosa-fa p{
  margin-bottom: 1.5rem;   
  line-height: 2;
  font-size:1.1rem;
}
#perche-annunci p.lead,
#cosa-fa p.lead{
    font-size: 1.25rem;
   font-weight: 300;
     line-height: 1.8;
}
#hero img.img-fluid{
    max-width: 30%;
}
.section-icon {
  position: relative;
   overflow: hidden;  
}
/* contenuto sopra le icone */
.section-icon .container {
  position: relative;
  z-index: 1;
}
.section-bg-icon{
    position: absolute;
}
.section-bg-icon-left {
  position: absolute;
  left: 0;                 
  top: 0;               
  font-size: 18rem;      
  color: #0b3c5d;         
  opacity: 0.06;           
  pointer-events: none;
  z-index: 0;
}
.section-bg-icon-right{
    position: absolute;
    right:0;
    top:0;
    font-size: 18rem;   
    color: #0b3c5d; 
    opacity: 0.06;     
    pointer-events: none;
    z-index: 0;     
}

/* testo sopra l’icona */
.section-with-icon-left .row,
.section-with-icon-left h2,
.section-with-icon-left p {
  position: relative;
  z-index: 1;
}
.ai-key-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background:#fff;
}

.ai-key-points li + li {
  margin-top: 0.5rem;
}
.ai-steps-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-steps-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
}

/* Card dei passi: stessa dimensione visiva */
.ai-step-card {
  flex: 0 0 320px;           /* larghezza uniforme desktop */
  max-width: 100%;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.ai-step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b3c5d;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.ai-step-arrow-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0b3c5d;
}

/* Mobile / tablet: tutto in colonna con frecce verticali */
@media (max-width: 991.98px) {
  .ai-steps-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-step-card {
    flex: 1 1 auto;
    width: 100%;
  }

  .ai-step-arrow-card {
    transform: rotate(90deg);
  }
}
 

/* opzionale: riduci o nascondi su mobile */
@media (max-width: 576px) {
  .section-bg-icon-left,
  .section-bg-icon-right{
    font-size:0;
  }
}
@media (min-width: 992px) {
  .w-lg-50 {
    width: 50% !important;
  }
  .w-lg-75 {
    width: 75% !important;
  }
  .hero-text {
    width: 60%;
    margin-top: 0;
  }
  #hero img.img-fluid{
    max-width: 100%;
  }
    .section-bg-icon-left,
    .section-bg-icon-right{
    opacity: 0.07; 
  }
  li.nav-item {
    width: auto;
    text-align: center;
    margin: 0 5px;
  }
  #navbarNav ul{
      min-width: 370px;
  }
  .card-body{
    display: flex;
    flex-direction: column;
    justify-content: end;
  }
}
@media (min-width: 1024px) {
  .hero-text {
    width: 60%;
  }
}
@media (min-width: 1440px) {
  .hero-text {
    width: 63%;
  }
}
.magia {
  display: flex;
  justify-content: center;
}
@media (min-width: 575px) {
  .hero-logo img {
    width: 350px;
  }
}
section.hero {
  background-color: #032a54;
  margin: 0;
}
section.installazione,
section.descrizione {
  background-color: #c8c8c8;
  padding-top: 50px;
}
h5 {
  font-weight: 600;
}
p {
  line-height: 30px;
}
.text-transparent {
  color: transparent;
}
.cta-btn {
  background-color: #2f73ac;
  border-color: #2f73ac;
  color: #fff;
}
.cta-btn:hover {
  background-color: #205d8f;
  color: #fff;
}
a[data-label="index-it_cta_demo"]:hover{
    border-color: #fff;
}
ul {
  line-height: 26px;
}
.come-fare {
  list-style-type: none;
  padding: 0;
}
.come-fare li {
  margin: 40px 0;
}
li img {
  box-shadow: 0 0px 10px 0px #858383;
}
ul.offerte {
  padding: 0;
  margin: 0;
}
ul.offerte li {
  line-height: 30px;
  font-size: 14px;
  position: relative;
  padding-left: 1.5em; /* spazio per l'icona */
}
ul.offerte li::before {
  position: absolute;
  left: 0;
  font-size: 12px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
}
ul.offerte li.success::before {
  content: "\f058"; /* fa-check-circle */

  color: #198754; /* Bootstrap 'success' */
}
ul.offerte li.warning::before {
  content: "\f071"; /* fa-exclamation-triangle */
  color: #ffc107; /* Bootstrap 'warning' */
}
ul.offerte li.attention::before {
  content: "\f057"; /* fa-times-circle */
  color: #dc3545; /* Bootstrap 'danger' */
}
ul.offerte li.specifica {
  padding: 16px 0;
  font-size: 16px;
}
figcaption {
  font-style: italic;
  margin-top: 10px;
  font-size: 16px;
  background-color: #e6e6e6;
  padding: 8px;
}
footer {
  background-color: #2f73ac;
  color: #fff;
  min-height: 100px;
}
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  padding: 10px 19px;
  font-size: 20px;
  border-radius: 50%;
}
.accordion-item button {
  font-weight: 600;
}
.accordion-button:not(.collapsed) {
  background-color: #bebebe;
  color: #000;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
}
@media (min-width: 768px) {
  .scroll-top-btn.show {
    display: inline-block;
  }
  .w-md-75 {
  width: 75% !important;
}
}
.card-header {
  padding-top: 25px;
}
.card-header.gold {
  background-color: #fdd835;
}
.bronze {
  background-color: #b19084;
}
.fs-10 {
  font-size: 10px;
}
.fs-18 {
  font-size: 18px;
}
