@charset "UTF-8";
/* Cerchio dietro al logo - Smart City */
body {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background: linear-gradient(to bottom right, #f8f8f5, rgb(255, 255, 255));
  min-height: 100vh;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo-bg-smart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background: rgba(0, 123, 255, 0.15); /* blu elettrico semitrasparente */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.logo-text-smart {
  color: #00d1c1; /* verde acqua */
  font-weight: 700;
  font-size: 1.1rem;
}

/* Link attivi Smart City */
.nav-link.active-link-smart {
  background-color: rgba(173, 181, 189, 0.63);
  border-radius: 24px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-link.active-link-smart:hover {
  background-color: rgba(0, 123, 255, 0.25);
  transform: translateY(-2px);
}

/* Tutti i link del menu */
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 20px;
  transform: translateY(-1px);
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2; /* sopra l'overlay */
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-section p.lead {
  font-size: 1.3rem;
}

.hero-section .btn {
  border-radius: 25px;
  padding: 12px 30px;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

.hero-section .btn:hover {
  transform: translateY(-2px);
}

.service-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-header i {
  font-size: 1.2rem;
}

.service-card .card-header h5 {
  font-weight: 600;
  font-size: 1.2rem;
}

.service-card .card-body p {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-card .btn {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.hero-wrapper {
  background: linear-gradient(135deg, #1c4e80, #3ba3d0); /* colore o gradiente del bordo */
  padding: 8px; /* spessore bordo */
  display: block;
  width: 90%; /* riduce la larghezza rispetto all'immagine */
  margin: 40px auto 0; /* centrato e spostato verso il basso */
  position: relative;
  top: 20px; /* abbassa leggermente l'intero sfondo */
  z-index: 1;
}

.hero-section {
  position: relative;
  width: 98%;
  min-height: 360px;
  background: radial-gradient(circle at 80% 50%, rgb(97, 128, 255) 0%, #03f 70%);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 80px 0;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.95;
  z-index: 2;
  margin: auto;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

/* fondo decorativo sotto l’immagine */
.hero-wrapper {
  position: relative;
  top: -32px;
  width: 94%;
  height: 110px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px !important;
  margin: 0 auto;
  z-index: 1;
  box-shadow: 0 0px 10px rgba(160, 160, 160, 0.07);
  -webkit-border-radius: 30px !important;
  -webkit-border-radius: 30px !important;
  -moz-border-radius: 30px !important;
  -ms-border-radius: 30px !important;
  -o-border-radius: 30px !important;
}

canvas {
  display: block;
  margin-left: -104px;
  max-width: 127%;
  height: 178px;
  opacity: 0.7;
}

.servizi-digitali {
  position: relative;
  top: -84px;
  z-index: 5;
}

.servizi-digitali-cards {
  margin-top: -84px;
  margin-bottom: 58px;
}

.header-orange {
  background-color: rgba(202, 202, 202, 0.5);
  color: black;
}

.header-blue {
  background-color: rgba(102, 204, 255, 0.5);
  color: black;
}

.header-green {
  background-color: rgba(51, 204, 102, 0.5);
  color: black;
}

.btn-orange {
  background-color: #e4e4e4;
  color: rgb(0, 0, 0);
  border: 2px solid #c4c4c4;
}
.btn-orange:hover {
  background-color: #e4e4e4;
  color: rgb(0, 0, 0);
}

.btn-blue {
  background-color: rgba(102, 204, 255, 0.5);
  color: black;
  border: 2px solid #66ccff;
}
.btn-blue:hover {
  background-color: #66ccff;
  color: white;
}

.btn-green {
  background-color: rgba(51, 204, 102, 0.5);
  color: black;
  border: 2px solid #33cc66;
}
.btn-green:hover {
  background-color: #33cc66;
  color: white;
}

.image-imprese {
  margin-top: 0px;
}

.image-imprese .img-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(50%);
  border-radius: 20px;
}

.image-imprese .img-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 100%;
  min-height: 460px; /* Altezza desktop */
}

/* 1. Desktop: larghezza maggiore di 1200px */
@media (min-width: 1200px) {
  /* Stili per desktop grandi */
}
/* 2. Laptop / Tablet landscape: larghezza tra 992px e 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .image-imprese .img-container {
    min-height: 250px; /* Altezza mobile/tablet */
  }
}
/* 3. Tablet / Mobile landscape: larghezza tra 768px e 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .image-imprese .img-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    min-height: 460px; /* Altezza desktop */
  }
}
/* 4. Mobile: larghezza inferiore a 767px */
@media (max-width: 767px) {
  .servizi-digitali {
    position: relative;
    top: -99px;
    z-index: 5;
  }
  .hero-section h1 {
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
  }
  .btns-portale {
    margin: auto;
    justify-content: center;
  }
  .hero-section {
    position: relative;
    width: 98%;
    min-height: 200px;
  }
  .testo-imprese {
    font-size: 1.1rem;
    text-align: start;
  }
  .image-imprese {
    margin-top: 20px;
  }
  .image-imprese .img-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    min-height: 260px; /* Altezza desktop */
  }
}
.btn:hover {
  background-color: #7edc99 !important;
  border-color: #3bab5c !important;
  transform: translateY(-2px);
}/*# sourceMappingURL=overwrite.css.map */