#site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  color: var(--color-white);
  padding: 40px 0;
  position: relative;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(44, 90, 160, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

/* Footer Columns with Separators */
.footer-column-separator {
  position: relative;
}

.footer-column-separator::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent 100%
  );
}

/* Remove separator from last column */
.footer-column-separator:last-child::after {
  display: none;
}

/* Footer Title */
.footer-title {
  color: #ffffff;
  font-weight: var(--font-weight-demi, 600);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary, #2c5aa0) 0%, rgba(44, 90, 160, 0.5) 100%);
  border-radius: 1px;
}

/* Footer Description */
.footer-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
  max-width: 350px;
}

/* Footer Links */
.footer-links {
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* Impianti specifici */
.footer-links a.fw-bold {
  color: #ffffff;
  font-weight: var(--font-weight-semi, 600);
  width: fit-content;
}

.footer-links small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 0.25rem;
}

.footer-links small i {
  font-size: 0.75rem;
  color: #fff;
}


/* Footer Contact */
.footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem;
  padding-left: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.contact-item i {
  font-size: 1rem;
  color:#fff;
  width: 20px;
  padding: 5px;
  margin-right: 10px;
}

.contact-link {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.contact-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

.contact-link:hover::before {
  width: 100%;
}

/* Copyright Section */
.border-top {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer Legal Links */
.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding: 0 0.5rem;
}

.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal .list-inline-item:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.5);
  margin-left: 1rem;
}

#site-footer .cls-1 {fill: #fff !important;}
#site-footer  .cls-2 {fill: #fff !important;}
#site-footer  .cls-3 {fill: #fff !important;}
#site-footer  .hide_to_scroll {fill: #fff !important;}

/* Responsive */
@media (max-width: 768px) {
  /* Remove separators on mobile */
  .footer-column-separator::after {
    display: none;
  }
  
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer-description {
    font-size: 0.9rem;
  }
  
  .footer-contact {
    border-top: none;
    padding-top: 0;
    margin-top: 1rem;
  }
  
  .col-md-6.text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
  
  .footer-legal .list-inline-item {
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .footer-legal .list-inline-item:not(:last-child)::after {
    display: none;
  }
}