.saira {
  font-family: "Saira", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 50;
}
body {
  font-family: Saira, sans-serif;
  font-size: 1.25rem;
}
.bg-black-alpha {
  /* 0,0,0 è Nero. 0.2 è l'opacità (20%) */
  background-color: rgba(
    0,
    0,
    0,
    0.2
  ) !important; /* Rimuove eventuali ombre predefinite del tema che stonerebbero */ /*box-shadow: none !important; */
}
.z-index-sticky {
  z-index: 1020;
}
.blur.blur-rounded {
  border-radius: 15px;
}
.blur {
  box-shadow: inset 0 0 2px #fefefed1;
  -webkit-backdrop-filter: saturate(200%) blur(30px);
  backdrop-filter: saturate(100%) blur(20px);
  background-color: hsla(0, 0%, 100%, 0.8) !important;
} /* Rimuove lo sfondo e prepara l'elemento per la linea */
.nav-line {
  /* Assicuriamo che non ci sia nessun colore o ombra all'inizio */
  background-color: transparent !important;
  box-shadow: none !important;
  transition: background-color 0.4s ease;
} /* Stato SCROLLED (Sfondo nero uniforme scuro) */
.nav-line.scrolled {
  background-color: rgba(0, 0, 0, 0.8) !important; /* Nero trasparente */
  backdrop-filter: blur(10px); /* Sfocatura */
  -webkit-backdrop-filter: blur(10px);
} /* Crea la linea sfumata in basso */
.nav-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px; /* Spessore della linea */ /* Gradiente: Trasparente ai lati, Bianco al centro */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}
.navbar.navbar-bg {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.shadow-none {
  box-shadow: none !important;
}
.navbar-toggler .navbar-toggler-icon .navbar-toggler-bar {
  display: block;
  position: relative;
  width: 22px;
  height: 1px;
  border-radius: 1px;
  background: #fff;
  transition: all 0.2s;
  margin: 0 auto;
}
.navbar-toggler-bar.bar1 {
  margin-top: 3px !important;
}
.navbar-toggler-bar.bar2,
.navbar-toggler-bar.bar3 {
  margin-top: 7px !important;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar.bar1 {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
  margin-top: 5px !important;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar.bar2 {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar.bar3 {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
  margin-top: 3px !important;
}
.nav-link-active,
.nav-link:active {
  color: #73cffd !important;
}
.page-header .container {
  z-index: 1;
}
.page-header {
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-position: center -190px;
}
.homepage-hero {
  height: 825px;
} /* Aggiungi questo al tuo CSS */
.tagline-hero {
  font-family:
    "SAIRA", sans-serif; /* O usa "Saira" se preferisci più tecnico */
  font-weight: 300; /* Molto sottile (Light) */
  text-transform: uppercase;
  letter-spacing: 8px; /* Spaziatura molto ampia tra le lettere */
  font-size: 0.8rem; /* Dimensione piccola */
  color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Bianco leggermente trasparente per non "sparare" */
  margin-top: 230px; /* Spazio dal logo sopra */ /* Opzionale: un leggero bagliore per richiamare il neon */
  text-shadow: 0 0 10px rgba(111, 202, 255, 0.3);
} /* Fix per mobile: riduciamo un po' la spaziatura su schermi piccoli */
@media (max-width: 768px) {
  .tagline-hero {
    letter-spacing: 3px;
    font-size: 0.8rem;
  }
}
.min-vh-75 {
  min-height: 75vh !important;
}
.mask {
  position: absolute;
  background-position: 50%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.bg-cover,
.mask {
  background-size: cover;
}
.bg-gradient-primary {
  background-image: linear-gradient(310deg, #0b197f, #004b98);
}
.bg-gradient-secondary {
  background-image: linear-gradient(310deg, #3b3b3b, #909090);
}
.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  padding-right: var(--bs-gutter-x, 1.5rem);
  padding-left: var(--bs-gutter-x, 1.5rem);
}
.mt-n5 {
  margin-top: -3rem !important;
}
.mt-n7 {
  margin-top: -6rem !important;
}
.h1,
h1 {
  font-size: 3rem;
  line-height: 1;
  font-family: "Saira";
}
h2,
.h2 {
  font-size: 2.7rem;
  line-height: 1.25;
  font-family: "Saira";
}
.h1,
.h2,
h1,
h2 {
  font-weight: bold;
}
.waves {
  position: relative;
  width: 100%;
  height: 16vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}
@media (max-width: 767.98px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}
.moving-waves > use {
  animation: d 40s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.moving-waves > use:first-child {
  animation-delay: -2s;
  animation-duration: 11s;
}
.moving-waves > use:nth-child(2) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.moving-waves > use:nth-child(3) {
  animation-delay: -3s;
  animation-duration: 15s;
}
.moving-waves > use:nth-child(4) {
  animation-delay: -4s;
  animation-duration: 20s;
}
.moving-waves > use:nth-child(5) {
  animation-delay: -4s;
  animation-duration: 25s;
}
.moving-waves > use:nth-child(6) {
  animation-delay: -3s;
  animation-duration: 30s;
}
.moving-waves > use {
  animation: d 40s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
@keyframes d {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  to {
    transform: translate3d(85px, 0, 0);
  }
}
#logo {
  line-height: 0;
  font-size: 0.9rem;
}
.nav-link {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
}
.nav-link:hover {
  color: rgb(70, 187, 255);
}
.border-radius-xl {
  border-radius: 1rem;
}
.shadow-blur {
  box-shadow:
    inset 0 0 1px 1px hsla(0, 0%, 100%, 0.9),
    0 20px 27px 0 rgba(0, 0, 0, 0.05) !important;
}
.z-index-2 {
  z-index: 2 !important;
}
.mt-n10 {
  margin-top: -12rem !important;
}
hr.vertical.dark,
hr.vertical-sm {
  background-image: linear-gradient(
    180deg,
    transparent,
    rgba(0, 0, 0, 0.4),
    transparent
  );
}
hr.vertical {
  position: absolute;
  background-color: transparent;
  height: 100%;
  right: 0;
  top: 0;
  width: 1px;
}
hr.vertical-sm {
  position: absolute;
  background-color: transparent;
  height: 3rem;
  right: 0;
  top: 0;
  width: 1px;
}
.h4,
.h6,
h4,
h6 {
  font-weight: bold;
}
.text-inactive {
  background-image: linear-gradient(310deg, #3b3b3b, #909090);
}
.text-gradient.text-primary {
  background-image: linear-gradient(310deg, #13077a, #009ace);
}
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}
h5,
.h5 {
  font-size: 1.2rem;
  font-weight: 200;
  font-family: Saira, sans-serif;
}
p {
  font-family: Saira, sans-serif;
  color: grey;
}
.text-sm {
  font-size: 1.1rem !important;
  line-height: 1.5rem;
  color: grey;
  font-family: Saira, sans-serif;
}
.text-xsm {
  font-size: 0.875rem;
  font-weight: 100;
  font-family: Saira;
}
.card.card-background {
  align-items: center;
}
.card-body {
  flex: 1 1 auto;
  padding: 1.5rem;
}
.card.card-background .full-background {
  background-position: 50%;
  background-size: cover;
  margin-bottom: 30px;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 1rem;
}
.card.card-background .card-body {
  color: #fff;
  position: relative;
  z-index: 2;
}
.pt-7 {
  padding-top: 6rem !important;
}
.tilt {
  transform-style: preserve-3d;
}
.card {
  box-shadow: 0 20px 27px 0 rgb(0 0 0 / 5%);
  border: 0px;
}
.tilt .up {
  transform: translateZ(100px) scale(0.95) !important;
  transition: all 0.5s;
}
.black-test {
  color: #000;
}
.mt-6 {
  margin-top: 4rem !important;
}
.btn {
  margin-bottom: 1rem;
  text-transform: uppercase;
  box-shadow:
    0 4px 7px -1px rgb(0 0 0 / 11%),
    0 2px 4px -1px rgb(0 0 0 / 7%);
  background-size: 150%;
  background-position-x: 25%;
}
.btn.bg-gradient-primary {
  color: #fff;
}
.footer-link {
  font-size: 1rem;
}
@media (min-width: 992px) {
  .ms-lg-5 {
    margin-left: 3rem !important;
  }
  .mt-7 {
    margin-top: 7rem;
  }
}

@media (max-width: 768px) {
  #titolo {
    font-size: 3.5rem;
    letter-spacing: 0.1rem;
  }
  .mt-7 {
    margin-top: 3rem;
  }
  .footer-link {
    font-size: 0.8rem;
  }
  h2,
  .h2 {
    font-size: 2rem;
    line-height: 1.25;
  }
}
@media (min-width: 768.1px) {
  #titolo {
    font-size: 5rem;
    letter-spacing: 0.1rem;
  }
  h3 {
    font-size: 2rem;
  }
}
.position-relative {
  position: relative !important;
}
.overflow-hidden {
  overflow: hidden !important;
}
.py-7 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
.mt-n3 {
  margin-top: -1rem !important;
}
.mb-n3 {
  margin-bottom: -2rem !important;
}
@media (min-width: 992px) {
  .py-lg-10 {
    padding-top: 12rem !important;
    padding-bottom: 12rem !important;
  }
  @media (min-width: 2200px) {
    .py-lg-10 {
      padding-top: 18rem !important;
      padding-bottom: 16rem !important;
    }
  }
  #project_radiance {
    width: 60%;
  }
}
.btn-primary {
  color: #fff;
  background-color: #004477;
}
.btn-primary:hover {
  color: #fff;
  background-color: #003366;
}
.bg-gradient-dark {
  background-image: linear-gradient(310deg, #0b197f, #004b98);
}
.kanit-light {
  font-family: Kanit Thin;
}
.opacity-5 {
  opacity: 0.5;
}
.opacity-6 {
  opacity: 0.6;
}
.opacity-3 {
  opacity: 0.3;
}
svg.text-primary .color-background {
  fill: #030f30;
}
@media (min-width: 992px) {
  .col-lg-7 {
    width: 65%;
  }
  .pb-lg-8 {
    padding-bottom: 10rem !important;
  }
  .mt-lg-n8 {
    margin-top: -8rem !important;
  }
  .mb-lg-auto {
    margin-bottom: auto !important;
  }
  .border-radius-bottom-end-lg-0 {
    border-bottom-right-radius: 0 !important;
  }
  .border-radius-top-end-lg-0 {
    border-top-right-radius: 0 !important;
  }
  .border-radius-top-start-lg-0 {
    border-top-left-radius: 0 !important;
  }
  .border-radius-bottom-start-lg-0 {
    border-bottom-left-radius: 0 !important;
  }
}
.lightblue {
  color: #6fcaff;
}
.py-sm-7 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
.card .card-header {
  padding: 1.5rem;
}
.card-header:first-child {
  border-radius: 1rem 1rem 0 0;
}
.card-header {
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  background-color: #fff;
  border-bottom: 0 solid rgba(0, 0, 0, 0.125);
}
.card {
  border-radius: 1rem;
}
.hr-gradient {
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(2, 23, 82, 1),
    transparent
  );
  background-color: transparent;
}
@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: none;
  }
  .navbar .nav-item:hover .nav-link {
  }
  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }
  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
  }
}
.hx-divider-gradient {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(60, 60, 60, 0.8),
    transparent
  );
  border: none;
  margin: 25px 0;
} /* Colore neutro per i testi del modal (non bianco puro) */
.hx-modal p,
.hx-modal label,
.hx-modal h3 {
  color: rgb(70, 70, 70);
}
.hx-nav {
  position: sticky; /* o relative se già gestisci tu */
  top: 0;
  z-index: 1000;
  
} /* layer blur/background */
.hx-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms ease;
  background: rgba(0, 0, 0, 0.75);
  pointer-events: none;
} /* linea sfumata sotto */
.hx-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  opacity: 0;
  transition: opacity 400ms ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  pointer-events: none;
} /* quando attiva */
.hx-nav.hx-nav--blur::before,
.hx-nav.hx-nav--blur::after {
  opacity: 1;
} /* contenuti sopra ai pseudo-elementi */
.hx-nav > * {
  position: relative;
  z-index: 1;
}
.btn-hxa-accedi {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px; /* gradiente */
  background: linear-gradient(
    135deg,
    #3f85b6 0%,
    /* arancione chiaro */ #00385e 100% /* arancione scuro */
  ); /* bordo più chiaro */
  border: 1px solid rgba(90, 217, 255, 0.9); /* bootstrap-like */
  border-radius: 0.5rem;
  padding: 0.45rem 0.8rem; /* profondità */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.4);
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 120ms ease;
} /* hover */
.btn-hxa-accedi:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #3f85b6 0%, #042350 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.55); /*transform: translateY(-1px);*/
} /* active (click) */
.btn-hxa-accedi:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4);
} /* focus (accessibilità, senza alone blu Bootstrap) */
.btn-hxa-accedi:focus {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255, 140, 50, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.move-on-hover {
  transition: 0.2s ease-out;
  overflow: hidden;
  transform-origin: 50% 0;
  transform: perspective(999px) rotateX(0deg) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}
.move-on-hover:hover {
  transform: perspective(999px) rotateX(7deg) translate3d(0, -4px, 5px);
}

.profile-menu {
    /* Sfondo grigio scuro con opacità 90% */
    background:#212529 !important; 
    backdrop-filter: blur(12px)!important;
    -webkit-backdrop-filter: blur(12px)!important;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Leggero bordo per staccare dal fondo */
    padding: 10px 0;
    margin-top:0.3rem !important;
    
}

/* Link bianchi di base */
.profile-menu .dropdown-item {
    color: #ffffff !important;
    padding: 8px 20px;
    transition: all 0.2s ease;
    
}

/* Effetto Hover: Sfondo bianco opacità 0.2 */
.profile-menu .dropdown-item:hover,
.profile-menu .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important; /* Mantiene il testo bianco */
}

/* Opzionale: Colore icone più visibile al passaggio del mouse */
.profile-menu .dropdown-item:hover i {
    opacity: 1 !important;
}


@media (max-width: 991.98px) {
    
    .hx-mobile-logo-absolute {
        position: absolute !important;
        left: 50% !important;
        top: 22px !important;        /* Metà esatta di 66px */
        transform: translate(-50%, -50%) !important;
        z-index: 2000 !important;    /* Sopra tutto */
        height: 40px;
        display: flex !important;
        align-items: center;
        pointer-events: none;        /* Click through sul contenitore */
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .hx-mobile-logo-absolute img {
        height: 35px !important;     /* Forza dimensione */
        width: auto !important;
        display: block !important;
        pointer-events: auto;        /* Riabilita click img */
    }


}

