@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@font-face {
  font-family: 'Monoska';
  src: url('/assets/fonts/Monoska.ttf');
}

:root {
  /* 🎨 Colors */
  --primary-color: #101870;
  --secondary-color: #0C092F;
  --accent-color: #1D1E35;
  --dark-color: #0d092f;
  --light-color: #83adff;
  --utility-color: #B2CCFF;
  --utility-gray: #314161;
  --utility-brand: #3E5177;
  --cta-color: #1532EF;
  --border-color: #2E50FA;
  --border-color-2: #586E99;
  --border-color-indigo-200: #C7D7FE;

  --positive-color: #21BA45;
  --negative-color: #C10015;
  --warning-color: #F2C037;
  --info-color: #31CCEC;

  --text-color-indigo-700: #3538CD;
  --text-color-brand-700: #1225A1;


  --h-color: #F9FAFB;
  --p-color: #98A3BA;
  --a-color: #D1D5DE;
  --label-color: #F6F7F8;
  --value-color: #CACED6;
  
  --dark-text: #141C2B;
  --dark-text-2: #1E293E;
  --light-text: #84ADFF;
  --light-text-2: #D1E0FF;
  --light-text-3: #F4F5F6;

  --bg-dark-2: #090C13;
  --bg-dark-3: #110D45;
  --bg-light: #E7E9ED;
  --bg-brand-50: #EFF4FF;

  /* Radii */
  --radius-xl: 16px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-xs: 5px;
  --radius-rounded: 9999px;

  --padding-xl: 7em;
  --padding-lg: 5.5em;
  --padding-md: 4.6em;
  --padding-sm: 3em;
  --padding-xs: 1em;
}

/* ## Helper classes */
/* ------------------------------------------------------------------------ */
.primary-bg {
  background-color: var(--primary-color);
}
.primary-text {
  color: var(--primary-color);
}
.cta-bg {
  background-color: var(--cta-color);
}
.rotate-45 {
  transform: rotate(45deg);
}
.rotate-180 {
  transform: rotate(180deg);
}

.bg-white{
background-color: white;
}

.text-white{
  color: white;
}
.text-utility-gray{
  color: var(--utility-gray);
}
.text-dark{
  color: var(--dark-text);
}
.text-semibold{
  font-weight: 600;
}
.h-color{
  color: var(--h-color);
}
.label-color{
  color: var(--label-color);
}
.value-color{
  color: var(--value-color);
}
.border-color-2{
  border-color: var(--border-color-2);
}

.m-t-lg { margin-top: 6em !important; }
.m-t-md { margin-top: 2em !important; }
.m-t-sm { margin-top: .8em !important; }

.p-x-md {
  padding-inline: 4em !important;
}
.p-y-md {
  padding-block: 4em !important;
}
.m-x-md {
  margin-inline: 4em !important;
}
.m-y-sm {
  margin-block: 2em !important;
}
.m-y-md {
  margin-block: 4em !important;
}
.m-y-lg {
  margin-block: 8em !important;
}
.m-y-xl {
  margin-block: 12em !important;
}
.m-b-sm {
  margin-bottom: .8em !important;
}
.m-b-md {
  margin-bottom: 2em !important;
}
.m-b-lg {
  margin-bottom: 6em !important;
}
.m-b-xl {
  margin-bottom: 8em !important;
}

/* ## Defaults */
/* ------------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}
body {
  background: var( --utility-color);
  /* background: var(--secondary-color); */
  
  color: var(--a-color);
  /* font-family: 'Poppins', sans-serif;
  font-family: 'Inter', sans-serif; */
  font-family: Manrope, 'Open Sans', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--h-color);
}

a {
  color: var(--a-color);
  font-family: Manrope, 'Open Sans', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  letter-spacing: 0.5px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  
  display: inline-block;
}
a:hover {
  color: var(--p-color);
}

p {
  color: var(--p-color);
}
ul.text-ul:not(.menu) {
  padding: 0 0.5em;
  margin: 0.8em 0;
  list-style: none;
} 
 
.text-ul li:not(.menu-item) {
  position: relative;
  padding-left: 1.5rem;
}
    
.text-ul li:not(.menu-item):before {
  content: "\2022";
  margin-right: .5rem;
  font-size: 1.7rem;
  position: absolute;
  left: 0;
  top: 0;
}
input {
  font-family: Manrope, 'Open Sans', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

/* ## Layout */
/* ------------------------------------------------------------------------ */
.wrapper {
  background: var(--secondary-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  max-width: 1512px;
  margin: 0;
}

.wrapper.light{
  background: var(--bg-light);
}

.section-wrapper {
  padding-inline: var(--padding-xs);
  margin: 0 auto;
}

.section-wrapper-medium{
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 var(--padding-xs);
}

.section-container {
  display: grid;
  gap: 48px;
  width: 100%;
  grid-template-columns: 1fr;  
  padding: 40px 0;
  margin: 24px 0;
}

separator{
  height: 1px;
  border: 1px solid var(--utility-brand);
}

@media (min-width: 1024px) {
  .section-container {
      grid-template-columns: 1fr 1.44fr;  
      padding: 40px 94px;
  }

  .section-container:has(> :only-child){
    grid-template-columns: unset;
    justify-content: center;
    align-items: center;
  }

  .section-container > :only-child{
    width: 676px;
  }

  .section-container .left-column{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.section-wrapper-small {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--padding-xs);
}

@media screen and (min-width: 1024px) {
  body {
    padding: 16px;
  }
  .wrapper {
    margin: 0 auto;
  }
  
  .section-wrapper {
    padding-inline: var(--padding-md);
  }

  .section-wrapper-small {
    padding-inline: var(--padding-md);
  }
}

/* ## Utility classes */
/* ------------------------------------------------------------------------ */
.work-in-progress {
  position: relative !important;
}

.work-in-progress::after {
  content: "🚧";  /* alternatives: 🚧 ⚠️ ⌛ ✎ ⚙️ */
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: #ff3333;  /* bright red if we use text as content */
  font-size: 22px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 6px 6px 15px rgba(255, 255, 255, 0.3), -6px -6px 15px rgba(255, 255, 255, 0.3);
  z-index: 999;
  pointer-events: none;
}
.work-in-progress.under-construction::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: .8;
}
.work-in-progress.under-construction::after {
  content: "🚧";  /* alternatives: 🚧 ⚠️ ⌛ ✎ ⚙️ */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ff3333;  /* bright red if we use text as content */
  font-size: 200px;
  text-shadow: 6px 6px 15px rgba(0, 0, 0, 0.5), -6px -6px 15px rgba(0, 0, 0, 0.5);

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
}

/* ## Elements styles */
/* ------------------------------------------------------------------------ */
.breadcrumbs {
  margin: var(--padding-xs);

  position: absolute;
  top: 93px;
  z-index: 1;

  display: flex;
  align-items: flex-start;
  gap: 0.5em;

  color: var(--a-color);
  font-size: 14px;
  font-weight: 300;
}
.breadcrumbs img {
  width: 20px;
}
.breadcrumbs a {
  color: var(--p-color);
  font-size: 14px;
  font-weight: 300;
}

.breadcrumbs.light{
  color: var(--utility-brand);
}

.breadcrumbs.light a{
  color: var(--border-color-2);
}


@media (min-width: 1024px) {
  .breadcrumbs {
    margin: 0 var(--padding-md);
  }
}

.cta-btn {
  cursor: pointer;
  background-color: var(--cta-color);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-rounded);
  color: white;
  font-weight: 300;
  font-size: 13px;
  padding: 8px 26px;
  text-align: center;
  text-decoration: none;
  
  display: flex;
  gap: .6em;
  justify-content: center;
  align-items: center;
  width: fit-content;
}
.cta-btn.cta-big {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding: 0.7em 1.3em;
}
.cta-deep {
  background: var(--text-color-brand-700);
  border: 1px solid var(--border-color);
  color: #fff;
}
.cta-outline {
  background: #fff;
  border: 1px solid var(--border-color-2);
  color: var(--utility-gray);
  box-shadow: 0px 0px 0px 1px rgba(10, 13, 18, 0.18) inset, 0px -2px 0px 0px rgba(10, 13, 18, 0.05) inset, 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
}
.cta-btn.cta-dark {
  border: 1px solid var(--border-color-2);
  background: var(--dark-text);
  box-shadow: 0px 0px 0px 1px rgba(12, 14, 18, 0.18) inset, 0px -2px 0px 0px rgba(12, 14, 18, 0.05) inset, 0px 1px 2px 0px rgba(255, 255, 255, 0.00);
  color: var(--a-color);
  width: 100%;
}

.tag-chip {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color-2);
  color: var(--light-text);
  border-radius: var(--radius-rounded);
  padding: 2px 10px;
  font-size: 12px;
  width: fit-content;
  white-space: nowrap;
}

.component-error { /* an empty div with 'error loading component' inside */
  background: var(--border-color-2);
  background: var(--bg-dark-2);
  border: 6px solid var(--cta-color);
  font-size: 28px;
  font-weight: bold;
  display: flex;
  gap: 1em;
  align-items: center;
  justify-content: center;
  padding: 4em;
  margin: 3em;
  min-height: 200px;
  text-align: center;
}

.check-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-rounded);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("/assets/images/elements/check.png");
}

/* ## Standard carousel */
/* ------------------------------------------------------------------------ */
.carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5em;
  --current-slide: 0;
}

.carousel .slides {
  display: flex;
  transition: transform 0.5s;
  transform: translateX(calc(-100% * var(--current-slide)));
}

.carousel .slide {
  flex: 0 0 100%;
}

.carousel .carousel-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel .carousel-dot {
  width: 1rem;
  height: 1rem;
  background-color: var(--utility-gray);
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s ease;
}

.carousel .carousel-dot.active {
  background-color: var(--light-text-3);
  border: 1px solid var(--a-color);
  width: 1.2rem;
  height: 1.2rem;
}

.carousel .carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  padding: 0;
  margin: 0.5rem;
  border-radius: 50%;
  background-color: var(--light-text);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.1s;
}

.carousel .carousel-button_next {
  right: 0;
}

.carousel-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--light-text-2);
  border-radius: var(--radius-rounded);
  padding: 0.5em 0.8em;
  color: var(--bg-dark-3);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

  /* 40% cards version --------------------- */
  .carousel-multi-40.carousel .slide {
    flex: 0 0 80%;
    padding-right: 1em;
  }

  .carousel-multi-40.carousel .slides {
    transform: translateX(calc(-80% * var(--current-slide)));
  }

@media (min-width: 768px) {
  .carousel-multi-40.carousel .slide {
    flex: 0 0 60%;
    padding-right: 2em;
  }

  .carousel-multi-40.carousel .slides {
    transform: translateX(calc(-60% * var(--current-slide)));
  }
}
@media (min-width: 1024px) {
  .carousel-multi-40.carousel .slide {
    flex: 0 0 40%;
    padding-right: 2em;
  }

  .carousel-multi-40.carousel .slides {
    transform: translateX(calc(-40% * var(--current-slide)));
  }
}


/* ## Forms */
/* ------------------------------------------------------------------------ */
label {
  margin-bottom: 0.6em;
  display: block;
}
input[type="text"], select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color-2);
  background: var(--bg-dark-2);
  box-shadow: 0px 1px 2px 0px rgba(255, 255, 255, 0.00);
  height: 42px;
  display: block;
  color: var(--a-color);
  padding: .4em .6em;
  width: 100%;
}
.button-form {
  cursor: pointer;
  background-color: var(--text-color-brand-700);
  border: none;
  border-radius: var(--radius-xs);
  color: var(--light-text-3);
  font-weight: 500;
  font-size: 16px;
  height: 42px;
  padding: 8px 26px;
  text-align: center;
  text-decoration: none;

  display: flex;
  gap: .6em;
  justify-content: center;
  align-items: center;
  width: fit-content;
}
.button-form.button-form-outline {
  background: var(--secondary-color);
  border: 1px solid var(--utility-gray);
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--light-text-3);
  border-radius: 4px;
  background-color: var(--dark-color);
  cursor: pointer;
  position: relative;
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.type-button {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #314160;
  background: transparent;
  color: var(--light-text-3);
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.type-button.active {
  background: var(--dark-text);
  border-color: var(--border-color);
  color: white;
}

.type-button:hover, .type-button:hover {
  background: #1e283f;
  border-color: var(--border-color);
  color: white;
}


/* ## Modal Overlay */
/* ------------------------------------------------------------------------ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: var(--secondary-color);
  border: 1px solid var(--bg-dark-3);
  color: var(--a-color);
  
  border-radius: var(--radius-md);
  max-width: 624px;
  width: 90%;
  position: relative;
}

.modal.light {
  background-color: var(--h-color);
  color: var(--dark-text);
}

.modal .inner-container {
  position: relative;
  padding: 1.5em;
}

.modal h1, .modal h2, .modal h3, .modal p, .modal button {
  color: var(--a-color);
}

.modal h2 {
  color: var(--h-color);
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 32px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}
.modal-overlay .closeModal {
  border: none;
  background: none;
  font-size: 30px;
  cursor: pointer;
  text-align: center;
  color: var(--border-color-2);
}

/* Animation classes */
.modal-overlay.fade-in {
  display: flex;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ------------------------------------------------------------------------ */

.toggle-sections .toggle-section {
    display: none;
}

.toggle-sections .toggle-section.active {
    display: block;
}
.logo-strip {
  margin-block: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.logo-strip .container{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-strip .container .inner-container{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-strip .tag{
  text-align: center;
  padding: 2px 8px;
  border-radius: var(--radius-rounded);
  border: 1px solid var(--border-color-2);
  background-color: var(--dark-text);
  color: var(--a-color);
  font-size: 12px;
  font-weight: 400;
  width: fit-content;
}

.logo-strip .title {
  font-size: 30px;
  font-weight: 500;
  color: var(--h-color);
  margin: 0;
}

.logo-strip.centered .container{
  justify-content: center;
}

.logo-strip .description {
  margin: 0;
  font-size: 16px;
}

.logo-strip .link{
  text-align: center;
    text-decoration: none;
    color: var(--dark-text);
    background-color: var(--light-text-2);
    border-radius: var(--radius-rounded);
    padding: 8px 12px;
    line-height: 20px;
    display: flex;
    width: fit-content;
    white-space: nowrap;
;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
}

.logo-strip .items {
  display: flex;
  gap: 1em;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding-inline: 20px;
  overflow-x: auto;
  scrollbar-color: var( --utility-color) var(--primary-color);
  scrollbar-width: thin;
}

.logo-strip .items .items-inner {
  display: flex;
  align-items: center;
}
.logo-strip .image {
  min-width: 100px;
}

@media screen and (min-width: 1024px) {
  .logo-strip .items{
    gap: 2em;
    grid-template-columns: repeat(8, auto);
    justify-content: center;
  }

  .logo-strip .container{
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    gap: 0;
  }

  .logo-strip .title{
    font-size: 48px;
  }

  .logo-strip .link{
    align-self: end;
  }
}

.features-home {
  display: flex;
  flex-direction: column;
  margin: 80px 0;
  gap: 40px;
}

.features-home .header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-home .title {
  color: var(--h-color);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 6px;
}

.features-home .subtitle {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--p-color);
}

.features-home .carousel-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.features-home .features-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 20px;
  padding-right: 40px;
  margin-right: -40px;
}

.features-home .features-container::-webkit-scrollbar {
  display: none;
}

.features-home .card {
  position: relative;
  flex: 0 0 80%;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  height: 260px;
  padding: 25px;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  
  /* Background setup */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for better text readability */
.features-home .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(46, 80, 250, 0.3),
    rgb(14 14 18 / 80%),
    rgb(14 14 18 / 80%),
    rgba(46, 80, 250, 0.3)
  );
  z-index: 1;
}

/* Gradient overlay */
.features-home .card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}


/* Hover state - show solid gradient */
.features-home .card.no-image::after,
.features-home .card:hover::after {
  background: linear-gradient(
    to bottom right,
    /* var(--cta-color), */
    var(--primary-color),
    var(--bg-dark-3),
    var(--bg-dark-3),
    var(--primary-color)
    /* var(--cta-color) */
  );
}

/* Ensure content stays above overlays */
.features-home .card .actions,
.features-home .card .content {
  position: relative;
  z-index: 3;
}

.features-home .actions {
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.features-home .tags {
  display: flex;
  gap: 6px;
  align-items: center;
}

.features-home .tag {
  cursor: default;
  background-color: var(--secondary-color);
  border: 1.5px solid var(--border-color);
  border-radius: 9999px;
  color: var(--light-text);
  font-size: 14.5px;
  padding: 2px 10px;
}

.features-home .link {
  color: var(--h-color);
  font-size: 22px;
  font-weight: lighter;
  pointer-events: none;
}

.features-home .content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1;
}

.features-home .content .title {
  font-size: 32px;
  color: var(--h-color);
  font-weight: 500;
}

.features-home .content .description {
  color: var(--utility-color);
  font-size: 19px;
  font-weight: 400;
}

.features-home .controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.features-home .controls .prev,
.features-home .controls .next {
  background-color: var(--dark-text);
  color: white;
  border: 1px solid var(--border-color-2);
  padding: 10px 16.5px;
  cursor: pointer;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 100;
}

@media (min-width: 768px) {
  .features-home .features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-right: 0;
    padding-right: 0;
  }
  
  .features-home .controls {
    display: none;
  }
}

@media (min-width: 1024px) {
  .features-home .features-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-right: 0;
  }
  
  .features-home .last-item {
    grid-column: span 2;
  }
}
.contact-box {
  margin-block: 80px;
}

.contact-box .contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}
.contact-box .contacts-wrapper p {
  font-size: .9em;
}
.contact-box .contact-inner{
  background-color: var(--dark-text-2);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.contact-box .contact-inner h3 {
  font-size: 14px;
  margin-block: 0.6em;
}

.contact-box .address{
  display: grid;
  gap: 0.8em;
}

.contact-box .address-data{
  display: flex;
  align-items: center;
}

.contact-box  .address-pic {
  width: 100%;
}

.contact-box .icon{
  padding-left: 2px;
  padding-right: 4px;
  border-width: 2px;
  width: 25px;
  margin-right: 5px;
}

.contact-box .contacts{
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1em;
  
}

.contact-box .contact-box-tag {
  border: 1px solid;
  padding: 5px;
  border-radius: var(--radius-rounded);
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .contact-box .contacts-wrapper{
    grid-template-columns: 56% 1fr;
    justify-content: center;

  }
}

/* NTT */
.email-box {
  max-height: 180px;
}

.phone-box {
  max-height: 180px;
}
.header {
  padding: 20px 10px 10px;
  /* border-radius: var(--radius-lg) var(--radius-lg) 0 0; */
  position: relative;
  background-color: var(--secondary-color);
}

.header .container {
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: 122px 30px;
  margin: 0 auto;
}

/* Logo */
.header .logo img {
  margin-bottom: -11px;
}

/* Desktop Navigation - Hidden on Mobile */
.header .nav {
  display: none;
}

/* Icons Section */
.header .icons {
  display: none;
  align-items: center;
  gap: 10px;
}

.header .cta-button {
  background: var(--cta-color);
  border: 2px solid #2E50FA;
  color: white;
  padding: 10px;
  border-radius: var(--radius-rounded);
  cursor: pointer;
  width: 38px;
  height: 38px;
}

.header .options {
  background: var(--accent-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: 4px;
}

.header .search-button {
  display: flex;
  background: transparent;
  border-radius: var(--radius-rounded);
  border: 1px solid var(--border-color-2);
  color: white;
  cursor: pointer;
  font-size: 12px;
  padding: 8px;
  width: 30px;
  height: 30px;
}

/* Selettore Lingua */
.header .language-selector {
  position: relative;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .language-selector i {
  font-size: 16px;
}

.header .language-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: -5px;
  background: var(--accent-color);
  border-radius: var(--radius-md);
  display: none;
  list-style: none;
  padding: 5px 0;
  margin: 5px 0 0;
  width: 120px;
  z-index: 999;
}

.header .language-dropdown li {
  padding: 8px 12px;
  color: white;
  cursor: pointer;
}

.header .language-dropdown li:hover {
  background: #005eff;
}

.header .language-selector.open .language-dropdown {
  display: block;
}


/* Mobile Menu Toggle */
.header .menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  position: relative;
}
.header .menu-toggle i {
  font-size: 20px;
  color: white;
}

.header .mobile-menu {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  left: 0;
  background: #0B0D33;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.header .mobile-menu.show {
    display: block;
}

.header .mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  /* text-align: center; */
}

.header .mobile-menu li {
  padding: 10px 0;
  margin: 10px 0;
}

.header .mobile-menu li:not(:last-child) {
  border-bottom: 1px solid var(--utility-gray);
}

.header .mobile-menu a {
  text-decoration: none;
  display: block;
}
.header .mobile-menu .menu-item > a {
  color: var(--h-color);
  font-size: 22px;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* menu item arrow  ---------------------- */
.header .mobile-menu  .menu-item .main-item::after {
  content: "\f107";
  font-family: Fontawesome;
  display: flex;
  align-items: center;
  margin-left: 8px;
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.menu-item.open .main-item::after {
  transform: rotate(180deg);
}
/* ---------------------------------------- */



.header .mobile-menu .submenu {
  padding: 1em .2em;
}

.header .mobile-menu .submenu-item {
  padding: .7em 0.2em .6em;
}

.header .mobile-menu .submenu-item p {
  font-size: 15px;
}

/* Extra elementi nel menu mobile */
.header .mobile-extra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}


/* Desktop Styles */
@media (min-width: 1180px) {
  .header {
    padding: 10px;
  }
  .header .container {
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: 122px 1fr 162px;
  }
  .header .icons {
    display: none;
  }

  /* Hide Mobile Elements */
  .header .menu-toggle {
      display: none;
  }
  
  .header .mobile-menu.show {
      display: none;
  }

  /* Show Desktop Navigation */
  .header .nav {
    display: block;
    margin: 0 1em;
  }

  .header .menu {
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header .menu-item > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .header-menu a {
    color: var(--h-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
  }

  .header .menu-item .plus {
    margin-right: 4px;
  }

  .header .menu-item:hover > a {
    background: rgba(255, 255, 255, 0.1);
  }

  .header .menu-item.active > a {
    background: var(--cta-color);
  }

  /* Show Desktop Icons */
  .header .icons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header .cta {
    background: var(--cta-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .header .cta:hover {
    background: #2442FF;
  }
}

.header .submenu {
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all .2s ease-in-out;
  /* height: 0; */
  opacity: 0;
  overflow: hidden;
  z-index: 9999;
}
.header .menu-item.open .submenu {
  pointer-events: all;
  opacity: 1;
  /* height: 500px; */
}
.header .mobile-menu li { position: relative;}
.header .mobile-menu .submenu { position: relative; display: none;}
.header .mobile-menu .menu-item.open .submenu { display: flex;}

.header .submenu-wrapper {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 2em;
}

.header .submenu-intro {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.header .submenu-title {
  font-size: 32px;
  font-weight: 500;
  color: white;
  margin: 0;
}

.header .submenu-subtitle {
  font-size: 16px;
  color: #a1a1a1;
  margin: 0;
  line-height: 1.5;
}

.header .submenu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--light-text-2);
  border-radius: 9999px;
  padding: 12px 20px;
  color: var(--bg-dark-3);
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.2s ease;
}

.header .submenu-cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header .submenu-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--dark-text);
  padding: 1em;
  border-radius: var(--radius-xl);
}

.header .submenu-category {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header .category-tag {
  width: fit-content;
}

.header .submenu-grid {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.header .submenu-item, .header a.submenu-item {
  display: flex;
  gap: .5em;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  border-bottom: 1px solid var(--dark-text-2);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: var(--light-text-3);
  font-weight: 500;
  padding: .7em .7em .6em;
  transition: all 0.2s ease;
}

.header .submenu-item:hover {
  background: var(--dark-text-2);
}

.header .submenu-item span {
  font-size: 15px;
}

.header .submenu-item .icon {
  border-radius: var(--radius-sm);
  background: var(--dark-text-2);
  padding: .85em .55em;
  transition: all 0.2s ease;
}

.header .submenu-item:hover .icon {
  background: var(--border-color);
}

.header .submenu-subtitle {
  font-size: .95em;
  font-weight: 300;
  margin: 0.2em 0;
}

/* Menu cards ---------------------------------------- */
.header .cards-wrapper {
  display: grid;
  gap: 1em;
  width: 100%;
  margin: 0 auto;
}
.header .card {
  border-radius: var(--radius-sm);
  background: var(--primary-color);
  max-width: 784px;
  overflow: hidden;
}
.header .cards-wrapper .submenu-item {
  display: grid;
  gap: 1em;
}
.header .cards-wrapper .submenu-item .info {
  display: flex;
  gap: 1em;
  justify-content: space-between;
}

.header .cards-wrapper .submenu-item .icon {
  background: var(--cta-color);
  padding: .85em .55em;
  transition: all 0.2s ease;
}

.header .cards-wrapper .submenu-item:hover .icon {
  background: var(--border-color);
}


@media (min-width: 1024px) {
  .header .submenu {
      padding: 40px;
  }

  .header .submenu-wrapper {
      grid-template-columns: 400px 1fr;
  }

  .header .submenu-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1em;
  }

  .header .cards-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.hero-1 {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    border-radius: var(--radius-lg);
    gap: 64px;
    margin-top: 5em;
    margin-bottom: 3em;
    padding-top: var(--padding-md);
}

.hero-1 .content{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-1 .text{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-1 .title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    color: var(--h-color);
}

.hero-1 .subtitle {
    font-size: 16px;
    color: var(--p-color);
}

.hero-1 .button{
    background-color: var(--cta-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-rounded);
    padding: 16px 22px;
    color: white;
    font-size: 16px;
    width: 100%;
}

.hero-1 .image{
    position: relative;
    display: flex;
    align-items: flex-start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    border-radius: var(--radius-sm);
}

.hero-1 .tags{
    margin-top: -30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Monoska', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.3;
    /* background-color: rgb(12, 14, 18, 0.7); */
    color: var(--light-text-3);
    border-radius: var(--radius-xl);
    padding: 24px;
    /* border: 1px solid rgb(12, 14, 18, 0.3); */
    background-image: url("/assets/images/hero/tag-overlay.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}


@media (min-width: 768px) {

    .hero-1 .title{
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-1 {
        flex-direction: row;
        margin-top: 90px;
        margin-bottom: 90px;
        align-items: center;
    }

    .hero-1 .content{
        width: 52%;
    }

    .hero-1 .title{
        font-size: 60px;
    }

    .hero-1 .subtitle{
        font-size: 20px;
        line-height: 1.5;
        width: 67%;
    }

    .hero-1 .button{
        font-size: 18px;
        width: fit-content;
    }

    .hero-1 .image{
        width: 50%;
        height: 500px;
    }

    .hero-1 .tags{
        margin-left: -20px;
        font-size: 38px;
        padding: 18px;
        line-height: 1.2;
        min-width: 410px;
        width: 65%;
        max-width: 544px;

    }
}
.cards-carousel {
  display: flex;
  flex-direction: column;
  margin: 3em 0;
  gap: 20px;
}

.cards-carousel .header{
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cards-carousel .header .title {
  color: var(--h-color);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 6px;
}

.cards-carousel .subtitle {
  font-size: var(--radius-xl);
  margin: 0 0 8px;
  color: var(--p-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cards-carousel .types{
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  flex-wrap: wrap;

}

.cards-carousel .type{
  color: var(--p-color);
  border: 1px solid var(--border-color-2);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  cursor: pointer;
}

.cards-carousel .type.active{
  color: var(--light-text-3);
  border: 1px solid var(--border-color);
  background-color: var(--dark-text);
}

.cards-carousel .cta-container{
  width: fit-content;
}

.cards-carousel .link{ 
  text-align: center;
  text-decoration: none;
  color: var(--dark-text);
  background-color: var(--light-text-2);
  border-radius: var(--radius-rounded);
  padding: 8px 20px;
  line-height: 20px;
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
}

.cards-carousel .link:hover{
  color: var(--dark-text);
}


.cards-carousel .carousel-wrapper {
  display: flex; flex-direction: column; gap:15px;
}

.cards-carousel .container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; 
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 20px; 
  margin-right: -40px;
  padding-right: 40px;
  scrollbar-width: none;
}

.cards-carousel .container::-webkit-scrollbar {
  display: none; 
}
  
  .cards-carousel .card-item {
    flex: 0 0 302px;
    scroll-snap-align: start; 
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr;

    border: 1px solid var(--utility-brand);
    border-radius: var(--radius-sm);
    background-color: var(--dark-text-2);
    height: 394px;

  }


  .cards-carousel .card-item:has(.image) {
    grid-template-rows: 200px 1fr;
    height: unset;
  }

  .cards-carousel.blue-cards .card-item, .cards-carousel .card-item.blue-card {
    background-color: var(--primary-color);
    border: none;
  }

  .cards-carousel .card-item .image{

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column-reverse;
    padding: 10px;
    align-items: start;
    flex: 1;
    min-height: 200px;
    height: 200px;
    max-height: 200px;

  }

  .cards-carousel .card-item .image img{
    display: block;
    height: 200px;
  }

  .cards-carousel .card-item .image-tags{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .cards-carousel .card-item .image-tag{
    background-color: var(--dark-text);
    border: 1px solid var(--border-color-2);
    color: var(--a-color);
    border-radius: var(--radius-rounded);
    padding: 2px 8px;
    font-size: 12px;
    white-space: nowrap;
  }


  .cards-carousel .card-item .infos{
    display: grid;
    grid-template-rows: 1fr 40px;
    padding: 12px;
    gap: 1em;
  }

  .cards-carousel .card-item .details {
    display: flex;
    flex-direction: column;
    gap: .6em;
  }

  .cards-carousel .card-item .tag-container{
    display: flex;
    flex-direction: column;
    gap:8px
  }

  .cards-carousel .card-item .date-c{
    display: flex;
  }
  
  .cards-carousel .card-item .date{
    background-color: #1F235B;
    border: 1px solid #2D31A6;
    padding: 4px 12px;
    color: #A4BCFD;
    font-size: var(--radius-lg);
    border-radius: var(--radius-rounded);
  }
  
  .cards-carousel .card-item .tags {
    display: flex;
    gap: 6px;
    flex-direction: row;
  }
  
  .cards-carousel .card-item .tag {
    cursor:default;
    background-color: var(--secondary-color);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-rounded);
    color: var(--light-text);
    font-size: 14.5px;
    padding: 2px 10px;
  }

  .cards-carousel .card-item .link{
    color: var(--a-color);
    font-size: var(--radius-lg);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    background-color: var(--dark-text);
    padding: .5em 1em;
    display: flex;
    gap: 0.6em;
    align-items: center;
    justify-content: center;
    width: 100%;
  }


  .cards-carousel .card-item .title{
    font-size: 24px;
    color: var(--h-color);
    font-weight: 500;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: none;
    line-clamp: none;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    
  }

  .cards-carousel .card-item .description{
    font-size: 14px;
    color: var(--a-color);
    font-weight: 300;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
  }



  /*Pulsanti di navigazione */
.cards-carousel .controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cards-carousel .controls div {
  background-color: var(--dark-text);
  color: white;
  border: 1px solid var(--border-color-2);
  padding: 10px 16.5px;
  cursor: pointer;
  border-radius: var(--radius-rounded);
  font-size: 15px;
  font-weight: 100;
}



/*LIGHT VERSION*/
.cards-carousel.light .card-item, .cards-carousel .card-item.light {
  background-color: var(--h-color);
  border: none;
}

.cards-carousel.light .card-item .image-tag{
  background-color: var(--h-color);
  border: 1px solid var(--border-color-2);
  color: var(--utility-gray);
}

.cards-carousel.light .card-item .date{
  background-color: #EEF4FF;
  border: 1px solid var(--border-color-indigo-200);
  color: var(--text-color-indigo-700);
}

.cards-carousel.light .card-item .tag {
  background-color: var(--bg-brand-50);
  border: 1.5px solid var(--border-color);
  color: var(--text-color-brand-700);
}

.cards-carousel.light .card-item .title{
  color: var(--dark-text);
}

.cards-carousel.light .card-item .description{
  color: var(--utility-gray);
}

.cards-carousel.light .card-item .link{
  color: var(--utility-gray);
  border: 1px solid var(--border-color-2);
  background-color: white;
}


/*LIGHT BACKGROUND VERSION*/
.cards-carousel.light-bg .header .title {
  color: var(--dark-text);
  font-weight: 500;
}

.cards-carousel.light-bg .subtitle {
  color: var(--dark-text);
}

.cards-carousel.light-bg .type{
  color: var(--border-color-2);
}

.cards-carousel.light-bg .type.active{
  color: var(--dark-text);
  border: 1px solid var(--border-color);
  background-color: transparent;
  font-weight: 500;
}

.cards-carousel.light-bg .link{ 
  border: 1px solid var(--border-color);
  background-color: var(--text-color-brand-700);
  color: white;
}


.cards-carousel.light-bg .link:hover{
  color: var(--a-color);
}

.cards-carousel.light-bg .controls div {
  background-color: white;
  color: #414651; 
  border: 1px solid var(--border-color-2);
}


/*SMALL LINK*/
.cards-carousel.small-link .card-item .link{
  width: fit-content;
}


@media (min-width: 768px){
  .cards-carousel .card-item{
    flex: 0 0 42%;
  }
}


@media(min-width:1024px){

  .cards-carousel .header{
    position: relative;
  }

  .cards-carousel .header .title{
    padding-right: 120px;
  }

  .cards-carousel .cta-container{
    position: absolute;
    top: 12px;
    right: 10px;
  }

  .cards-carousel .card-item{
    flex: 0 0 450px;
  }

  .cards-carousel .container{
    gap: 20px;
  }

  .cards-carousel .card-item .title{
    -webkit-line-clamp: none;
    line-clamp: none;
    font-size: 22px;
  }

  .cards-carousel .card-item .infos {
    gap: 2em;
  }

  .cards-carousel .card-item .tag-container{
    flex-direction: row;
  }
  .cards-carousel .card-item .tag-container{
    max-height: 28px;
  }

  .cards-carousel .header .title {
    font-weight: 500;
    font-size: 28px;
  }

  .cards-carousel .card-item .image-tag{
    font-size: 11px;
  }

  .cards-carousel .card-item .tag {
    font-size: 12px;
    padding: 2px 6px;
    line-height: 1.7;
  }
}
@media(min-width:1200px){
  .cards-carousel .card-item{
    flex: 0 0 30%;
  }
}
  
.features-1{
    display: flex;
    flex-direction: column;
    margin: 90px 0 90px 0;
    gap: 64px;
}

.features-1 .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
}

.features-1 .content{
    display: grid;
    gap: 4.5em;
}

.features-1 .feature{
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.features-1 .icon{
    width: 56px;
    height: 56px;
    border: 1px solid var(--utility-gray);
    border-radius: 12px;
    background-color: var(--bg-dark-2);

    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.features-1 .subject{
    font-size: 24px;
    font-weight: 500;
    color: var(--h-color);
}

.features-1 .paragraph{
    font-size: 16px;
    font-weight: 400;
    color: var(--p-color);
}

.features-1 .cta-btn.cta-dark {
    border: 1px solid var(--border-color-2);
    background: var(--dark-text);
    box-shadow: 0px 0px 0px 1px rgba(12, 14, 18, 0.18) inset, 0px -2px 0px 0px rgba(12, 14, 18, 0.05) inset, 0px 1px 2px 0px rgba(255, 255, 255, 0.00);
    color: var(--a-color);
    width: fit-content;
    margin-top: 5px;   
}

.features-1 .cta-btn.cta-light {    
    width: fit-content;
    margin-top: 5px;  
    color: var(--dark-text);
    background-color: var(--light-text-2); 
    border: 1px solid var(--light-text-2);
}


@media(min-width:1024px){
    .features-1 .content{
        grid-template-columns: 1fr 1fr 1fr;
    }

    .features-1 .title{
        font-size: 43px;
    }

    .features-1 .feature{
        flex: 0 0 32%;
    }

    .features-1 .feature .subject{
        font-size: 29px;
    }

    .features-1 .feature .paragraph{
        font-size: 18px;
    }
}
.footer {
  background: var(--primary-color);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin: 1em var(--radius-xl) 0;
  padding: 1.2em;
}

.footer p {
  color: var(--a-color);
}
.footer .top {
  display: grid;
  gap: 6rem;
  margin-bottom: 1em;
}

.footer-logo img {
  max-width: 269px;
}
.footer-logo p {
  font-size: 19px;
  margin-top: 26px;
}


.footer-content {
  display: grid;
  gap: 2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-links h4 {
  color: var(--p-color);
  font-size: 13px;
  font-weight: 600;
  margin-top: 0;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1em;
}

.footer-coda {
  border-top: 1px solid var(--utility-gray);
  font-weight: 400;
  padding-top: 1em;

  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6em;
}
.footer-coda p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1;
  margin-block: 0.8em;
}
.footer-social {
  display: grid;
  grid-template-columns: 24px 24px 24px;
  gap: 1.6em;
  align-items: center;
}

/* ## Newsletter */
/* ------------------------------------------------------------------------ */
  .footer-newsletter {
    background: var( --utility-color);
    color: var(--dark-text-2);
    padding: 1.3rem;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    width: 100%;
  }

    .footer-newsletter h3 {
      color: var(--dark-text);
      font-size: 26px;
      font-weight: 600;
      margin: 0 0 5px;
    }
    .footer-newsletter p {
      color: var(--utility-gray);
      font-size: 18px;
      font-weight: 400;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .newsletter-form {
      background: var(--secondary-color);
      border-radius: var(--radius-md);
      padding: 1.1em;
      display: flex;
      flex-direction: column;
      gap: .9em;
    }

    .newsletter-form input {
      background: transparent;
      border: none;
      border-radius: var(--radius-xs);
      color: var(--p-color);
      font-size: 18px;
      font-weight: 500;
      padding: .5em;
      width: 100%;
    }

    .newsletter-button {
      border-radius: var(--radius-xs);
      cursor: pointer;
      font-size: 18px;
      padding: 9px;
      width: 100%;
    }

    .newsletter-privacy {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 14px;
      font-weight: 400;
      margin-top: 10px;
    }
    .newsletter-privacy a {
      color: var(--utility-gray);
      font-size: 14px;
      font-weight: 400;
      text-decoration: underline;
    }

    /* custom Checkbox */
    .newsletter-privacy input {
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      justify-content: center;
      font-size: 2rem;
      padding: 0;
      margin: 0;
      border: 1px solid var(--dark-text);
      border-radius: var(--radius-xs);
    }

    .newsletter-privacy input::before {
      content: "";
      width: 1.15rem;
      height: 1.15rem;
      clip-path: polygon(28% 38%, 41% 53%, 75% 24%, 86% 38%, 40% 78%, 15% 50%);
      margin: -1px;
      transform: scale(0);
      background-color: var(--dark-text);
      transition: all .1s ease-out;
    }

    .newsletter-privacy input:checked::before {
      transform: scale(1);
    }

    .newsletter-privacy input:hover {
      border-color: var(--utility-gray);
    }
    .newsletter-privacy input:hover::before {
      background-color: var(--utility-gray);
    }


@media (min-width: 1024px) {
  .footer {
    padding: 4rem;
  }
  .footer-newsletter {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 350px;
    padding: 2.8rem;
  }
  .footer-newsletter p {
    margin: 10px 0 0;
  }
  .newsletter-form {
    display: grid;
    gap: .5em;
    grid-template-columns: 1fr 100px;
    align-items: center;
    padding: .5em;
  }

  .footer-content {
    grid-template-columns: 338px 1fr;
    gap: 1rem;
  }
  .footer-links {
    grid-template-columns: auto auto auto;
    gap: 1.5rem;
  }

  .footer-coda {
    grid-template-columns: 1fr 118px;
  }
}

@media (min-width: 1200px) {
  .footer {
    padding: 4rem 8rem;
  }
  .footer-content {
    gap: 5rem;
  }
}



.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 300px;
  margin: 16px;
  padding: 20px;
  color: white;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.hero-overlay {
  background-color: rgba(0, 0, 0, .4);
  background: url('/assets/images/hero/hero-overlay.png') center/cover rgba(12, 14, 18, 0.7);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
}

.hero-content {
  max-width: 430px;
  z-index: 1;
}

.hero-title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 30px;
}

.hero-tags {
  margin-bottom: 20px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  margin: 5px;
  border-radius: var(--radius-rounded);
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .hero {
    margin: 8px;
    padding: 8em 4em;
  }

}

.kpi-1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  min-height: 300px;
  margin: 120px 0;
  color: white;
  line-height: 1.4;
  background-size: cover;
  background-position: center;
  gap: 24px;
}

.kpi-1-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.kpi-1-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.kpi-1-text {
  font-size: 18px;
  font-weight: 300;
  margin: 0;
}

.kpi-1-button {
  background-color: var(--light-text-2);
  color: #000;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  border: none;/*
  width: 186px;
  height: 36px;*/
  padding: 8px 12px;
}

.kpi-1-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.kpi-1-card {
  background-color: var(--bg-dark-3);
  display: grid;
  grid-template-rows: 1fr 48px;
  padding: var(--padding-sm);
  gap: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid #101870;
}

.kpi-1-card-value {
  font-family: 'Monoska', sans-serif;
  font-size: 58px;
  font-weight: 400;
  margin: 0;
  line-height: 0.8;
}

.kpi-1-card-label {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  align-self: end;
}



@media (min-width: 768px){
  .kpi-1-cards{
    display: grid;
    gap: 1.3rem;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {

  .kpi-1 {
    flex-direction:row;
    align-items: start;
    gap: 36px;
    display: grid;
    gap: 2.3em;
    grid-template-columns: 1fr 65%;
  }

  .kpi-1-content{
    margin-top: 3px;
    gap: 1.2rem;
  }

  .kpi-1-title{
    font-size: 48px;
  }

  .kpi-1-text{
    font-size: 21px;
    line-height: 1.5;
  }

  .kpi-1-button{
    padding: 4px 12px;
    font-size: 10px;
    width: fit-content;
    height: auto;
  }

  .kpi-1-card{
    padding: 2em;
    gap: .6rem;
  }

  .kpi-1-card-value{
    font-size: 58px;
    line-height: 1;
  }

  .kpi-1-card-label{
    font-size: 16px;
  }

}





.tech-areas{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:60px;
    margin: 128px 0 50px 0;
    
}

.tech-areas .head{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap:15px;
}

.tech-areas .title{
    color: var(--h-color);
    font-size: 30px;
    margin: 0;
}

.tech-areas .subtitle{
    color: var(--p-color);
    font-size: 16px;
    margin: 0;
}

.tech-areas .foot {
    text-align: center;
    font-size: 18px;
    border-radius: var(--radius-rounded);
    background-color: var(--cta-color);
    border: 1px solid var(--border-color);
    padding: 16px 22px;
    max-height: 60px;
    line-height: 0.8;
    width: 100%;
}

.tech-areas .link{
    color: white;
    
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.tech-areas .link.link-rounded {
    width: 42px;
    height: 42px;
}

.tech-areas .link:hover{
    color: white;
}

.tech-areas .container{
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 1433px;
    overflow-y: auto;
    scroll-behavior: smooth;
    position: relative;
    
    /* Nasconde la scrollbar ma mantiene lo scorrimento */
    -ms-overflow-style: none;  /* Per Internet Explorer e Edge */
    scrollbar-width: none;     /* Per Firefox */
}

/* Per Chrome, Safari e Opera */
.tech-areas .container::-webkit-scrollbar {
    display: none;
}

.tech-areas .tech-item{
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.tech-areas .tech-item .i-head{
    background-color: var(--bg-dark-3);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-bottom: 1.5px solid var(--border-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 16px;
}

.tech-areas .tech-item .name-container{
    
    display: flex;
    flex-direction: column;
    gap:15px;
}

.tech-areas .tech-item .id{
    font-family: 'Monoska', sans-serif;
    font-size: 36px;
    color: var(--h-color);
    margin: 0;
}

.tech-areas .tech-item .name{
    font-size: 22px;
    color: var(--h-color);
    font-weight: 600;
    margin: 0;
}

.tech-areas .tech-item .link{
    font-size: 18px;
    color: white;
    border-radius: var(--radius-rounded);
    background-color: var(--cta-color);
    border: 2px solid var(--border-color);
    padding: 8px 14px 8px 12px;
}

.tech-areas .tech-item .link:hover{
    color: var(--h-color);
}

.tech-areas .tech-item .content{
    background-color: var(--bg-dark-3);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tech-areas .tech-item .text{
    padding: 12px;
    display: flex;
    gap: 13px;
    flex-direction: column;
    font-size: 12px;
}

.tech-areas .tech-item .description{
    color: var(--p-color);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.tech-areas .tech-item .tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: var(--h-color);
    font-size: 14px;
}

.tech-areas .tech-item .tag{
    display: flex;
    flex-direction: row;
}

.tech-areas .tech-areas .dot {
    color: var(--utility-brand);
    margin: 0 8px 0 8px;
}

.tech-areas .tech-item .image{
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

@media(max-width: 390px){
    
    .tech-areas .container{
        height: 1476px;
    }
}

@media(max-width: 430px){
    
    .tech-areas .container{
        height: 1480px;
    }
}

@media (min-width: 431px) and (max-width: 503px){
    
    .tech-areas .container{
        height: 1460px;
    }
}

@media (min-width: 504px) and (max-width: 614px){
    
    .tech-areas .container{
        height: 1450px;
    }
}

@media (min-width: 615px) and (max-width: 767px){
    
    .tech-areas .container{
        height: 1436px;
    }
}

@media(min-width: 768px){
    .tech-areas{
        gap: 40px;
    }

    .tech-areas .container{
        height: 1083px;
    }


    .tech-areas .head{
        width: 65%;
        gap: 20px;
    }

    .tech-areas .title{
        font-size: 48px;
        width: 88%;
        font-weight: 600;
        line-height: 1.4;
    }

    .tech-areas .subtitle{
        font-size: 20px;
        line-height: 1.6;
        margin: 1px;
    }

    .tech-areas .foot {
        margin-top: 70px;
        width: 40%;
    }

    .tech-areas .tech-item .name-container{
        flex-direction: row;
        gap:23px
    }

    .tech-areas .tech-item .id{
        font-size: 54px;
    }

    .tech-areas .tech-item .name{
        line-height: 2.2;
        font-size: 33px;
        font-weight: 500;
    }

    .tech-areas .tech-item .i-head{
        border-radius: 0 0 0 var(--radius-sm);
        padding: 8px 24px;
        z-index: 1;
    }

    .tech-areas .tech-item .content{
        width: 91%;
        margin-left: auto;
        margin-bottom: 60px;
        flex-direction: row;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }

    .tech-areas .tech-item .text{
        width: 56%;
        padding: 20px;
        justify-content: space-between;
        font-size: 16px;
        
    }


    .tech-areas .tech-item .image{
        width: 44%;
        height: 300px;
    }

    .tech-areas .tech-item .tags{
        line-height: 1.8;
        
    }

    .tech-areas .tech-item .description{
        -webkit-line-clamp: 6;
        line-clamp: 6;
    }

    .tech-areas .tech-item .link-container{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tech-areas .tech-item .link{
        padding: 10px 16px
    }

    
}
.contact-form-1{
    display: flex;
    margin: 90px 0 90px 0;
    justify-content: center;
}

.contact-form-1 .container{
    display: grid;
    grid-template-rows: 1.76fr 1fr;
    gap: 20px;
    max-width: 600px;
}

.contact-form-1 .contacts{
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-color);
    background-color: var(--bg-dark-3);
}

.contact-form-1 .title{
    font-size: 36px;
    font-weight: 600;
    color: var(--h-color);
    margin: 0;
}


.contact-form-1 .steps{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}


.contact-form-1 .step{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-1 .head{
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.contact-form-1 .name{
    font-size: 20px;
    color: var(--h-color);
    margin: 0;
}

.contact-form-1 .description{
    font-size: 14px;
    color: var(--p-color);
    margin: 0;
}

.contact-form-1 .step-tag{
    font-size: 12px;
    color: var(--light-text);
    padding: 2px 8px;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-rounded);
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: fit-content;
    align-self: center;
}

.contact-form-1 .step-tag.special{
    font-size: 12px;
    color: #75E0A7;
    padding: 0px 8px;
    background-color: #053321;
    border: 1px solid #079455;
    border-radius: var(--radius-rounded);
    line-height: 2.1;
}



@media(min-width:1024px) {
    /* .contact-form-1{
        height: 516px;
    } */
    .contact-form-1 .container{
        grid-template-rows: unset;
        grid-template-columns: 2.4fr 1fr;
        gap: 24px;
        max-width: 1112px;
    }
}

/* Event layout. The default layout above remains unchanged. */
.contact-form-1-wrapper--eventi {
    padding-inline: 0;
}

.contact-form-1--eventi {
    background: var(--bg-brand-50);
    border-radius: var(--radius-xl);
    margin-top: 60px;
    padding: var(--padding-sm);
}

.contact-form-1--eventi .container {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
}

.contact-form-1--eventi .contacts {
    width: 100%;
    max-width: none;
    gap: var(--gap-md);
    padding: 0;
    border: 0;
    background: transparent;
}

.contact-form-1--eventi .title {
    color: var(--bg-dark-3);
    margin-top: 0;
}

.contact-form-1--eventi .hs_form,
.contact-form-1--eventi .hs_form form {
    width: 100%;
    max-width: none;
}

.contact-form-1--eventi .hs_form img[src*="logo_MADE-2"] {
    display: none !important;
}

.contact-form-1--eventi .hs_form h1,
.contact-form-1--eventi .hs_form h2,
.contact-form-1--eventi .hs_form h3,
.contact-form-1--eventi .hs_form h4,
.contact-form-1--eventi .hs_form h5,
.contact-form-1--eventi .hs_form h6,
.contact-form-1--eventi .hs_form label,
.contact-form-1--eventi .hs_form .hs-richtext,
.contact-form-1--eventi .hs_form .hs-richtext p {
    color: var(--bg-dark-3);
}

.contact-form-1 .hs_form .hs-form-checkbox-display span,
.contact-form-1 .hs_form .hs-form-booleancheckbox-display span {
    margin-left: 28px;
}

.contact-form-1--eventi .hs_form a {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

.contact-form-1--eventi .hs_form input:not([type="checkbox"]):not([type="radio"]),
.contact-form-1--eventi .hs_form textarea,
.contact-form-1--eventi .hs_form select {
    background: var(--bg-light);
    border-color: var(--bg-dark-3);
    color: var(--secondary-color);
}

.contact-form-1--eventi .hs_form input[type="submit"] {
    background-color: var(--cta-color) !important;
    border-color: var(--cta-color) !important;
    color: var(--light-text-3) !important;
}

.testimonials-3{
    margin: 90px 0 90px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonials-3 .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.testimonials-3 .container{
    display: flex;
    flex-direction: column;
    gap:24px;
}

.testimonials-3 .testimonial{
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
}

.testimonials-3 .subject{
    background-color: var(--primary-color);
    padding: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 16px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.testimonials-3 .company{
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
    width: 145px;
    height: 53px;
}

.testimonials-3 .profile-container{
    display: flex;
    gap: 1em;
    align-items: center;
}

.testimonials-3 .image{
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: var(--radius-rounded);
}

.testimonials-3 .name{
    color: var(--h-color);
    font-weight: 600;
}

.testimonials-3 .roles{
    color: var(--p-color);
    font-weight: 400;
}

.testimonials-3 .content{
    background-color: var(--bg-dark-3);
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.testimonials-3 .cit-container{
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.testimonials-3 .quote-q{
    background-image: url("/assets/icons/quote.png");
    background-size: 20px;
    width: 20px;
    background-repeat: no-repeat;
}

.testimonials-3 .cit{
    color: var(--h-color);
    font-size: 24px;
    font-weight: 300;
    width: 95%;
    margin: 0;
}

.testimonials-3 .foot{
    display: flex;
    flex-direction: column;
    gap: 16px;

    font-weight: 500;
    font-size: 16px;
    color: var(--p-color);
}

.testimonials-3 .percentage-container{
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.testimonials-3 .percentage{
    font-family: 'Monoska', sans-serif;
    color: var(--h-color);
    font-size: 48px;
    font-weight: 400;
}

.testimonials-3 .percentage{
    font-family: 'Monoska', sans-serif;
    color: var(--h-color);
    font-size: 48px;
    font-weight: 400;
}

.testimonials-3 .link{
    font-weight: 500;
    font-size: 16px;
    color: var(--p-color);
    display: flex;
    align-items: center;
    gap: .5em;
}


@media(min-width: 1024px) {

    .testimonials-3 .title{
        font-size: 30px;
    }

    .testimonials-3 .testimonial{
        flex-direction: row;
    }

    .testimonials-3 .reversed{
        flex-direction: row-reverse;
    }

    .testimonials-3 .subject{
        flex-direction: column;
        width: 25%;
        padding: 32px;
        border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    }

    .testimonials-3 .reversed .subject{
        border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    }

    

    .testimonials-3 .content{
        width: 75%;
        border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
        padding: 32px;
    }

    .testimonials-3 .reversed .content{
        border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    }

    .testimonials-3 .profile-container {
        display: grid;
    }

    .testimonials-3 .cit{
        font-size: 34px;
    }

    .testimonials-3 .foot{
        flex-direction: row;
        line-height: 58px;
        justify-content: space-between  ;
    }

    .testimonials-3 .percentage-container{
        flex-direction: row;
    }
}

@media (min-width: 1200px) {

    .testimonials-3 .profile-container {
        grid-template-columns: 48px 1fr;
    }
}
.perks {
  background-color: var(--primary-color);
  background: url(/assets/images/elements/curly-bg-tall.png) center/cover var(--primary-color);
  background-repeat: no-repeat;
  padding: 2em;
}

.perks h2 {
  font-weight: 600;
  font-size: 41px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--h-color);
  margin: 0;
}
.perks p {
  font-weight: 300;
  font-size: 22px;
  line-height: 1.3;
  color: var(--p-color);
  margin: .5em 0  2em;

}

.perks .cards-wrapper {
  display: grid;
  gap: 1.5em;
}
.perks .card {
  background: linear-gradient(360deg, var(--light-text-2) 0%, var(--light-text) 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--text-color-brand-700);
  min-height: 180px;
  padding: 1.5em;

  display: grid;
  gap: 2em;
  align-content: space-between;
}
  .perks .card h3 {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: var(--primary-color);
    margin: 0;
  }
  .perks .card p {
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    color: var(--dark-text);
    margin: 0;
  }

@media (min-width: 1024px) {
  .perks {
    background: url(/assets/images/elements/curly-bg.png) center/cover;
    padding: 4em;
  }
  .perks .cards-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .perks .card {
    min-height: 320px;
  }
}

.contact-incentivo {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 64px;
    
    margin: 90px 0;
    padding: 64px 18px;

    background-size: cover;
    background-position: center;
    z-index: 0;
    overflow: hidden;
  }
  .contact-incentivo .overlay {
    background: center/cover rgba(12,9,47, 0.75);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
  }
  
  .contact-incentivo .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
  }
  
  .contact-incentivo .title {
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
  }

  
  .contact-incentivo .text {
    font-size: 18px;
    font-weight:300;
    color: var(--light-text-3);
  }

  .contact-incentivo .point {
    display: grid;
    grid-template-columns: .1fr .9fr;
    gap: 12px;
  }

  .contact-incentivo .check{
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
  }

  .contact-incentivo .description{
    font-size: 18px;
    color: var(--light-text-3);
    font-weight: 300;
    width: 88%;
  }

  .contact-incentivo .disabled{
    background-color: var(--dark-text-2);
    border: 1px solid var(--dark-text-2);
    color: var(--border-color-2);
  }


  .contact-incentivo .popup-container{
    z-index: 1;
  }

  .contact-incentivo .popup{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--radius-lg);
    background-color: var(--text-color-brand-700);   
  }

  .contact-incentivo .popup .title{
    padding: 12px;
    color: var(--light-text-3);
    font-size: 18px;
  }

  
  .contact-incentivo .form{
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var( --bg-dark-3);
    background-color: var(--secondary-color);
  }

  .contact-incentivo .form-item{
    display: flex;
    flex-direction: column;
    gap:16px;
}

.contact-incentivo .form-label{
    font-size: 14px;
    color: var(--a-color);
}

.contact-incentivo .form-control{
    border: 1px solid var(--border-color-2);
    background-color: var(--bg-dark-2);
    border-radius: var(--radius-sm);
    color: var(--border-color-2);
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 300;
    flex: 1 0 0;
}

.contact-incentivo option{
  font-size: 16px;
  color: white;
}

.contact-incentivo option[selected]{
  color: var(--border-color-2);
}

.contact-incentivo .popup-container .actions {
  display: flex;
  justify-content: center;
}



  

@media (min-width: 1024px) {
    .contact-incentivo .popup-container{
      min-width: 46.1%;
      display: flex;
      align-items: end;
    }

    .contact-incentivo .popup .title{
      font-size: 24px;
      padding: 1.2em 1em;
    }

    
    .contact-incentivo .form{
      padding: 24px;
    }
      

    .contact-incentivo .content{
        width: 51%;
    }

    .contact-incentivo .title{
        font-size: 48px;
    }

    .contact-incentivo .text{
        font-size: 20px;
    }

    .contact-incentivo .point{
        font-size: 18px;
    }
  
  }

  .contact-incentivo .hidden{
    display: none;
  }
  
@media (min-width: 1200px) {
  .contact-incentivo {
    padding: 4em;
    flex-direction: row;
  }

  .contact-incentivo .form-item{
    display: grid;
    gap: 1em;
    grid-template-columns: minmax(30%, 1fr) 1fr;
    align-items: center;
  }

  .contact-incentivo .form-label{
    font-size: 22px;
    color: var(--a-color)
  }

  .contact-incentivo .form-control{
    max-width: 360px;
  }
  
}
.contact-hero{
    display: flex;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    margin-bottom: 90px;
}

.contact-hero .overlay{
    background: center/cover rgba(12,9,47, 0.5);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}

.contact-hero .container{
    display: grid;
    flex-direction: column;
    justify-content: center;
    gap: 3.5em;
    padding: 160px 16px;

    z-index: 1;
}


.contact-hero .title{
    color: var(--h-color);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
}

.contact-hero .content{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-hero .text-content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-hero .subtitle{
    color: var(--h-color);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}

.contact-hero .point {
    display: grid;
    grid-template-columns: .1fr .9fr;
    gap: 12px;
}

.contact-hero .check{
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.contact-hero .description{
    font-size: 18px;
    color: var(--h-color);
    font-weight: 300;
    width: 88%;
}

.contact-hero .cta-btn {
    border: 2px solid var(--border-color);
    font-size: 18px;
    font-weight: 500;
    padding: 16px 24px;
}


@media(min-width: 1024px) {
    .contact-hero .container{
        padding: 15rem var(--padding-md);
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
    }

    .contact-hero .title{
        font-size: 52px;
    }

    .contact-hero .content{
        justify-content: center;
        padding-right: 12em;
    }
}

@media(min-width: 1500px) {

    .contact-hero .title{
        font-size: 60px;
    }
}
.consulenti-link{
    background-color: var(--text-color-brand-700);
    background: url(/assets/images/elements/curly-bg-wide.png) top right/cover var(--primary-color);
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    margin: 4em auto;
    padding: 8px;
    max-width: 1440px;
    justify-content: space-between;
}

.consulenti-link .head{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    gap: 4em;
    justify-content: space-between;
}

.consulenti-link .text{
    font-size: 20px;
    color: var(--light-text-3);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.consulenti-link .button{
    font-size: 16px;
    color: white;
    white-space: nowrap;
}

.consulenti-link .popup-container{
    z-index: 1;
}

.consulenti-link .popup{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-dark-3);   
}

.consulenti-link .popup .title{
    padding: 0px 0px 24px 0px;
    color: var(--light-text-3);
    font-size: 24px;
}


@media(min-width:1024px) {
    .consulenti-link {
        background: url(/assets/images/elements/curly-bg-wide.png) top right/100% var(--primary-color);
    }
    .consulenti-link .head{
        flex-direction: row;
    }
    .consulenti-link .popup{
        align-items: center;
        padding: 40px 24px;
    }
}

.consulenti-link .hidden{
    visibility: hidden;
    height: 0;
    opacity: 0;
    
}
.objectives{
    margin: 90px 0px;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.objectives .image{
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;

    width: 100%;
    height: 360px;
    border-radius: var(--radius-sm);
}

.objectives .content-title{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
    padding-bottom: 24px;
}

.objectives .title, .objectives .name{
    font-size: 24px;
    font-weight: 500;
    color: var(--h-color);
    line-height: 1.4;
}
.objectives .title{
    margin: 0;
}

.objectives .subtitle{
    font-size: 20px;
    font-weight: 300;
    color: var(--p-color);
    margin: 0;
}

.objectives .objective {
    padding-bottom: 0.7em;
    border-bottom: 1px solid var(--utility-brand);
}
.objectives .objective .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.objectives .head{
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 24px;
}

.objectives .icon{
    width: 50px;
    height: 50px;
    border-radius: var(--radius-rounded);
    background-color: var(--cta-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.objectives .head:has(> :only-child){
    grid-template-columns: unset;
}

.objectives .icon-circle{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-rounded);
    color: var(--p-color);
    font-size: 24px;
    padding: 8px;
}

.objectives .title-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.objectives .title-container .tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.objectives .title-container .tags .tag{
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--light-text);  
}



.objectives .name{
    margin: 0;
}

.objectives .content{
    display: flex;
    flex-direction: column;
}

.objectives .description{
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: var(--a-color);
    margin: 0 0 2.2rem;
}
.objectives .description:not(:last-child){
    padding-bottom: 1.9em;
    border-bottom: 1px solid var(--utility-gray);
}


.objectives .item:not(:last-child){
    margin: 0 0 2.2rem;
    border-bottom: 1px solid var(--utility-gray);
}

.objectives .item-content{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-bottom: 2em;
}

.objectives .item-title{
    display: grid;
    grid-template-columns: 1fr 25px;
    align-items: start;
    justify-content: space-between;
    gap: 1em;

    font-size: 18px;
    font-weight: 400;
    color: var(--label-color);
    margin: 0;
    padding: 0 0 .5em;
    cursor: pointer;
}

.objectives .item-text{
    font-size: 16px;
    font-weight: 300;
    color: #8B94A5;
    margin: 0;

    max-height: 0;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    transition: max-height 0.5s ease, padding 0.5s ease; 
}

.objectives .item-icon{
    font-size: 14px;
    flex: 1 0 auto;
    display: flex;
    justify-content: end;
    padding: 1.5em 0 1em;
    cursor: pointer;
}

.objectives .icon-container{
    width: 25px;
    height: 25px;
    color: var(--p-color);
    border-radius: var(--radius-rounded);
    border: 1.5px solid var(--p-color);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.objectives .item-text.visible{
    max-height: 800px;
}

.objectives .actions{
    display: flex;
    justify-content: end;
    margin-top: 2em;
}

.objectives .cta-btn{
    align-self: flex-end;
}

@media(min-width:1024px) {
    .objectives .objective .content-wrapper{
        flex-direction: row;
    }
    .objectives .head{
        width: 50%;
        display: grid;
        gap: 1.5em;
        grid-template-columns: 60px 1fr;
        height: fit-content;
        margin-bottom: 1em;
    }
    .objectives .content{
        width: 50%;
    }
    .objectives .image{
        height: 500px;
        background-size: cover;
    }
    .objectives .image img{
        object-fit: cover;
        display: block;
    }
    .objectives .title{
        font-weight: 600;
        font-size: 48px;
        line-height: 60px;
        letter-spacing: -0.02em;
    }
    .objectives.small-titles .title{
        font-size: 36px;
        line-height: 44px;
    }
    .objectives .name{
        font-size: 36px;
    }
    .objectives .icon{
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}
.faq{
    margin: 10em auto;
    display: flex;
    justify-content: center;
}

.faq .container{
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1192px;
}

.faq .head{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background-color: var(--primary-color);
    background: url(/assets/images/elements/curly-bg-tall.png) center/cover var(--primary-color);
    background-repeat: no-repeat;
    border-radius: var(--radius-sm);
    min-height: 320px;
}

.faq .title{
    font-size: 30px;
    color: var(--h-color);
    font-weight: 500;
}

.faq .cta{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq .label{
    font-size: 16px;
    color: var(--a-color);
    line-height: 24px;
}

.faq .content{
    display: flex;
    flex-direction: column;
    gap:32px;
}

.faq .item{
    display: flex;
    flex-direction: row;
    border-top: 1px solid var(--utility-gray);
    padding-top: 24px;
}

.faq .item-content{
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 87%;
}

.faq .item-title{
    font-size: 18px;
    font-weight: 400;
    color: var(--label-color);
}

.faq .item-text{
    font-size: 16px;
    font-weight: 300;
    color: #8B94A5;

    max-height: 0; /* Altezza massima iniziale */
    overflow: hidden; /* Nasconde il contenuto in eccesso */
    transition: max-height 0.5s ease, padding 0.5s ease; /* Transizione per max-height e padding */
}

.faq .item-icon{
    font-size: 14px;
    flex: 1 0 auto;
    display: flex;
    justify-content: end;
}

.faq .icon-container{
    width: 25px;
    height: 25px;
    color: var(--p-color);
    border-radius: var(--radius-rounded);
    border: 1.5px solid var(--p-color);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq .item-text.visible{
    max-height: 200px;
}


@media(min-width: 1024px) {
    .faq .container{
        flex-direction: row;
    }
    .faq .head{
        min-width: 400px;
        background-size: contain;
    }
    .faq .title{
        font-size: 48px;
    }
}
.single-card-slider {
  margin: 120px 0;
}
.single-card-slider .title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.8em;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

.single-card-slider .title h2 {
  color: var(--h-color);
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.72px;
  margin: 0;
}

.single-card-slider .title p {
  color: var(--p-color);
  font-size: 18px;
  font-weight: 300;
  margin: 0.5em 0 0;
}



.features-slider-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.features-slider-card .content {
    display: grid;
    background: linear-gradient(0deg, var(--bg-dark-3) 0%, var(--bg-dark-3)) 100%, var(--primary-color);
    background: url('/assets/images/features/card-bg.png') center/cover;
    gap: 1em;
    grid-template-rows: 1fr 36px;
    padding: 1em;
  }

  .features-slider-card .pic {
    position: relative;
  }
  .features-slider-card .pic img {
    display: block;
  }
  .features-slider-card .pic .tags {
    position: absolute;
    bottom: 8px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
  }
    .features-slider-card .pic .tag-chip {
      color: var(--a-color);
      display: flex;
      gap: .5em;
      align-items: center;
    }

  .features-slider-card .content .details h3 {
    color: var(--h-color);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.96px;
    margin: 0 0 0.4em;
  }
  .features-slider-card .content .details p {
    color: var(--h-color);
    font-size: 16px;
    font-weight: 200;
    line-height: 1.5;
    margin-bottom: 2em;
  }


@media (min-width: 768px) {
  .features-slider-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .features-slider-card .pic img {
    min-height: 100%;
  }
  .features-slider-card .title h2 {
    font-size: 36px;
  }
}
.announcements-slider-card {
  background: var(--light-text-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 1em;

  display: grid;
  gap: 1em;
}

.announcements-slider-card h2 {
  color: var(--utility-gray);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0.5em;
}

.announcements-slider-card .top {
  display: grid;
  gap: 1em;
  align-items: center;
}

.announcements-slider-card .expiry {
  background: var(--h-color);
  border: 1px solid var(--utility-color);
  border-radius: var(--radius-md);
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 400;

  display: grid;
  gap: 1em;
  grid-template-columns: 126px 1fr 115px;
  align-items: center;
  padding: 1em 1.5em;
}
.announcements-slider-card .h-line {
  height: 1px;
  background: var(--utility-color);
  width: 100%;
}
.announcements-slider-card .timer {
  display: grid;
  gap: .2em;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  font-weight: 600;
}
.announcements-slider-card .timer .unit {
  font-size: 13px;
  font-weight: 300;
}
.announcements-slider-card .timer .days .value {
  font-size: 1.4em;
}
.announcements-slider-card .timer .hours .value {
  font-size: 1.2em;
}
.announcements-slider-card .timer .minutes .value {
  font-size: .95em;
}

.announcements-slider-card .card {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.announcements-slider-card .content {
    display: grid;
    background: var(--h-color);
    gap: 1em;
    grid-template-rows: 1fr auto;
    padding: 1em;
  }

  .announcements-slider-card .pic {
    position: relative;
  }
  .announcements-slider-card .pic img {
    display: block;
    max-height: 400px;
  }
  .announcements-slider-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
  }
  .announcements-slider-card .pic .tags {
    position: absolute;
    bottom: 8px;
    left: 10px;
  }
    .announcements-slider-card .tag-chip {
      display: flex;
      gap: .5em;
      align-items: center;
    }
    .announcements-slider-card .pic .tag-chip {
      color: #079455;
      background: var(--h-color);
      border: 1px solid var(--utility-gray);
    }
    .announcements-slider-card .details .tags {
      margin-bottom: 1em;
    }
    .announcements-slider-card .details .tag-chip {
      color: var(--text-color-indigo-700);
      background: var(--bg-brand-50);
      border: 1px solid var(--border-color);
    }

  .announcements-slider-card .content .details h3 {
    color: var(--dark-text);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.4em;
  }
  .announcements-slider-card .content .details p {
    color: var(--utility-gray);
    font-size: 14px;
    font-weight: 200;
    line-height: 1.5;
    margin: .2em 0 2em;
  }

  .announcements-slider-card .actions {
    display: grid;
    gap: 1em;
  }
  .announcements-slider-card .cta-btn {
    width: 100%;
  }


@media (min-width: 768px) {
  .announcements-slider-card .content {
    grid-template-rows: 1fr 36px;
  }
  .announcements-slider-card .actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .announcements-slider-card .top {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .announcements-slider-card .card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .announcements-slider-card .card .pic img {
    min-height: 100%;
  }
  .announcements-slider-card .card .title h2 {
    font-size: 36px;
  }
}
.comments{
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 8em 0 4em;
    gap: 12px;
    padding-bottom: 60px;
    padding-left: 10px;
}

.comments .carousel {
    padding-bottom: 0;
}

.comments .comments-container{
    align-items: center;
}

.comments .comment{
    gap: 32px;
    display: flex;
    flex-direction: column;
}

.comments .title{
    font-size: 29px;
    font-weight: 400;
    color: var(--h-color);
    margin: 0;
}

.comments .profile{
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding-right: 170px;
}

.comments .picture{
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
    background-color: white;
    border-radius: var(--radius-rounded);
}

.comments .infos{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comments .name{
    font-size: 18px;
    font-weight: 400;
    color: var(--h-color);
}

.comments .roles{
    font-size: 16px;
    font-weight: 300;
    color: var(--p-color);
}

.comments .controls{
    position: absolute;
    bottom: -20px;
    left: 0px;
    background-color: var(--secondary-color);
    padding: 10px;
    gap: 32px;
    display: flex;
    flex-direction: row;
}

.comments .controls div {
    background-color: transparent;
    color: #8B94A5;
    border: 1px solid #1E2533;
    padding: 15px 21.2px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    font-size: 18px;
    font-weight: 100;
}

@media(min-width:1024px) {
    .comments .title {
        font-size: 28px;
    }

    .comments .controls{
        bottom: 50px;
        right: 0px;
        left: unset;
    }

    .comments .profile{
        padding-right: 0px;
    }
}
.hero-homepage {
  margin: 8px 16px;
}
.hero-carousel {
  position: relative;
  overflow: hidden;
  --current-slide: 0;
}

.hero-carousel .slides {
  display: grid;
  grid-template-columns: 1fr;
  /* grid-template-rows: auto; */
}

.hero-carousel .slide {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
  grid-row-start: 1;
  grid-column-start: 1;
}

.hero-carousel .slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-carousel .carousel-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  font-family: Fontawesome;
}

.hero-carousel .carousel-dot {
  width: 52px;
  height: 52px;
  background-color: var(--cta-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-rounded);
  color: #fff;
  cursor: pointer;
  font-size: 1.5em;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel .carousel-dot-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  max-width: 0;
  padding: 0.65rem 0;
  overflow: hidden;
  opacity: 0;
  border-radius: var(--radius-rounded);
  background-color: rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  transition: max-width 0.55s ease, padding 0.55s ease, opacity 0.35s ease;
}

.hero-carousel .carousel-dot:hover .carousel-dot-label,
.hero-carousel .carousel-dot:focus-visible .carousel-dot-label {
  max-width: 15rem;
  padding: 0.65rem 0.9rem;
  opacity: 1;
}

.hero-carousel .carousel-dot.active {
  background-color: var(--dark-text-2);
  border: 1px solid var(--dark-text-2);
}

@media (min-width: 1024px) {
  .hero-carousel .carousel-pagination {
    right: 3em;
    bottom: initial;
    left: initial;
    top: 50%;
    display: grid;
    transform: translateY(-50%);
  }
}

.hero-homepage-card-1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 300px;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2em 2em 82px;
  color: white;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.hero-homepage-card-1 .overlay {
  background-color: rgba(0, 0, 0, .4);
  background: url('/assets/images/hero/hero-overlay.png') center/cover rgba(12, 14, 18, 0.7);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
}

.hero-homepage-card-1 .content {
  max-width: 430px;
  z-index: 1;
}

.hero-homepage-card-1 .title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-homepage-card-1 .subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-homepage-card-1 .text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2.5em;
}

.hero-homepage-card-1 .tags {
  margin-bottom: 20px;
}

.hero-homepage-card-1 .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  margin: 5px;
  border-radius: var(--radius-rounded);
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .hero-homepage-card-1 {
    padding: 8em 4em;
  }

  .hero-homepage-card-1 .title {
    font-size: 52px;
  }
}

.hero-homepage-card-2 {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 300px;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 5em 1em 82px;
  color: white;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.hero-homepage-card-2 h2, .hero-homepage-card-2 h3, .hero-homepage-card-2 p {
  color: var(--dark-text)
} 

.hero-homepage-card-2 .cta-btn {
  width: 100%;
}

.hero-homepage-card-2 .content {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--dark-text);
  padding: 1em;
  z-index: 1;

  display: grid;
  gap: 1em;
  grid-template-rows: 1fr 36px;
  max-width: 36em;
}

.hero-homepage-card-2 .subheader {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2em;
}
.hero-homepage-card-2 .subheader .sub-title {
  color: var(--utility-gray);
  font-size: 12px;
  font-weight: 500;
}
.hero-homepage-card-2 .subheader .link {
  color: var(--text-color-brand);
  font-size: 12px;
  font-weight: 500;
}

.hero-homepage-card-2 .title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-homepage-card-2 .subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-homepage-card-2 .text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1.5em;
}


.hero-homepage-card-2 .tags {
}
.hero-homepage-card-2 .tags, .hero-homepage-card-2 .updates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
}
  .hero-homepage-card-2 .tag-chip {
    display: flex;
    gap: .5em;
    align-items: center;
  }
  .hero-homepage-card-2 .updates .tag-chip {
    color: var(--text-color-indigo-700);
    background: #EEF4FF;
    border: 1px solid var(--border-color-indigo-200);
  }
  .hero-homepage-card-2 .tags .tag-chip {
    color: #026AA2;
    background: #F0F9FF;
    border: 1px solid #B9E6FE;
  }

@media (min-width: 1024px) {
  .hero-homepage-card-2 {
    padding: .5em 3em .5em .5em;
  }

  .hero-homepage-card-2 .content {
    height: 100%;
    max-width: 451px;
  }

  .hero-homepage-card-2 .title {
    font-size: 46px;
  }
}

.themes {
  padding: 3em;
  background-color: var(--primary-color);
  background: url(/assets/images/elements/curly-bg.png) top right/cover var(--primary-color);
  background-repeat: no-repeat;
  display: grid;
  gap: 2em;
}

.themes h2 {
  /* color: var(--colors-text-text-primary-900, #F9FAFB); */
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.96px;
}

.themes .bullets {
  display: grid;
  gap: 3em;
}

.themes .bullets ul {
  color: var(--a-color);
  font-size: 18px;
  font-weight: 500;
  padding: 0 1.5em;
  margin: 0;
}
.themes .bullets ul li {
  padding-block: .3em;
}

@media (min-width: 1024px) {
  .themes {
    padding: 80px 64px 64px;
  }

  .themes .bullets {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.financing{
    display: flex;
    flex-direction: column;
    margin: 90px 0px;
    padding: 8px 0px;
    gap: 24px;
}

.financing .head{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.financing .head .title{
    font-size: 24px;
    font-weight: 500;
    color: var(--h-color);
}

.financing .head .button{
    background-color: var(--light-text-2);
    border: none;
    color: var(--dark-text);
}

.financing .content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.financing .content .card{
    border-radius: var(--radius-sm);
    background-color: var(--utility-color);
    height: 100%;
}

.financing .content .card.image-item .image{
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 242px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}


.financing .content .card .infos{
    display: flex;
    flex-direction: column;
    padding: 12px;
    justify-content: space-between;
    gap: 12px;
}

.financing .content .card .infos .inner-container{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.financing .content .card .infos .inner-container .tags{
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.financing .content .card .infos .inner-container .tags .tag{
    background-color: #EEF4FF;
    color: var(--text-color-indigo-700);
    border: 1px solid var(--border-color-indigo-200);
    border-radius: var(--radius-rounded);
    padding: 4px 12px;
    width: fit-content;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
}

.financing .content .card .infos .inner-container .tags .tag.bordered{
    color: var(--text-color-brand-700);
    border: 1.5px solid var(--border-color);
}

.financing .content .card .infos .inner-container .tags .tag.status{
    background-color: #ECFDF3;
    color: #067647;
    border: 1px solid #47CD89;
}

.financing .content .card.card.image-item .infos .inner-container .tags .tag.status{
    position: absolute;
    top: -50px;
}

.financing .content .card .infos .inner-container .title{
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-text);
}

.financing .content .card .infos .inner-container .description{
    font-size: 14px;
    font-weight: 300;
    color: var(--utility-gray);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.financing .content .button{
    width: 100%;
    background-color: white;
    border: 1px solid var(--border-color-2);
    color: var(--utility-gray);
}


@media(min-width:1180px) {
    .financing .head{
        flex-direction: row;
        gap: 0px;
        justify-content: space-between;
        align-items: center;
    }

    .financing .content{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        align-items: end;
    }


    .financing .content .image-item{
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    
    
    .financing .content .card .infos:not(.image-item .infos){
        height: 100%;
        min-height: 300px;
    }
    
    .financing .content .card.image-item .image{
        min-height: 292px;
    }


    .financing .content .card .infos .inner-container .tags{
        flex-direction: row;
    }

}
.europe-link {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 64px;
    
    margin: 90px 0;
    padding: 128px 16px;
    
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  .europe-link .overlay {
    background: center/cover rgba(12,9,47, 0.75);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  
  .europe-link .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
  }

  .europe-link .infos {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .europe-link .tag{
    padding: 2px 8px;
    border: 1px solid var(--border-color-2);
    border-radius: var(--radius-rounded);
    background-color: var(--dark-text);
    font-size: 12px;
    font-weight: 400;
    color: var(--a-color);
    width: fit-content;
  }
  
  .europe-link .title {
    font-size: 24px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
  }

  
  .europe-link .text {
    font-size: 18px;
    font-weight:300;
    color: var(--a-color);
    margin: 0;
  }











  

@media (min-width: 1024px) {
    

    .europe-link{
      align-items: center;
      padding: 128px 32px;
    } 

    .europe-link .content{
        flex-direction: row;
        max-width: 912px;
    }

    .europe-link .infos{
      width: 50%;
    }

    .europe-link .button-container{
      display: flex;
      justify-content: end;
      align-items: end;
      width: 50%;
    }

    .europe-link .title{
        font-size: 36px;
    }

    .europe-link .text{
        font-size: 18px;
    }


    
  
  }


.processes{
    margin: 160px 0px 150px 0px;
    display: flex;
    gap: 24px;
    flex-direction: column;
    padding: 8px 32px;
}

.processes .head{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.processes .head .title{
    font-size: 36px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.processes .head .subtitle{
    font-size: 16px;
    font-weight: 400;
    color: var(--p-color);
    margin: 0;
}


.processes .content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.processes .content .types{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
}

.processes .content .types .type{
    font-size: 16px;
    font-weight: 500;
    color: var(--p-color);
    border: 1px solid var(--border-color-2);
    border-radius: var(--radius-xs);
    padding: 6px 12px;
    cursor: pointer;
    width: fit-content;
}

.processes .content .type.active{
    color: var(--light-text-3);
    border: 1px solid var(--border-color);
    background-color: var(--dark-text);
}

.processes .content .inner-content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.processes .content .inner-content .infos{
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.processes .content .inner-content .infos .text{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px;
}

.processes .content .inner-content .infos .text .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--light-text-3);
    margin: 0;
}

.processes .content .inner-content .infos .text .description{
    font-size: 16px;
    font-weight: 400;
    color: var(--a-color);
    margin: 0;
}

.processes .content .inner-content .infos .text .tags{
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
}

.processes .content .inner-content .infos .text .tags .tag{
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    border: 1px solid var(--primary-color);
    color: var(--light-text);
    font-size: 14px;
    font-weight: 400;
}

.processes .content .inner-content .infos .image{
    height: 320px;
    width: 100%;
    border-radius: var(--radius-sm);
    background-position: center;
    background-size: cover;
}



.processes .carousel-wrapper {
    position: relative;
    padding: 12px;
    display: flex; 
    flex-direction: column; 
    gap:24px;
}

.processes .content .inner-content .carousel-wrapper .title{
    font-size: 18px;
    font-weight: 500;
    color: var(--light-text-2);
    z-index: 1;
    margin: 0;
}

.processes .carousel-wrapper .container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    gap: 20px;
    margin-right: -80px;
    padding-right: 80px;
    margin-left: -80px;
    padding-left: 80px;
    z-index: 1;
    scrollbar-width: none;
}
.processes .carousel-wrapper .container:before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -10px;
    right: -9999px;
    height: 187px;

    background-color: var(--bg-dark-3);
    border: 1px solid var(--text-color-brand-700);
    border-radius: var(--radius-sm);
    z-index: -1;
}

.processes .carousel-wrapper .container::-webkit-scrollbar {
    display: none; 
}
    
.processes .card-item {
    flex: 0 0 302px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 240px;
    padding: 16px;
    scroll-snap-align: center;

    border: 1px solid var(--text-color-brand-700);
    border-radius: var(--radius-lg);
    background: linear-gradient(360deg, #D1E0FF 0%, #84ADFF 100%);
}

.processes .carousel-wrapper .container .card-item .title{
    font-size: 24px;
    color: var(--dark-text);
    font-weight: 500;
    margin: 0;
}

.processes .card-item .description{
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 400;
    margin: 0;
    
}
    /*Pulsanti di navigazione */
.processes .carousel-wrapper .controls {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 12px 36px;
    gap: 10px;
    /* background-color: var(--bg-dark-3);
    border: 1px solid var(--text-color-brand-700);
    border-radius: var(--radius-sm); */
    height: 187px;
    width: 100%;
    z-index: 1;
    bottom: -60px;
    right: 0px;
}

.processes .carousel-wrapper .controls div {
    background-color: var(--dark-text);
    color: white;
    border: 1px solid var(--border-color-2);
    padding: 8px 12.65px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    font-size: 13px;
    font-weight: 100;
    height: fit-content;
}


@media(min-width:1180px) {
    .processes .content .inner-content .infos{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .processes .content .inner-content .infos .image{
        align-self: start;
        height: 100%;
        max-height: 400px;
    }
    .processes .card-item {
        flex: 0 0 31%;
        height: 320px;
    }

    .processes .content .inner-content .infos .text .title{
        font-size: 48px;
    }

    .processes .content .inner-content .carousel-wrapper .title{
        font-size: 24px;
    }

    .processes .carousel-wrapper .container .card-item .title{
        font-size: 30px;
    }
}
.hero-technology {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    margin-top: 5em;
    margin-bottom: 3em;
    padding-top: var(--padding-md);
}

.hero-technology .content{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-technology .text{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-technology .title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    color: var(--h-color);
    margin: 0;
}

.hero-technology .subtitle {
    font-size: 20px;
    color: var(--p-color);
    margin: 0;
}

.hero-technology .point {
    display: grid;
    grid-template-columns: .05fr .95fr;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.hero-technology .check{
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.hero-technology .carousel-pagination{
    bottom: 55px;
    right: 20px; 
    left: unset; 
    transform: none;
}

.hero-technology .image-content{
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    width: fit-content;
    height: fit-content;
    border: 1px solid var(--utility-gray);
    border-radius: var(--radius-sm);
    background-color: var(--dark-text);
}

.hero-technology .image-content .tags{
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.hero-technology .image-content .tags .tag{
    padding: 4px 10px;
    border: 1px solid #065986;
    border-radius: var(--radius-sm);
    background-color: #062C41;
    color: #7CD4FD;
    font-size: 14px;
    font-weight: 400;

}

.hero-technology .image-content .title{
    font-size: 24px;
    font-weight: 500;
    color: var(--light-text-3);
}

.hero-technology .slide {
    display: flex;
    border-radius: var(--radius-md);
    width: 100%;
    height: 400px;
    padding: 12px;
    background-position: center;
    background-size: cover;
}



@media (min-width: 768px) {
    .hero-technology .title{
        font-size: 48px;
    }
    .sectors .subtitle {
        max-width: 65em;
    }
}

@media (min-width: 1200px) {
    .hero-technology {
        display: grid;
        grid-template-columns: 48% 1fr;
        margin-top: 90px;
        margin-bottom: 90px;
        align-items: center;
        gap: 64px;
    }

    .hero-technology .slide {
        height: 720px;
        align-items: end;
    }

    .hero-technology .content{
        align-items: center;
    }

    .hero-technology .title{
        font-size: 60px;
    }

    .hero-technology .subtitle{
        font-size: 20px;
        line-height: 1.5;
        width: 67%;
    }


    
}
.statistics{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
    border: 1px solid var(--cta-color);
    border-radius: var(--radius-xl);
    background-color: var(--bg-dark-3);
    margin-top: 30px;
}

.statistics .item{
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px;
    width: 100%;
    align-items: center;
}

.statistics > *:not(:last-child){
    border-bottom: 1px solid var(--cta-color);
}

.statistics .item .content{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.statistics .item .value{
    font-family: 'Monoska', sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--h-color);
    margin: 0;
}

.statistics .item .label{
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    color: var(--a-color);
    margin: 0;
}

.statistics .item .icon{
    display: flex;
    border-radius: var(--radius-rounded);
    background-color: var(--cta-color);
    color: var(--utility-color);
    justify-content: center;
    align-items: center;
    font-size: 23px;
    width: 56px;
    height: 56px;
}


@media(min-width: 1024px) {
    .statistics .item{
        border-bottom: none;
    }

    .statistics > *:not(:last-child){
        border-right: 1px solid var(--cta-color);    
    }

    .statistics {
        display: grid;
        grid-template-columns: repeat(4, 24.85%);
    }
}
.cards-event {
    display: flex;
    flex-direction: column;
    margin: 3em 0;
    gap: 20px;
  }
  
  .cards-event .header{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .cards-event .title {
    color: var(--h-color);
    font-weight: 500;
    font-size: 24px;
    margin: 0 0 6px;
  }
 


  
  
  .cards-event .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 20px; 
  }
  
    .cards-event .card-item {
      flex: 0 0 302px; 
      display: grid;
      grid-template-rows: 200px 1fr;
  
      border: 1px solid var(--utility-brand);
      border-radius: var(--radius-sm);
      background-color: var(--h-color);
  
    }
  
  
    .cards-event .card-item .image{
  
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
  
      display: flex;
      flex-direction: column-reverse;
      padding: 10px;
      align-items: start;
      flex: 1;
      min-height: 200px;
      height: 200px;
      max-height: 200px;
      border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  
    }
  
  
    .cards-event .card-item .image-tags{
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
  
    .cards-event .card-item .image-tag{
      background-color: var(--h-color);
      border: 1px solid var(--border-color-2);
      color: var(--utility-gray);
      border-radius: var(--radius-rounded);
      padding: 2px 8px;
      font-size: 12px;
      white-space: nowrap;
      display: flex;
      align-items: center;
    }
  
  
    .cards-event .card-item .infos{
      display: grid;
      grid-template-rows: 1fr 40px;
      padding: 12px;
      gap: 1em;
    }
    .cards-event .card-item .details {
      display: grid;
      gap: .6em;
    }

    
    .cards-event .card-item .date{
      background-color: #EEF4FF;
      border: 1.5px solid var(--border-color-indigo-200);
      padding: 4px 12px;
      color: var(--text-color-indigo-700);
      font-size: 14.5px;
      border-radius: var(--radius-rounded);
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: .5em;
    }
    
    .cards-event .card-item .tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    
    .cards-event .card-item .tag {
      cursor:default;
      background-color: var(--bg-brand-50);
      border: 1.5px solid var(--border-color);
      border-radius: var(--radius-rounded);
      color: var(--text-color-brand-700);
      font-size: 14.5px;
      padding: 2px 10px;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: .5em;
    }
  
    .cards-event .card-item .link{
      color: var(--utility-gray);
      font-size: 14px;
      border-radius: var(--radius-rounded);
      border: 1px solid var(--border-color-2);
      background-color: transparent;
      padding: .5em 1em;
      display: flex;
      gap: 0.6em;
      align-items: center;
      justify-content: center;
      width: 100%;

      box-shadow: 0px 1px 2px 0px var(--ColorsEffectsShadowsshadow-xs);

      box-shadow: 0px -2px 0px 0px #0A0D120D inset;

      box-shadow: 0px 0px 0px 1px #0A0D122E inset;

    }
  
  
    .cards-event .card-item .title{
      font-size: 24px;
      color: var(--dark-text);
      font-weight: 500;
      
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;  
      text-overflow: ellipsis;
      overflow-wrap: anywhere;
      word-break: break-word;
      margin: 0;
    }
  
    .cards-event .card-item .description{
      font-size: 14px;
      color: var(--utility-gray);
      font-weight: 300;
      
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      overflow: hidden;  
      text-overflow: ellipsis;
      overflow-wrap: anywhere;
      word-break: break-word;
      margin: 0;
    }
  
  
  
  
  @media(min-width:1024px){
  

    .cards-event .title {
      font-weight: 500;
      font-size: 36px;
    }

    .cards-event .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .cards-event .card-item .title{
      -webkit-line-clamp: 3;
      line-clamp: 3;
      font-size: 24px;
    }
  
    .cards-event .card-item .infos {
      gap: 12px;
    }

  }

    
.moments{
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    margin: 90px 0;
    gap: 24px;
}

.moments .overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(12,9,47, 0.75);
}

.moments .overlay-btn{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
}

.moments .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
    text-align: center;
    margin: 0;
}

.moments .items{
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.moments .item{
    background-position: center;
    background-size: cover;
    border-radius: var(--radius-sm);
    position: relative;
    
    display: flex;
    flex-direction: column;
    aspect-ratio: 1/1;
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px 24px 12px;
    z-index: 0;
    max-width: 680px;
    max-height: 438px;
}

.moments .item .content{
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.moments .item .content .item-title{
    font-size: 24px;
    font-weight: 500;
    color: var(--light-text-3);
    margin: 0;
    padding-top: 100px;
}

.moments .item .content .description{
    font-size: 14px;
    font-weight: 400;
    color: var(--a-color);
    margin: 0;
}

.moments .item .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.moments .item .tags .date{
    background-color: #1F235B;
    border: 1px solid #2D31A6;
    padding: 4px 12px;
    color: #A4BCFD;
    font-size: var(--radius-lg);
    border-radius: var(--radius-rounded);
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 4px;
}

.moments .item .tags .tag{
    cursor:default;
    background-color: var(--secondary-color);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-rounded);
    color: var(--light-text);
    font-size: 14.5px;
    padding: 2px 10px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 4px;
}

.moments .overlay-btn .play-btn {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background: rgba(0,0,0,0.6);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #828181;
    font-size: 2.2rem;
    text-decoration: none;
    transition: background 0.2s;
}
.moments .overlay-btn .play-btn:hover {
    color: #fff;
}


@media(min-width:1024px) {
    .moments .items{
        display: grid;
        grid-template-columns: 1fr 1fr; 
    }
    .moments .item{
        padding: 24px; 
    }

    .moments .title{
        text-align: center;
        font-size: 48px;
    }

    .moments .item .content .item-title{
        font-size: 30px;
    }

    .moments .item .content .description{
        font-size: 16px;
    }
}
.competence-center-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 128px 0;
    background-color: var(--primary-color);

    background-position: center;
    background-size: cover;
}

.competence-center-banner .container{
    display: flex;
    flex-direction: column;
    gap:24px;
    padding: 8px 16px;
    width: 100%;
}

.competence-center-banner .container .title{
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.competence-center-banner .container .item-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.competence-center-banner .container .item-container .item{
    display: grid;
    grid-template-rows: 200px 1fr;
    height: fit-content;
}

.competence-center-banner .container .item-container .item .image{
    background-position: center;
    background-size: cover;

    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.competence-center-banner .container .item-container .item .content{
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 12px;
    background-color: var(--secondary-color);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.competence-center-banner .container .item-container .item .content .title-item{
    font-size: 24px;
    font-weight: 500;
    color: var(--light-text-3);
    margin: 0;
}

.competence-center-banner .container .item-container .item .content .description{
    font-size: 14px;
    font-weight: 400;
    color: var(---a-color);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word; 
    margin: 0;
}

.competence-center-banner .link{
    margin: 0;
}


@media(min-width:1024px) {
    .competence-center-banner .container .title{
        font-size: 36px;
        width: 50%;
        align-self: center;
    }
    .competence-center-banner .container{
        padding: 8px 64px;
    }
    .competence-center-banner .container .item-container{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        height: 372px;
    }
    .competence-center-banner .container .item-container .item.down{
        align-self: flex-end;
    }
}
.hero-banner{
    display: flex;
    flex-direction: column;
    padding: 80px 0px;
    gap: 40px;
    margin: 60px 0px;
}

.hero-banner .head{
    display: flex;
    flex-direction: column;
    gap:24px;
    padding: 0px 16px;
    text-align: center;
}

.hero-banner .head .title{
    font-size: 36px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.hero-banner .head .subtitle{
    font-size: 20px;
    font-weight: 300;
    color: var(--p-color);
    margin: 0;
}

.hero-banner .content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-banner .content .controls{
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 12px;
}

.hero-banner .content .controls div {
    background-color: var(--dark-text);
    color: var(--value-color);
    border: 1px solid var(--border-color-2);
    padding: 8.5px 13.2px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    font-size: 13px;
    font-weight: 100;
}

.hero-banner .card-container{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    gap: 24px;
}

.hero-banner .card-container::-webkit-scrollbar {
    display: none; 
}

.hero-banner .card{
    flex: 0 0 240px;
    scroll-snap-align: start; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    aspect-ratio: 1/1;

    background-position: center;
    background-size: cover;

    padding: 8px;
    border: 1px solid var(--dark-text-2);
    border-radius: var(--radius-sm);
    text-align: center;
}

.hero-banner .card .overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    opacity: 0.9;
    box-shadow: 0px 0px 0px 1px #0A0D122E inset;
}

.hero-banner .card .overlay::before,
.hero-banner .card .overlay::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.hero-banner .card .overlay::before {
    background: radial-gradient(95% 95% at 50% 50%, #4973E0 0%, #4973E0 50%, transparent 50%), radial-gradient(170% 76% at 0% 55%, #1429ca 20%, #2f50d4 70%, #84ADFF 99%);
    opacity: 1;
}

.hero-banner .card .overlay::after {
    background: radial-gradient(95% 95% at 50% 50%, #8BAAEF 0%, #8BAAEF 50%, transparent 50%), radial-gradient(140% 89.37% at 0% 65.12%, #1532EF 0%, #2E50FA 75%, #B2CCFF 99%);
    opacity: 0;
}

.hero-banner .card .overlay .button{
    background-color: var(--dark-text);
    border: 1px solid var(--border-color-2);
    padding: 10px 13.8px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    color: var(--value-color);
    font-size: 14px;
    font-weight: 100;
    width: fit-content;
    z-index: 2;
}

.hero-banner .card:hover .overlay .button{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.hero-banner .text{
    z-index: 2;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

@media(min-width:1024px) {

    .hero-banner{
        align-items: center;
    }

    .hero-banner .head{
        max-width: 824px;
        align-items: center;
    }

    .hero-banner .head .title{
        font-size: 60px;
    }

    .hero-banner .head .subtitle{
        max-width: 480px;
    }

    .hero-banner .card .text{
        max-width: 326px;
        color: white;
        font-size: clamp(24px, 2vw, 36px);
        transition: color 0.4s ease;
    }

    .hero-banner .card .overlay{
        padding: clamp(12px, 1vw, 24px);
        background: none;
    }

    .hero-banner .card .overlay::before {
        background: radial-gradient(109.37% 109.37% at 0% 65.12%, #0C092F 0%, #110D45 43%, #1225A1 94%);
        opacity: 1;
    }

    .hero-banner .card .overlay::after {
        background: radial-gradient(95% 95% at 50% 50%, #8BAAEF 0%, #8BAAEF 50%, transparent 50%), radial-gradient(140% 89.37% at 0% 65.12%, #1532EF 0%, #2E50FA 75%, #B2CCFF 99%);
        opacity: 0;
    }

    .hero-banner .card:hover .overlay::before {
        opacity: 0;
    }
    
    .hero-banner .card:hover .overlay::after {
        opacity: 1;
    }

    .hero-banner .card .overlay .button{
        background-color: var(--dark-text);
        border: 1px solid var(--border-color-2);
        border-radius: var(--radius-rounded);
        color: var(--value-color);
        cursor: pointer;
        width: fit-content;
        z-index: 2;
        position: relative;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        visibility: hidden;
        padding: clamp(11px, 1vw, 13.7px) clamp(17px, 1.5vw, 19.6px);
        font-size: clamp(18px, 1vw, 20px);
    }

    .hero-banner .card:hover .overlay .button{
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .hero-banner .card:hover .text{
        color: var(--dark-text);
    }

    .hero-banner .content .card-container{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-banner .content .controls{
        display: none;
    }
}
.banner-modal {
    background-color: var(--primary-color);
    background: url(/assets/images/elements/blue-bg.png) top right/cover var(--primary-color);
    background-repeat: no-repeat;
    padding: 64px 16px;
}

.banner-modal.secondary-bg {
    background-color: var(--secondary-color);
    background: unset;
}

.banner-modal .inner {
    background-color: var(--text-color-brand-700);
    background: url(/assets/images/elements/curly-bg-wide.png) top right/cover var(--primary-color);
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 8px;  
    max-width: 1440px;
    justify-content: space-between;
}

.banner-modal .inner {
    padding: 8px;  
}

.banner-modal .head{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    gap: 2em;
    justify-content: space-between;
}

.banner-modal .text{
    font-size: 20px;
    color: var(--light-text-3);
    font-weight: 400;
    margin: 0;
}

.banner-modal .button{
    font-size: 16px;
    color: white;
    align-self: flex-start;
}




.banner-modal .modal-overlay .image {
    top: 10px;
    left: 10px;
    background-color: aqua; 
    height: 250px;

    background-position: center;
    background-size: cover;
}

.banner-modal .modal-overlay .actions {
    text-align: right;
}

.banner-modal .modal-overlay .actions .cta-btn {
    width: 100%;
}


@media(min-width:1024px) {
    .banner-modal .head{
        flex-direction: row;
    }
    .banner-modal .inner {
        padding: 32px;  
    }

    .banner-modal .text{
        line-height: 2;
    }
}

.banner-modal .hidden{
    visibility: hidden;
    height: 0;
    opacity: 0;
    
}
.hero-tenders{
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 16px 0 16px;
    margin-top: 5em;
    margin-bottom: 3em;
}

.hero-tenders .title{
    color: var(--h-color);
    font-size: 36px;
    font-weight: 500;
    margin: 0;
}

.hero-tenders .subtitle{
    color: var(--p-color) ;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    display: flex;
    align-items: center;
}

@media(min-width: 1024px) {
    .hero-tenders{
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        padding: 40px 64px;
    }

    .hero-tenders .title{
        font-size: 56px;
    }
    
    .hero-tenders .subtitle{
        font-size: 20px;
    }
}
.hero-projects{
    display: flex;
    flex-direction: column;
    gap: 48px;
    justify-content: center;
    align-items: center;
    margin: 120px 0 80px;
}

.hero-projects .head{
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.hero-projects .head .title{
    font-size: 36px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.hero-projects .head .subtitle{
    font-size: 16px;
    font-weight: 300;
    color: var(--p-color);
    margin: 0;
}

@media(min-width:1024px) {
    .hero-projects .head{
        max-width: 70%;
    }
    .hero-projects .head .title{
        font-size: 60px;
        /* max-width: 70%; */
    }
    .hero-projects .head .subtitle{
        font-size: 20px;
        max-width: 80%;
    }
}
.single-group-slider{
    margin: 120px 0;
    display: flex;
    flex-direction: column;
    gap: 24px
}

.single-group-slider .title{
    color: var(--h-color);
    font-size: 30px;
    font-weight: 500;
    margin: 0;
}

@media(min-width:1024px) {
    .single-group-slider .title{
        font-size: 48px;
    }
}
.single-group{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-group .company-card {
    background-color: var(--dark-text);
    border: 1px solid var(--utility-gray);
    padding: 16px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.single-group .company-card .section{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-group .company-card .section h3{
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: var(--light-text-3);
}

.single-group .company-card .section .section-tag{
    font-size: 14px;
    font-weight: 400;
    color: #7CD4FD;
    padding: 4px 10px;
    background-color: #062C41;
    border: 1px solid #065986;
    border-radius: var(--radius-sm);
    width: fit-content;
}



.single-group .main-card {
    background-color: var(--primary-color);
    display: grid;
    grid-template-rows: 1.17fr 1fr; 
    border-radius: var(--radius-sm);
}

.single-group .main-card .content{
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.single-group .main-card .content .head{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-group .main-card .content .head .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.single-group .main-card .content .head .description{
    font-size: 14px;
    font-weight: 300;
    color: var(--a-color);
    margin: 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.single-group .main-card .content .link{
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--a-color);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    background-color: var(--dark-text);
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 8px;
}

.single-group .main-card .image{
    background-position: center;
    background-size: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    height: 286px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 8px 12px;
}

.single-group .main-card .image .tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.single-group .main-card .image .tags .tag{
    font-size: 12px;
    font-weight: 400;
    color: var(--a-color);
    background-color: var(--dark-text);
    border: 1px solid var(--border-color-2);
    border-radius: var(--radius-rounded);
    padding: 2px 8px;
}





@media(min-width: 426px) {
    .single-group .main-card .content .head .description{
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }
}


@media(min-width: 1024px) {
    .single-group{
        display: grid;
        grid-template-columns: 250px 1fr;
    }
    
    
    .single-group .main-card {
        display: grid;
        grid-template-rows: unset;
        grid-template-columns: 1fr 1fr; 
    }
    
    
    .single-group .main-card .content .head .title{
        font-size: 38px; /* NTT era 48px */
    }

    .single-group .main-card .content .head .description{
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .single-group .main-card .image{
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
        height: 320px;  
    }
    
    
}


.news {
    margin: 90px 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news span{
    color: var(--a-color);
    font-size: 14px;
    font-weight: 400;
}

.news .order{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0 16px;
    gap: 16px;
}

.news .order .label{
    color: var(--h-color);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.news .order .inputSort{
    width: fit-content;
    border: none;
    border-bottom: 1px solid var(--utility-gray);
    border-radius: 0;
    background-color: transparent;
    color: var(--p-color);
    font-size: 16px;
    font-weight: 500;
}


.news .container{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news .container .page{
    display: none;
}

.news .container .page.visible{
    display:flex;
    flex-direction: column;
    gap: 8px;
}

.news .container .card {
    display: grid;
    grid-template-rows: 200px 1fr;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* When pic is not present, content takes full width */
.news .container .card:not(:has(.pic)) {
    grid-template-rows: 1fr;
}

.news .container .card .pic{
    position: relative;
}

.news .container .card .image{
    background-position: center;
    background-size: cover;
    background-color: aliceblue;
}

.news .container .card .image-tags {
    position: absolute;
    bottom: 8px;
    left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3em;
}
.news .container .card .image-tags .image-tag-chip{
    background-color: #2c2c2c;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    color: var(--a-color);
    font-size: 12px;
    font-weight: 500;

    display: flex;
    gap: .5em;
    align-items: center;
    padding: 2px 10px;
    width: fit-content;
    white-space: nowrap;
}

.news .container .card .content{
    padding: 12px;
    gap: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;

}

.news .container .card .content .content-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.news .container .card .content .link {
    width: 100%;
    margin-top: auto;
}
.news .container .card .content .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
  }

.news .container .card .content .tags .tag-chip {
    width: fit-content;
    display: flex;
    gap: .5em;
    align-items: center;
    padding: 4px 12px;
    background-color: var(--dark-color);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    color: var(--light-color);
    font-size: 14px;
    font-weight: 400;
}
    .news .container .card .content .tags .tag-chip i {
        color: var(--border-color);
    }
    .news .container .card .content .tags .tag-chip.active {
        background-color: #1F235B;
        border: 1px solid #2D31A6;
        color: #A4BCFD;
        font-weight: 400;
    }
    .news .container .card .content .tags .tag-chip.active i {
        color: #6172f3;
    }

.news .container .card .content .title{
    margin: 0;
    color: var(--light-text-3);
    font-size: 24px;
    font-weight: 500;
}

.news .container .card .content .description{
    margin: 0;
    color: var(--a-color);
    font-size: 14px;
    font-weight: 300;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news .container .card .content .link {
    cursor: pointer;
    display: flex;
    gap: .6em;
    justify-content: center;
    align-items: center;
    padding:10px 26px;

    background-color: var(--dark-text);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    color: var(--a-color);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}





.news .pagination{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 2em;
    padding: 12px 24px 16px 24px;
    gap: 12px;
    border-top: 1px solid var(--dark-text-2);
}

.news .pagination .controls{
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.news .pagination .controls button{
    cursor: pointer;
    padding: 8px 12px;
    background-color: var(--dark-text);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    color: var(--a-color);
    font-size: 14px;
    font-weight: 500;
}



@media(min-width:1024px) {
    .news .container .card{
        display: grid;
        grid-template-columns: 0.5fr 0.5fr;
        grid-template-rows: unset;
    }

    /* When pic is not present at desktop, content takes full width */
    .news .container .card:not(:has(.pic)) {
        grid-template-columns: 1fr;
    }

    .news .container .card .image{
        height: 280px;
    }

    .news .container .card .content{
        justify-content: start;
    }
}

/* "Corsi" card variant */
.corsi-style .news .container .card {
    background-color: #131c2b;
    border: none;
    color: var(--light-text-3);
}

/* "Eventi" card variant */
.eventi-style .news .container .card {
    background-color: var(--h-color);
    border: none;
    color: var(--dark-text);
}
.eventi-style .news .container .card .image-tags .image-tag-chip {
    background-color: var(--h-color);
    border-color: #586E99;
    color: #586E99;
}
.eventi-style .news .container .card .content .tags .tag-chip {
    background-color: #eff4ff;
    border-color: #2e50fa;
    color: #1126a1;
    font-weight: 400;
}
.eventi-style .news .container .card .content .tags .tag-chip.active {
    background-color: #eef4ff;
    border-color: #c7d6fe;
    color: #3538CD;
    font-weight: 400;
}

.eventi-style .news .container .card .title, .eventi-style .news .container .card .description, .eventi-style .news .container .card .link {
    color: #2c2c2c;
}
.eventi-style .news .container .card .link{
    background-color: #fff;
    border-color: var(--border-color-2);
}


/* "Progetti" card variant */
.progetti-style .news .container .card {
    background-color: #101870;
}
.progetti-style .news .container .card .image-tags .image-tag-chip {
    background-color: var(--dark-text);
    border-color: var(--border-color-2);
    color: var(--a-color);
}
.progetti-style .news .container .card .link{
    background-color: var(--dark-text);
    border-color: var(--border-color-2);
    color: var(--a-color);
}

/* "News" card variant */
.news-style.news .container .card .content .link {
    width: fit-content;
}



/* "Bandi" card variant */
.bandi-style .news .container .card {
    background-color: #b2ccff;
    border: none;
    color: var(--dark-text);
    min-height: 360px;
}
.bandi-style .news .container .card .content .tags .tag-chip {
    background-color: #eff4ff;
    border-color: #2e50fa;
    color: #3538CD;
    font-weight: 400;
    padding: 4px 12px 4px 10px;
}
.bandi-style .news .container .card .content .tags .tag-chip i {
    color: #2e50fa;
}
.bandi-style .news .container .card .content .tags .tag-chip.positive {
    background-color: #ECFDF3;
    border-color: #47CD89;
    color: #067647;
    font-weight: 400;
}
.bandi-style .news .container .card .content .tags .tag-chip.positive i {
    color: #47CD89;
}
.bandi-style .news .container .card .content .tags .tag-chip.negative {
    background: #FEF3F2;
    border: 1px solid #F97066;
    color: #B42318;
    font-weight: 400;

}
.bandi-style .news .container .card .content .tags .tag-chip.negative i {
    color: #F04438;
}

.bandi-style .news .container .card .title, .bandi-style .news .container .card .description, .bandi-style .news .container .card .link {
    color: var(--dark-text);
}
.bandi-style .news .container .card .link{
    background-color: #fff;
    border-color: var(--border-color-2);
    color: #2c2c2c;
    font-size: 14px;
    padding: 10px 14px;
    box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05), inset 0px 0px 0px 1px rgba(10, 13, 18, 0.18), inset 0px -2px 0px rgba(10, 13, 18, 0.05);
}

@media(min-width:1024px) {
    .bandi-style .news .container .card {
        min-height: 280px;
    }
}


.europe-projects{
    display: flex;
    flex-direction: column;
    margin: 90px 0;
    padding: 90px 16px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media(min-width:1024px) {
    .europe-projects{
        padding: 90px 64px;
    }
}
.double-card-slider {
    margin: 90px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .double-card-slider .title {
    color: var(--h-color);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
  }


  .double-carousel {
    position: relative;
    overflow: hidden;
    padding-bottom: 2.5em;
    --current-slide: 0;
  }
  
  .double-carousel .double-slides {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s;
    transform: translateX(calc(-100% * var(--current-slide)));
    
  }
  
  .double-carousel .double-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .double-carousel .blue-card{
    flex: 0 0 48.8%;
  }
  
  .double-carousel .double-carousel-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .double-carousel .double-carousel-dot {
    width: 1rem;
    height: 1rem;
    background-color: var(--utility-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease;
  }
  
  .double-carousel .double-carousel-dot.active {
    background-color: var(--light-text-3);
    border: 1px solid var(--a-color);
    width: 1.2rem;
    height: 1.2rem;
  }
  
 

  @media(min-width:1024px) {
    .double-card-slider .title {
      font-size: 36px;
    }
  
    .double-carousel .double-slide {
      flex-direction: row;
    }

    .double-carousel .blue-card{
      flex: 0 0 49.2%;
    }
  }
 .card-item {
    flex: 0 0 302px;
    scroll-snap-align: start; 
    overflow: hidden;
    display: grid;
    grid-template-rows: 200px 1fr;

    border: 1px solid var(--utility-brand);
    border-radius: var(--radius-sm);
    background-color: var(--dark-text-2);

  }

  .blue-cards .card-item,  .card-item.blue-card {
    background-color: var(--primary-color);
    border: none;
  }

   .card-item .image{

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column-reverse;
    padding: 10px;
    align-items: start;
    flex: 1;
    min-height: 200px;
    height: 200px;
    max-height: 200px;

    background-color: aquamarine;

  }

   .card-item .image img{
    display: block;
    height: 200px;
  }

   .card-item .image-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

   .card-item .image-tag{
    background-color: var(--dark-text);
    border: 1px solid var(--border-color-2);
    color: var(--a-color);
    border-radius: var(--radius-rounded);
    padding: 2px 8px;
    font-size: 12px;
    white-space: nowrap;
  }


   .card-item .infos{
    display: grid;
    grid-template-rows: 1fr 40px;
    padding: 12px;
    gap: 1em;
  }
   .card-item .details {
    display: grid;
    gap: .6em;
  }

   .card-item .tag-container{
    display: flex;
    flex-direction: column;
    gap:8px
  }

  
   .card-item .tags {
    display: flex;
    gap: 6px;
    flex-direction: row;
  }
  
   .card-item .tag {
    cursor:default;
    background-color: var(--secondary-color);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-rounded);
    color: var(--light-text);
    font-size: 14.5px;
    padding: 2px 10px;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
  }

   .card-item .link{
    color: var(--a-color);
    font-size: var(--radius-lg);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    background-color: var(--dark-text);
    padding: .5em 1em;
    display: flex;
    gap: 0.6em;
    align-items: center;
    justify-content: center;
    width: 100%;
  }


   .card-item .title{
    font-size: 24px;
    color: var(--h-color);
    font-weight: 500;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    
  }

   .card-item .description{
    font-size: 14px;
    color: var(--a-color);
    font-weight: 300;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
.sectors{
    margin: 160px 0px 150px 0px;
    display: flex;
    gap: 24px;
    flex-direction: column;
    padding: 8px 0;
}

.sectors .head{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sectors .head .title{
    margin: 0;
    font-size: 36px;
    font-weight: 500;
    color: var(--h-color);
}

.sectors .subtitle{
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--p-color);
}


.sectors .carousel-wrapper {
    position: relative;
    padding: 12px;
    display: flex; 
    flex-direction: column; 
    gap:24px;
}

.sectors .content .inner-content .carousel-wrapper .title{
    font-size: 18px;
    font-weight: 500;
    color: var(--light-text-2);
    z-index: 1;
    margin: 0;
}

.sectors .carousel-wrapper .container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    margin-right: -80px;
    padding-right: 80px;
    margin-left: -80px;
    padding-left: 80px;
    z-index: 1;
    scrollbar-width: none;
}
.sectors .carousel-wrapper .container:before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -10px;
    right: -9999px;
    height: 187px;

    background-color: var(--bg-dark-3);
    border: 1px solid var(--text-color-brand-700);
    border-radius: var(--radius-sm);
    z-index: -1;
}

.sectors .carousel-wrapper .container::-webkit-scrollbar {
    display: none; 
}
    
.sectors .card-item {
    flex: 0 0 302px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 240px;
    padding: 16px;
    scroll-snap-align: center;
    border: 1px solid var(--text-color-brand-700);
    border-radius: var(--radius-lg);
    background: linear-gradient(360deg, #D1E0FF 0%, #84ADFF 100%);
}

.sectors .carousel-wrapper .container .card-item .title{
    font-size: 24px;
    color: var(--dark-text);
    font-weight: 500;
    margin: 0;
}

.sectors .card-item .description{
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 400;
    margin: 0;
    
}
    /*Pulsanti di navigazione */
.sectors .carousel-wrapper .controls {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 12px 36px;
    gap: 10px;
    /* background-color: var(--bg-dark-3);
    border: 1px solid var(--text-color-brand-700);
    border-radius: var(--radius-sm); */
    height: 187px;
    width: 100%;
    z-index: 1;
    bottom: -60px;
    right: 0px;
}

.sectors .carousel-wrapper .controls div {
    background-color: var(--dark-text);
    color: white;
    border: 1px solid var(--border-color-2);
    padding: 8px 12.65px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    font-size: 13px;
    font-weight: 100;
    height: fit-content;
}


@media(min-width: 1024px) {

    .sectors .head{
        padding: 16px 0;
        gap: 24px;
    }
    
    .sectors .head .title{
        font-size: 48px;
    }

    .sectors .card-item {
        flex: 0 0 31%;
        height: 320px;
    }

    .sectors .content .inner-content .carousel-wrapper .title{
        font-size: 24px;
    }

    .sectors .carousel-wrapper .container .card-item .title{
        font-size: 30px;
    }
}
.hero-competence-center{
    width: 100%;
    height: 900px;
    padding: 160px 0;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-competence-center .content{
    display: flex;
    flex-direction: column;
    gap:64px;
    padding: 0 16px;
    align-items: center;
}

.hero-competence-center .content .title{
    font-size: 36px;
    color: var(--h-color);
    font-weight: 500;
    display: flex;
    margin: 0;
    justify-content: center;
    text-align: center;
}

.hero-competence-center .content .inner-container{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-competence-center .content .inner-container .subtitle{
    font-size: 20px;
    color: var(--h-color);
    font-weight: 300;
    display: flex;
    margin: 0;
    justify-content: center;
    text-align: center;
}

.hero-competence-center .content .inner-container .controls{
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.hero-competence-center .content .inner-container .controls .player{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-rounded);
    background-color: var(--dark-text);
    border: 1px solid var(--utility-gray);
    color: var(--a-color);
    font-size: 20px;
    width: fit-content;
    padding: 12px 14px;
}

.hero-competence-center .content .inner-container .controls .sponsor{
    font-size: 16px;
    color: var(--a-color);
    font-weight: 400;
    display: flex;
    margin: 0;
    justify-content: center;
    text-align: center;
}


@media(min-width:1024px) {

    .hero-competence-center .content{
        max-width: 910px;
    }

    .hero-competence-center .content .title{
        font-size: 60px;
    }

    .hero-competence-center .content .inner-container{
        width: 60% ;
    }
    

}
.statistics-2{
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.statistics-2 .title{
    margin: 0;
    color: var(--h-color);
    font-size: 36px;
    font-weight: 500;
}

.statistics-2 .items{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
}

.statistics-2 .item{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--text-color-brand-700);
    background: url(/assets/images/organization/kpi-card.png) top right/cover var(--primary-color);
}




.statistics-2 .item .value{
    font-family: 'Monoska', sans-serif;
    font-size: 50px;
    font-weight: 300;
    color: var(--h-color);
    margin: 0;
}

.statistics-2 .item .label{
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.statistics-2.curly-bg .items > div:nth-child(8n + 2),
.statistics-2.curly-bg .items > div:nth-child(8n + 4) {
    background: url(/assets/images/organization/kpi-card.png) top right/cover var(--primary-color);
}

/* Righe pari: items in posizione dispari blu */
.statistics-2.curly-bg .items > div:nth-child(8n + 5),
.statistics-2.curly-bg .items > div:nth-child(8n + 7) {
    background: url(/assets/images/organization/kpi-card.png) top right/cover var(--primary-color);
}

.statistics-2.curly-bg .items > * {
    background-image: unset;
    background-color: var(--bg-dark-3);
}





@media(min-width: 1024px) {

    .statistics-2{
        padding: 64px 0;
    }


    .statistics-2 .items{
        display: grid;
        grid-template-columns: repeat(4, 23.7%);
        
    }

    
}
.contact-incentivo-2 {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 64px;
    
    margin: 90px 0;
    padding: 64px 18px;

    background-size: cover;
    background-position: center;
    z-index: 0;
    overflow: hidden;
  }
  .contact-incentivo-2 .overlay {
    background: center/cover rgba(12,9,47, 0.75);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
  }
  
  .contact-incentivo-2 .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
  }
  
  .contact-incentivo-2 .title {
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
  }

  
  .contact-incentivo-2 .text {
    font-size: 18px;
    font-weight:300;
    color: var(--light-text-3);
  }





  .contact-incentivo-2 .popup-container{
    z-index: 1;
  }



  
  .contact-incentivo-2 .form{
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var( --bg-dark-3);
    background-color: var(--secondary-color);
    height: 730px;
    width: 100%;
  }




  

@media (min-width: 1024px) {
  .contact-incentivo-2 {
    padding: 4em;
    flex-direction: row;
  }
    .contact-incentivo-2 .popup-container{
      min-width: 46.1%;
      display: flex;
    }

    

    
    .contact-incentivo-2 .form{
      padding: 24px;
    }
      

    .contact-incentivo-2 .content{
        width: 51%;
    }

    .contact-incentivo-2 .title{
        font-size: 48px;
    }

    .contact-incentivo-2 .text{
        font-size: 20px;
    }

  
  
  }

  
@media (min-width: 1200px) {
  

} 
.kpi-2{
    display: flex;
    flex-direction: column;
    padding: 72px 0;
    gap: 24px;
}

.kpi-2 .content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kpi-2 .content .title{
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--h-color);
}

.kpi-2 .content .text{
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    color: var(--p-color);
}

.kpi-2 .cards{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kpi-2 .cards .card{
    box-shadow: 0px 2px 4px -2px #0A0D120F;

    box-shadow: 0px 4px 6px -1px #0A0D120F;
    background-color: var(--bg-dark-3);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 160px;

    background: url(/assets/images/organization/card-bg.png) center/cover;
}

.kpi-2 .cards .card .head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.kpi-2 .cards .card .head .value{
    margin: 0;
    font-family: 'Monoska', sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--light-text-3);
}

.kpi-2 .cards .card .head .link{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-size: 25px;
}

.kpi-2 .cards .card .label{
    margin: 0;
    font-size: 30px;
    font-weight: 400;
    color: var(--utility-color);
}


@media(min-width:1024px) {

    .kpi-2 .content .title{
        font-size: 36px;
    }
    
    .kpi-2 .content .text{
        font-size: 20px;
    }

    .kpi-2 .cards{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .kpi-2 .cards .card{
        height: 220px;
    }

    .kpi-2 .cards .card .head .value{
        font-size: 48px;
    }

    .kpi-2 .cards .card .label{
        font-size: 48px;
    }
    
}
.quote{
    padding: 104px 0;
    display: grid;
    grid-template-rows: 1fr 336px ;
    gap: 24px;
}

.quote .content{
    font-size: 30px;
    color: var(--h-color);
    font-weight: 400;
    margin: 0;
}

.quote .image{
    background-position: center;
    background-size: cover;
    border-radius: var(--radius-xl);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.quote .profile{
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: rgba(12, 14, 18, 0.5);
    gap: 8px;
}

.quote .profile p{
    margin: 0;
}

.quote .profile .name{
    font-size: 16px;
    color: var(--h-color);
    font-weight: 500;
}

.quote .profile .role{
    font-size: 16px;
    color: var(--p-color);
    font-weight: 300;
}


@media(min-width:1024px) {
    .quote{
        grid-template-rows: unset ;
        grid-template-columns: 1fr 1fr;
    }

    .quote .content{
        font-size: 30px;
        height: fit-content;
        align-self: center;
    }

    .quote .image{
        height: 720px;
    }
}
.franchising{
    padding: 64px 0;
    display: grid;
    grid-template-rows: 1fr 496px;
    gap: 32px;
}

.franchising .content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.franchising .content .head{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.franchising .content .head .titles{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.franchising .content .head .titles .tag{
    background-color: var(--dark-text);
    border: 1px solid var(--border-color-2);
    border-radius: var(--radius-rounded);
    padding: 4px 12px;
    width: fit-content;
    font-size: 14px;
    color: var(--a-color);
    font-weight: 400;
}

.franchising .content .head .titles .title{
    font-size: 30px;
    color: var(--h-color);
    font-weight: 500;
    margin: 0;
}

.franchising .content .head .description{
    font-size: 18px;
    color: var(--a-color);
    font-weight: 300;
    margin: 0;
}

.franchising .content .points{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.franchising .content .point{
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
}

.franchising .content .point .check{
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.franchising .content .point .text{
    font-size: 16px;
    font-weight: 300;
    color: var(--a-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.franchising .content .link{
    width: fit-content;
    background-color: var(--cta-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-rounded);
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 300;
    color: white;
    box-shadow: 0px 1px 2px 0px var(--ColorsEffectsShadowsshadow-xs);

    box-shadow: 0px -2px 0px 0px #0A0D120D inset;

    box-shadow: 0px 0px 0px 1px #0A0D122E inset;
}

.franchising .images{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.franchising .images .image{
    border-radius: var(--radius-sm);
    background-color: aliceblue;
    background-position: center;
    background-size: cover;
}



@media(min-width:1024px) {
    .franchising{
        padding: 160px 0;
        grid-template-rows: unset;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .franchising > *:first-child {
        order: 2;
    }
    
    .franchising > *:last-child {
        order: 1;
    }

    .franchising .images{
        height: 640px;
    }

    .franchising .content{
        align-self: center;
        padding: 38px 0;
    }

    .franchising .content .head .titles .title{
        font-size: 48px;
    }

    .franchising .content .head .description{
        font-size: 20px;
    }

    .franchising .content .link{
        font-size: 18px;
        padding: 16px 22px;
    }

    
}
.cards-carousel-2 {
    display: flex;
    flex-direction: column;
    margin: 3em 0;
    gap: 20px;
  }
  
  .cards-carousel-2 .header{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .cards-carousel-2 .header .title {
    color: var(--h-color);
    font-weight: 500;
    font-size: 30px;
    margin: 0 0 6px;
  }
  
  .cards-carousel-2 .subtitle {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--p-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  
  .cards-carousel-2 .carousel-wrapper {
    display: flex; flex-direction: column; gap:15px;
  }
  
  .cards-carousel-2 .container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px; 
    margin-right: -40px;
    padding-right: 40px;
    scrollbar-width: none;
  }
  
  .cards-carousel-2 .container::-webkit-scrollbar {
    display: none; 
  }
    
    .cards-carousel-2 .card-item {
      flex: 0 0 302px;
      scroll-snap-align: start; 
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: 24px;
      height: 320px;
      justify-content: space-between;
      
  
      border: 1px solid var(--text-color-brand-700);
      border-radius: var(--radius-sm);
      background-color: var(--secondary-color);
  
    }

  
    .cards-carousel-2 .card-item .details {
      display: flex;
      gap: 12px;
      flex-direction: column;
    }

    .cards-carousel-2 .card-item .title-1{
        font-size: 30px;
        color: var(--light-text-3);
        font-weight: 500;
        
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;  
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
        word-break: break-word;
        
      }
  
    .cards-carousel-2 .card-item .title{
      font-size: 30px;
      color: var(--h-color);
      font-weight: 500;
      
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;  
      text-overflow: ellipsis;
      overflow-wrap: anywhere;
      word-break: break-word;
      
    }
  
    .cards-carousel-2 .card-item .description{
      font-size: 14px;
      color: var(--p-color);
      font-weight: 400;
      
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 5;
      line-clamp: 5;
      overflow: hidden;  
      text-overflow: ellipsis;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
  
  
  
    /*Pulsanti di navigazione */
  .cards-carousel-2 .controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }
  
  .cards-carousel-2 .controls div {
    background-color: var(--dark-text);
    color: white;
    border: 1px solid var(--border-color-2);
    padding: 10px 16.5px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    font-size: 15px;
    font-weight: 100;
  }
  
  
  
 
  
  
  @media (min-width: 768px){
    .cards-carousel-2 .card-item{
      flex: 0 0 42%;
    }
  }
  
  
  @media(min-width:1024px){
  
    .cards-carousel-2 .header{
      position: relative;
    }
  
    .cards-carousel-2 .header .title {
        font-size: 36px;
      }
  
    .cards-carousel-2 .card-item{
      flex: 0 0 400px;
      height: 360px;
    }
  
    .cards-carousel-2 .container{
      gap: 20px;
    }

    .cards-carousel-2 .card-item .title-1{
        font-size: 48px;
    }
  
    .cards-carousel-2 .card-item .title{
      -webkit-line-clamp: 3;
      line-clamp: 3;
      font-size: 30px;
    }

    .cards-carousel-2 .card-item .description{
        font-size: 18px;
      }


 
  }
  @media(min-width:1200px){
    .cards-carousel-2 .card-item{
      flex: 0 0 29%;
    }
  }
    
.perks-1 {
    background-color: var(--secondary-color);
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    gap: 64px;
  }

  .perks-1 .head{
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .perks-1 h2 {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--h-color);
    margin: 0;
  }

  .perks-1 .subtitle{
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .perks-1 p {
    font-weight: 300;
    font-size: 20px;
    color: var(--p-color);
    margin: 0;
  
  }

  .perks-1 .link{
    padding: 8px 12px;
    background-color: var(--dark-text);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    color: var(--a-color);
  }
  
  .perks-1 .cards-wrapper {
    display: grid;
    gap: 1.5em;
  }
  .perks-1 .card {
    background-color: var(--primary-color);
    border-radius: var(--radius-md);
    border: 1px solid var(--text-color-brand-700);
    min-height: 180px;
    padding: 1.5em;
  
    display: grid;
    gap: 2em;
    align-content: space-between;
  }

  .perks-1 .card h2 {
    font-family: 'Monoska', sans-serif;
    font-weight: 300;
    font-size: 36px;
    color: var(--h-color);
    margin: 0;
  }

  .perks-1 .content{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

    .perks-1 .card h3 {
      font-weight: 300;
      font-size: 24px;
      color: var(--h-color);
      margin: 0;
    }
    .perks-1 .card p {
      font-weight: 400;
      font-size: 14px;
      color: var(--light-text);
      margin: 0;
    }
  
  @media (min-width: 1024px) {
    .perks-1 .cards-wrapper {
      grid-template-columns: 1fr 1fr 1fr;
    }

    .perks-1 .subtitle{
      flex-direction: row;
      justify-content: space-between;
    }

    .perks-1 .card {
      min-height: 320px;
    }

    
        .perks-1 .card h3 {
          font-weight: 400;
          font-size: 30px;
        }
  }
  
.statistics-3{
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.statistics-3 .items{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.statistics-3 .item{
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 24px;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--text-color-brand-700);
    background-color: var(--bg-dark-3);
}

.statistics-3 .item .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    justify-self: center;
    height: 48px;
    width: 100%;
    font-size: 20px;
    background-color: var(--cta-color);
    border-radius: var(--radius-rounded);
}

.statistics-3 .item .content{
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: center;
}




.statistics-3 .item .value{
    font-family: 'Monoska', sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--h-color);
    overflow-wrap: break-word;
    margin: 0;
}

.statistics-3 .item .label{
    font-size: 16px;
    font-weight: 500;
    color: var(--a-color);
    margin: 0;
}


/*LIGHT VERSION*/
.statistics-3.light .item{
    background-color: var(--light-text-2);
    border-color: var(--utility-color);
}

.statistics-3.light .item .icon{
    background-color: white;
    color: #1570EF;
}

.statistics-3.light .item .value{
    color: var(--dark-text);
}

.statistics-3.light .item .label{
    color: var(--utility-gray);
}





@media(min-width: 1024px) {

    .statistics-3{
        padding: 64px 0;
    }

    

    .statistics-3 .items{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
      
        
    }

    .statistics-3 .item .value{
        
        font-size: clamp(28px, 1vw, 36px);
    }

    
}

@media(min-width:1272px) {
    .statistics-3 .items{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}
.modal-hero{
    margin: 100px 0 0 0;
    border-radius: var(--radius-xl);
    background-color:aquamarine;
    height: 719px;
    padding: 8px;

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.modal-hero .content{
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-sm);
    background-color: white;
    gap: 12px;
}

.modal-hero .content .text{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-hero .tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-hero .tags .date{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-indigo-200);
    background-color: #EEF4FF;
    color: var(--text-color-indigo-700);
    font-size: 14px;
    font-weight: 400;
    gap: 4px;
    padding: 4px 12px;
}

.modal-hero .tags .tag{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    background-color: #EEF4FF;
    color: var(--text-color-brand-700);
    font-size: 14px;
    font-weight: 400;
    gap: 4px;
    padding: 4px 12px;
}

.modal-hero .title{
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    color: var(--dark-text);
}

.modal-hero .content .text .description{
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    color: var(--utility-gray);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-hero .content .button{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--text-color-brand-700);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-rounded);
    padding: 10px 14px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.modal-hero .content .content-tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.modal-hero .content .content-tags .content-tag{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-rounded);
    border: 1px solid #B9E6FE;
    background-color: #F0F9FF;
    color: #026AA2;
    padding: 4px 10px;
    font-size: 16px;
    font-weight: 400;
}

.modal-hero .content .partners{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    background-color: var(--h-color);
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-light);
    padding: 16px;
    
}

.modal-hero .content .partners .partner:last-child{
    border-right: none;
}

.modal-hero .content .partners .partner{
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid var(--p-color);
    padding-right: 16px;
}

.modal-hero .content .partners .partner .tag{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    border: 1px solid #B9E6FE;
    padding: 4px 10px;
    background-color: #F0F9FF;
    color: #026AA2;
    font-size: 14px;
    font-weight: 400;
    width: fit-content;
}

.modal-hero .content .partners .partner .name{
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}








.modal-hero .modal{
    max-width: 1024px;
}

.modal-hero .inner-wrapper{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.modal-hero .inner-wrapper .infos{
    display: flex;
    flex-direction: column;
}

.modal-hero .inner-wrapper .infos .head{
    display: flex;
    flex-direction: column;
    padding: 24px 16px 24px 0;
    gap: 16px;
}

.modal-hero .inner-wrapper .infos .head .title{
    font-size: 24px;
}

.modal-hero .inner-wrapper .infos .image{
    height: 418px;
    background-size: 270%;
    background-position: 63% 35%;
    margin-bottom: -1.5em;
    margin-left: -1.5em;
}

.modal-hero .inner-wrapper .form-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-hero .inner-wrapper .form-container .head{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 24px 0 24px;
}

.modal-hero .inner-wrapper .form-container .head .title{
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.modal-hero .inner-wrapper .form-container .head .description{
    font-size: 14px;
    font-weight: 300;
    color: var(--utility-brand);
    margin: 0;
}














@media(min-width: 1024px) {
    .modal-hero{
        
        height: 656px;
    
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

    .modal-hero .content{
        width: 483px;
        justify-content: space-between;
        gap: 0;
    }

    .modal-hero .content .text{
        padding: 24px 0;
    }

    .modal-hero .content .text .title{
        font-size: 28px; /* modificata ntt era 46 */
    } 


    
    
}

.banner-modal .hidden{
  visibility: hidden;
  height: 0;
  opacity: 0;
  
}


.features-carousel {
  display: flex;
  flex-direction: column;
  margin: 80px 0;
  gap: 40px;
}

.features-carousel .header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features-carousel .title {
  color: var(--h-color);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 6px;
}

.features-carousel .subtitle {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--p-color);
}

.features-carousel .carousel-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.features-carousel .features-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 20px;
  padding-right: 40px;
  margin-right: -40px;
  scrollbar-width: none;
}

.features-carousel .features-container::-webkit-scrollbar {
  display: none;
}

.features-carousel .card {
  position: relative;
  flex: 0 0 80%;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  height: 260px;
  padding: 25px;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  
  /* Background setup */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for better text readability */
.features-carousel .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(46, 80, 250, 0.3),
    rgb(14 14 18 / 80%),
    rgb(14 14 18 / 80%),
    rgba(46, 80, 250, 0.3)
  );
  z-index: 1;
}

/* Gradient overlay */
.features-carousel .card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}


/* Hover state - show solid gradient */
.features-carousel .card.no-image::after,
.features-carousel .card:hover::after {
  background: linear-gradient(
    to bottom right,
    /* var(--cta-color), */
    var(--primary-color),
    var(--bg-dark-3),
    var(--bg-dark-3),
    var(--primary-color)
    /* var(--cta-color) */
  );
}

/* Ensure content stays above overlays */
.features-carousel .card .actions,
.features-carousel .card .content {
  position: relative;
  z-index: 3;
}

.features-carousel .actions {
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.features-carousel .tags {
  display: flex;
  gap: 6px;
  align-items: center;
}

.features-carousel .tag {
  cursor: default;
  background-color: var(--secondary-color);
  border: 1.5px solid var(--border-color);
  border-radius: 9999px;
  color: var(--light-text);
  font-size: 14.5px;
  padding: 2px 10px;
}

.features-carousel .link {
  color: var(--h-color);
  font-size: 22px;
  font-weight: lighter;
  pointer-events: none;
}

.features-carousel .content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1;
}

.features-carousel .content .title {
  font-size: 32px;
  color: var(--h-color);
  font-weight: 500;
}

.features-carousel .content .description {
  color: var(--utility-color);
  font-size: 19px;
  font-weight: 400;
}

.features-carousel .controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.features-carousel .controls .prev,
.features-carousel .controls .next {
  background-color: var(--dark-text);
  color: white;
  border: 1px solid var(--border-color-2);
  padding: 10px 16.5px;
  cursor: pointer;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 100;
}

@media (min-width: 768px) {
  .features-carousel .card {
    flex: 0 0 30%;
  }
}
.tender-hero{
    margin: 100px 0 0 0;
    border-radius: var(--radius-xl);
    background-color:aquamarine;
    height: 719px;
    padding: 8px;

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tender-hero .head{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.tender-hero .head .status{
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 24px;
    gap: 12px;
    border-width: 1px;
    border-style: solid;
}

.tender-hero .head .status.opening{
    background-color: var(--dark-text);
    border-color: var(--utility-gray);
    color: var(--h-color);
}

.tender-hero .head .status.closing{
    background-color: var(--bg-brand-50);
    border-color: var(--a-color);
    color: var(--dark-text);
}

.tender-hero .head .status .label{
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: inherit;
}

.tender-hero .head .status .inner-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tender-hero .head .status .inner-container .description{
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: inherit;
}

.tender-hero .head .status .inner-container .tag{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-indigo-200);
    background-color: #EEF4FF;
    color: #079455;
    font-size: 14px;
    font-weight: 400;
    gap: 4px;
    padding: 4px 12px;
    width: fit-content;
    height: fit-content;
}



.tender-hero .content{
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-sm);
    background-color: white;
    gap: 32px;
}

.tender-hero .content .infos{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tender-hero .content .infos .head{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.tender-hero .content .infos .head .label{
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color-brand-700);
}

.tender-hero .content .infos .head .title{
    margin: 0;
    font-size: 48px;
    font-weight: 500;
    color: var(--dark-text);
}

.tender-hero .content .infos .description{
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    color: var(--dark-text);
    text-align: center;
}

.tender-hero .content .ctas{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tender-hero .content .ctas .cta{
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    background-color: var(--text-color-brand-700);
    padding: 8px 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.tender-hero .content .ctas .link{
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    background-color: transparent;
    padding: 8px 12px;
    color: var(--utility-gray);
    font-size: 14px;
    font-weight: 500;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}









@media(min-width: 1024px) {
    .tender-hero{
        
        height: 656px;
    
        display: flex;
        flex-direction: column;
    }

    .tender-hero .head{
        display: grid;
        grid-template-columns: 1fr 1fr;

    }

    .tender-hero .head .status .inner-container{
        flex-direction: row;
    }

    .tender-hero .content{
        padding: 24px 16px;
    }





    
}
.cards-carousel-3 {
    display: flex;
    flex-direction: column;
    margin: 3em 0;
    gap: 20px;
  }
  
  .cards-carousel-3 .header{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .cards-carousel-3 .header .title {
    color: var(--h-color);
    font-weight: 400;
    font-size: 24px;
  }


  
  
  .cards-carousel-3 .carousel-wrapper {
    display: flex; flex-direction: column; gap:15px;
  }
  
  .cards-carousel-3 .container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px; 
    margin-right: -40px;
    padding-right: 40px;
  }
  
  .cards-carousel-3 .container::-webkit-scrollbar {
    display: none; 
  }
    
    .cards-carousel-3 .card-item {
      flex: 0 0 302px;
      scroll-snap-align: start; 
      overflow: hidden;
      display: grid;
      grid-template-rows: 1fr;
  
      border-radius: var(--radius-sm);
      background-color: var(--utility-color);
  
    }
  
  
  
    .cards-carousel-3 .card-item .infos{
      display: grid;
      grid-template-rows: 1fr 40px;
      padding: 12px;
      gap: 8px;
    }
  
    .cards-carousel-3 .card-item .details {
      display: flex;
      flex-direction: column;
      gap: .6em;
      height: 370px;
    }
  

    
    .cards-carousel-3 .card-item .tags {
      display: flex;
      gap: 6px;
      flex-direction: row;
      flex-wrap: wrap;
    }
    
    .cards-carousel-3 .card-item .tags .tag {
      cursor:default;
      background-color: var(--bg-brand-50);
      border: 1.5px solid var(--border-color);
      border-radius: var(--radius-rounded);
      color: var(--text-color-brand-700);
      font-size: 14.5px;
      padding: 2px 10px;
    }
    
    .cards-carousel-3 .card-item .tags .tag.status{
        background-color: #EEF4FF;
        color: #079455;
        border: 1px solid var(--border-color-indigo-200);
    }
  
    .cards-carousel-3 .card-item .link{
      color: var(--utility-gray);
      font-size: var(--radius-lg);
      border-radius: var(--radius-rounded);
      border: 1px solid var(--border-color-2);
      background-color: white;
      padding: .5em 1em;
      display: flex;
      gap: 0.6em;
      align-items: center;
      justify-content: center;
      width: 100%;
    }
  
  
    .cards-carousel-3 .card-item .title{
      font-size: 24px;
      color: var(--dark-text);
      font-weight: 500;
      
      
      
    }
  
    .cards-carousel-3 .card-item .description{
      font-size: 14px;
      color: var(--utility-gray);
      font-weight: 300;
      
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      overflow: hidden;  
      text-overflow: ellipsis;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
  
  
  
    /*Pulsanti di navigazione */
  .cards-carousel-3 .controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }
  
  .cards-carousel-3 .controls div {
    background-color: var(--dark-text);
    color: white;
    border: 1px solid var(--border-color-2);
    padding: 10px 16.5px;
    cursor: pointer;
    border-radius: var(--radius-rounded);
    font-size: 15px;
    font-weight: 100;
  }
  
  

  
  
  /*LIGHT BACKGROUND VERSION*/
  .cards-carousel-3.light-bg .header .title {
    color: var(--dark-text);
    font-weight: 500;
  }

  
  .cards-carousel-3.light-bg .controls div {
    background-color: white;
    color: #414651; 
    border: 1px solid var(--border-color-2);
  }
  
  
  
  @media (min-width: 768px){
    .cards-carousel-3 .card-item{
      flex: 0 0 42%;
    }
  }
  
  
  @media(min-width:1024px){
  
    .cards-carousel-3 .header{
      position: relative;
    }

  
    .cards-carousel-3 .card-item{
      flex: 0 0 450px;
    }
  
    .cards-carousel-3 .container{
      gap: 20px;
    }
  
    .cards-carousel-3 .card-item .title{
      -webkit-line-clamp: 3;
      line-clamp: 3;
      font-size: 22px;

    }
  
    .cards-carousel-3 .card-item .infos {
      gap: 12px;
    }

    .cards-carousel-3 .card-item .infos .details {
        height: unset;
      }

  
    .cards-carousel-3 .header .title {
      font-weight: 500;
      font-size: 28px;
    }

  
    .cards-carousel-3 .card-item .tags .tag {
      font-size: 12px;
      padding: 2px 6px;
      line-height: 1.7;
    }
  }
  @media(min-width:1200px){
    .cards-carousel-3 .card-item{
      flex: 0 0 44%;
    }
  }
    
.statistics-4 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
}

.statistics-4 .card {
    background-color: var(--primary-color);
    border: 1px solid var(--text-color-brand-700);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.statistics-4 .card .value {
    margin: 0;
    font-size: 36px;
    font-weight: 300;
    color: var(--h-color);
    font-family: 'Monoska', sans-serif;
}

.statistics-4 .card .label {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--h-color);
}

.statistics-4 .card .description {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--light-text);
}


@media(min-width: 1024px) {
    .statistics-4 {
        grid-column: 1 / -1; 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .statistics-4 .card .value {
        font-size: 60px;
    }
}
.partners{
    padding: 40px 0;
    gap: 32px;
    display: flex;
    flex-direction: column;
}

.partners .head{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partners .head .title{
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
}

.partners .head .subtitle{
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--a-color);
}

.partners .container{
    /*display: flex;
    flex-direction: row;
    flex-wrap: wrap;*/
    gap: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.partners .container .item{
    /*width: 176px;*/
    height: 100px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--utility-color);
    background-color: var(--light-text-2);

    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}


@media(min-width: 768px) {
    .partners .container{
        grid-template-columns: repeat(3, 1fr);
    }
}


@media(min-width: 1024px) {
    .partners .head .title{
        font-size: 48px;
    }

    .partners .container{
        grid-template-columns: repeat(6, 1fr);
    }
    
    
}
.points-card{
    display: flex;
    flex-direction: column;
    padding: 8px;
    margin: 160px 0px 150px 0px;
    gap: 64px;
}

.points-card .text{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px;
}

.points-card .text .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--light-text-3);
    margin: 0;
}

.points-card .text .description{
    font-size: 16px;
    font-weight: 400;
    color: var(--a-color);
    margin: 0;
}

.points-card .points{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.points-card .point{
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
}

.points-card .point .check{
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.points-card .point .text{
    font-size: 16px;
    font-weight: 300;
    color: var(--a-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.points-card .image{
    height: 360px;
    width: 100%;
    border-radius: var(--radius-sm);
    background-position: center;
    background-size: cover;
    background-color: aliceblue;
}

@media (min-width: 1024px) {

    .points-card {
        display: grid;
        grid-template-columns: 1.05fr 1fr;
    }

    .points-card .image{
            align-self: start;
            height: 100%;
    }
    
    .points-card .text .title{
            font-size: 48px;
    }
}


.dropdown-selector {
  position: relative;
  font-family: sans-serif;
  width: fit-content;
}

.dropdown-selector .dropdown-trigger {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0;
  flex-wrap: wrap;
}

.dropdown-selector .trigger-prefix {
  color: white;
}

.dropdown-selector .trigger-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.dropdown-selector .trigger-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.dropdown-selector + p.abstract {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  max-width: 29em;
}

.dropdown-selector .dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-dark-3);
  min-width: fit-content;
  width: auto;
  opacity: 0;
  visibility: hidden;
  padding: 1rem 0;
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-selector.active .dropdown-content {
  opacity: 1;
  visibility: visible;
}

.dropdown-selector.active .trigger-icon {
  transform: rotate(180deg);
}

.dropdown-selector .dropdown-item {
  padding: 0.5rem 1.5rem;
  font-size: 1.7rem;
  white-space: nowrap;
}

.dropdown-selector .item-link {
  color: white;
  text-decoration: none;
  font-size: 1.7rem;
  transition: opacity 0.3s ease;
}

.dropdown-selector .item-link:hover {
  opacity: 0.8;
}

.dropdown-selector .dropdown-item.selected .item-link {
  color: var(--p-color);
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

@media (min-width: 768px) {
  .dropdown-selector .dropdown-trigger {
    font-size: 2.5rem;
  }
  .dropdown-selector .dropdown-item {
    font-size: 2.5rem;
  }
  .dropdown-selector .item-link {
    font-size: 2.5rem;
  }
  .dropdown-selector + p.abstract {
    font-size: 21px;
  }
}

.news-filtered .filters {
    padding: 1.2em;
    background: var(--dark-bg);
    border-radius: var(--radius-md);
}
.news-filtered .news {
    margin-block: 0;
}

.news-filtered .filter-type {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-filtered .section {
    border-bottom: 1px solid var(--utility-gray);
    padding: 1.75em 0;
    font-weight: 400;
}

.news-filtered .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.news-filtered .section-header h2 {
    margin: 0 0 .5em;
    color: var(--h-color);

    font-weight: 600;
    font-size: 20px;
    line-height: 30px;


    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;

}

.news-filtered .toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
}

.news-filtered .section-content {
    padding: 1.8em 0 .8em;
    transition: all 0.3s ease;
}

.news-filtered .section-content.collapsed {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.news-filtered .range-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-filtered .range-value {
    color: var(--text-color);
    font-size: 14px;
}

.news-filtered .search-checkbox-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-filtered .search-input {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-color);
}

.news-filtered .filter-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
}

.news-filtered .filter-actions button {
    padding: 8px 16px;
    border-radius: var(--radius-rounded);
    cursor: pointer;
}

.news-filtered .filter-actions .reset {
    background: transparent;
    border: none;
    border-bottom: 1px solid #4d5b76;
    border-radius: 0;
    color: var(--p-color);
    padding: .8em .2em;
}

.news-filtered .filter-actions .apply {
    background: #131c2b;
    border: 1px solid var(--a-color);
    color: var(--a-color);
}

.news-filtered .double-range-container {
    position: relative;
    height: 40px;
}

.news-filtered .double-range-container::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    background: var(--utility-gray);
    transform: translateY(-50%);
    border-radius: 2px;
}

.news-filtered .double-range-container::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 4px;
    background: var(--a-color);
    transform: translateY(-50%);
    border-radius: 2px;
    /* This will be updated by JavaScript */
}

.news-filtered .double-range-container input[type="range"] {
    position: absolute;
    bottom: 15px;
    width: 100%;
    -webkit-appearance: none;
    pointer-events: none;
    background: none;
    outline: none;
}

.news-filtered .double-range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--a-color);
    cursor: pointer;
    border: none;
    margin-top: -7px;
    z-index: 3;
    position: relative;
}

.news-filtered .double-range-container input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: none;
}

.news-filtered .double-range-container .min-range {
    left: -5px;
    z-index: 1;
}

.news-filtered .double-range-container .max-range {
    right: -5px;
    z-index: 2;
}

@media (min-width: 768px) {
    .news-filtered {
        display: grid;
        grid-template-columns: 30% 1fr;
        gap: 4em;
    }
    .news-filtered .filters {
        padding: 0;
    }
    .news-filtered .news {
        padding: 0;
    }
}

/* AGGIUNTO NTT */
.title {
    color: var(--h-color);
    font-weight: 500;
    font-size: 36px;
    margin: 0 0 6px;
}
.infos-card {
    background-color: white;
    border-radius: 24px;
    padding: 16px;
    gap: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 280px;
}

.infos-card .content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.infos-card .content .title {
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.infos-card .content .info-fields-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.infos-card .content .info-fields-simple .info-field-simple {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.infos-card .label {
    font-size: 16px;
    font-weight: 500;
    color: var(--cta-color);
    margin: 0;
}

.infos-card .content .info-fields-simple .info-field-simple .value {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.infos-card .content .info-field-advanced {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.infos-card .content .info-field-advanced .values{
    display: flex;
    flex-direction: row;
    gap: 10px; /* NTT cambiato da 24px a 10px */
    flex-wrap: wrap;
}

.infos-card .content .info-field-advanced .value {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.infos-card .content .info-field-advanced .value .picture{
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 48px;
    height: 140px;
    background-color: white;
    border-radius: var(--radius-rounded);
}

.infos-card .content .info-field-advanced .value .picture--unrounded{
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0;
}

.infos-card .content .info-field-advanced .value .infos{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.infos-card .content .info-field-advanced .value .infos .name{
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-text);
}

.infos-card .content .info-field-advanced .value .infos .roles{
    font-size: 16px;
    font-weight: 300;
    color: var(--utility-brand);
}

.infos-card .content .download-links .label{
    margin-bottom: .5em;
}

.infos-card .content .download-links{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.infos-card .content .download-links a {
    display: flex;
    gap: .5em;
    align-items: center;

    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--utility-brand);
}







.infos-card .cta {
    background-color: var(--text-color-brand-700);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-rounded);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
}




.contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
}

.contacts .head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts .head .tag {
    font-size: 12px;
    font-weight: 400;
    color: var(--utility-gray);
    background-color: var(--h-color);
    padding: 2px 8px;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    width: fit-content;
}

.contacts .head .title {
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.contacts .head .text {
    font-size: 18px;
    font-weight: 400;
    color: var(--utility-gray);
    margin: 0;
}

.contacts .body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts .body .contact {
    display: flex;
    flex-direction: column;
    gap: 48px;
    background-color: var(--light-text-3);
    border-radius: var(--radius-md);
    padding: 24px;
}

.contacts .body .contact .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #1570EF;
    font-size: 20px;
}

.contacts .body .contact .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts .body .contact .info .name-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts .body .contact .info .name-container .name {
    font-size: 20px;
    font-weight: 500;
    color: #181D27;
    margin: 0;
}

.contacts .body .contact .info .name-container .text {
    font-size: 16px;
    font-weight: 300;
    color: #535862;
    margin: 0;
}

.contacts .body .contact .info .link {
    font-size: 16px;
    font-weight: 500;
    color: #1246A1;
    margin: 0;
    text-decoration: underline;
}

.contacts .body .contact .image {
    width: 100%;
    height: 214px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
}





















.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

.accordion > .item:first-child {
    border-top: none;
}

.accordion .item{
    display: flex;
    flex-direction: row;
    border-top: 1px solid var(--a-color);
    padding-top: 24px;
}

.accordion .item-content{
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 87%;
}

.accordion .toggle{
    cursor: pointer;
}

.accordion .item-title{
    font-size: 18px;
    font-weight: 400;
    color: #181D27;
    margin: 0;
}

.accordion .item-text{
    font-size: 16px;
    font-weight: 300;
    color: #535862;
    margin: 0;

    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease, padding 0.5s ease; 
}

.accordion .item-icon{
    font-size: 14px;
    flex: 1 0 auto;
    display: flex;
    justify-content: end;
}

.accordion .icon-container{
    width: 25px;
    height: 25px;
    color: var(--p-color);
    border-radius: var(--radius-rounded);
    border: 1.5px solid var(--p-color);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FIX 78 */
.accordion .item-text.visible{
    max-height: 500px;
}

.accordion a {
    color: #1246A1 !important;
    text-decoration: underline !important;
    font-size: 14px !important;
}

.copy-link {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--a-color);

    justify-content: space-between;
    gap: 20px;
}

.copy-link:has(> :only-child){
    justify-content: center;
}

.copy-link .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: white;
    border: 1px solid var(--border-color-2);
    border-radius: var(--radius-rounded);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--utility-gray);
}

.copy-link .profile{
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.copy-link .picture{
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
    background-color: white;
    border-radius: var(--radius-rounded);
}

.copy-link .infos{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.copy-link .infos .name{
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-text);
}

.copy-link .infos .roles{
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    color: var(--utility-brand);
}

.preview-banner {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-md);
    background-color: var(--utility-color);
    gap: 16px;
}

.preview-banner .head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-banner .head .title {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-text);
}

.preview-banner .head .text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--utility-brand);
}

.preview-banner .link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-rounded);
    background-color: var(--text-color-brand-700);
    border: 1px solid var(--border-color);
    width: fit-content;
    height: fit-content;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

@media (min-width: 1024px) {
    .preview-banner {
        flex-direction: row;
        align-items: center;
    }
    
}






.text-content {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-content .title {
    font-size: 30px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.text-content .content-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.text-content .content-container .check{
    min-width: 32px;
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.text-content .content {
    color: var(--utility-brand);
    margin: 0;
    font-size: 20px;
    font-weight: 300;
}

.text-content.card-bg {
    margin: 48px 0;
    background-color: var(--h-color);
    border-radius: var(--radius-xl);
    padding: 32px;
}

/* AGGIUNTO NTT */
.text-content ul {
    padding-left: 10px !important;
    font-size: 18px !important;
    color: var(--utility-brand);
}

.text-content ul li {
    padding-top: 5px !important;
}

.text-content ul a {
    color: #1246A1 !important;
    text-decoration: underline !important;
    font-size: 18px !important;
}

.text-content a {
    color: #1246A1 !important;
    text-decoration: underline !important;
    font-size: 18px !important;
}
.image-credits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 48px 0;
}

.image-credits .image {
    width: 100%;
    height: 480px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.image-credits .credit {
    color: var(--utility-brand);
    font-size: 14px;
    font-weight: 300;
}

.image-credits .credit a {
    font-weight: 400;
    color: inherit;
    text-decoration: underline;
}
.quote-card {
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.quote-card .quote-q {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    color: var(--dark-text);
    text-align: center;
}

.quote-card .author-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.quote-card .author-container .image {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    background-color: white;
    background-size: cover;
    background-position: center;
}

.quote-card .author-container .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.quote-card .author-container .info .name {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.quote-card .author-container .info .role {
    font-size: 14px;
    font-weight: 300;
    color: var(--utility-brand);
    margin: 0;
}









.quote-card-2{
    display: flex;
    flex-direction: row;
    margin: 48px 0;
    border-left: 2px solid var(--border-color);
}

.quote-card-2 .quote-container{
    display: flex;
    flex-direction: column;
    gap: 32px;

    padding: 8px 0;
    padding-left: 20px;
}

.quote-card-2 .quote-container .quote-q{
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    color: var(--dark-text);
}

.quote-card-2 .quote-container .author{
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    color: var(--utility-brand);
}







.news-title{
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    margin: 100px 0 0 0 ;
}

.news-title .head{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-title .head .info{
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color-brand-700);
}

.news-title .head .title{
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    color: var(--dark-text);
}

.news-title .subtitle{
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    color: var(--utility-brand);
}


@media (min-width: 1024px) {
    .news-title .head .title{
        font-size: 48px;
    }

}









.technologies {
  padding: 2rem 0;
  position: relative;
}

.technologies.scaled-down {
  transform: scale(0.65);
  transform-origin: top;
}

.technologies .tech-sections {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.technologies .tech-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.technologies .section-header {
  display: grid;
  align-content: center;
  justify-content: flex-start;
  gap: 2rem;
  position: relative;
  height: 244px;
  width: 244px;
}
.technologies .section-header .circle-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/assets/images/elements/circle-outer-full.png) no-repeat;
  background-size: contain;
  background-position: center center;
  border-radius: var(--radius-rounded);
  border: 1px solid var(--utility-brand);
  z-index: 0;
  animation: rotate 2s linear infinite paused;
}
.technologies .section-header .circle-inner {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: url(/assets/images/elements/circle-inner-full.png) no-repeat;
  background-size: contain;
  background-position: center center;
  border-radius: var(--radius-rounded);
  animation: rotate-inner 2s linear infinite reverse paused;
}

.technologies .section-header:hover .circle-animated {
  animation-play-state: running;
}

.technologies .section-header:hover .circle-animated .circle-inner {
  animation-play-state: running;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@keyframes rotate-inner {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(720deg);
  }
}

.technologies .section-number {
  color: var(--light-text-3);
  font-family: 'Monoska', sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 72px;
  letter-spacing: -0.02em;
  z-index: 1;
}

.technologies .section-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border: 2px solid var(--border-color);
  background-color: var(--cta-color);
  box-shadow: inset 0px 0px 0px 1px rgba(12, 14, 18, 0.18), inset 0px -2px 0px rgba(12, 14, 18, 0.05);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-rounded);
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 1;
}

.technologies .tech-cards {
  display: grid;
  gap: 1.5rem;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
}

.technologies .tech-card {
    background: linear-gradient(90deg, #101870 0%, #110D45 100%);
    border: 1px solid #1126a1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0.6rem;
}

.technologies .card-image {
  position: relative;
  overflow: hidden;
}

.technologies .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.technologies .card-tag {
    background-color: var(--dark-color);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    color: var(--light-color);
    font-size: 0.875rem;
    margin-bottom: .8rem;
    padding: 0.25rem 0.75rem;
    width: fit-content;
}

.technologies .card-content {
  padding: 1.5rem;
}

.technologies .card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--h-color);
}

.technologies .card-content p {
    margin: 0;
    color: var(--a-color);
    font-size: 0.9rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

/* Modal Styles */
.technologies .tech-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
}

.technologies .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  cursor: pointer;
}

.technologies .modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark-color);
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  z-index: 1002;
  padding: 0;
}

.technologies .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.technologies .modal-header h2 {
    color: var(--h-color);
    margin: 0;

    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: var(--light-text-3);
}
.technologies p {
    color: var(--a-color);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.technologies .modal-close {
  background: none;
  border: none;
  color: var(--p-color);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.2s;
  

  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 1003;
}

.technologies .modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.technologies .modal-close:focus {
  outline: none;
  outline-offset: 0;
}

.technologies .modal-close:focus:not(:focus-visible) {
  outline: none;
}

.technologies .modal-close i {
  pointer-events: none;
}
.technologies .modal-close img {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

.technologies .modal-body {
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.technologies .modal-image {
  position: relative;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.technologies .modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.technologies .modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.technologies .modal-tag {
    background-color: transparent;
    color: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--primary-color);
    font-size: 0.875rem;
}

.technologies .modal-tag.main-tag {
  background-color: transparent;
  color: var(--light-color);
  border: 1px solid var(--border-color);
}

.technologies .modal-details {
  padding: .5rem;
  display: grid;
  gap: 1rem;
}

.technologies .modal-description {
  color: var(--p-color);
  line-height: 1.6;
}

.technologies .modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.technologies .modal-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .technologies .tech-card {
    display: grid;
    grid-template-columns: minmax(30%, 270px )1fr;
    min-height: 240px;
    max-width: 790px;
    z-index: 1;
  }
  .technologies .tech-card .card-image {
    border-radius: var(--radius-lg);
  }
  .technologies .tech-card .card-image img {
    height: 100%;
    object-fit: cover;
  }
  .technologies .tech-card .card-content {
    display: grid;
    gap: 0.7rem;
    padding: 2rem;
  }
  .technologies .tech-card .card-content h3 {
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: var(--light-text-3);
  }
  .technologies .tech-card .card-content p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--a-color);
  }


  .technologies .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    min-height: 500px;
    padding: 8px;
  }

  .technologies .modal-image {
    height: auto;
    border-radius: var(--radius-lg);
    order: 2;
  }

  .technologies .modal-details {
    padding: 1rem;
    display: grid;
    gap: 1rem;
    grid-auto-rows: max-content max-content 1fr min-content;
    order: 1;
  }


    .technologies p {
        color: var(--a-color);
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
    }
}

/* Custom layouts for larger screens */
@media (min-width: 1400px) {
  .technologies .tech-sections {
    gap: 8rem;
  }
  
  .technologies .tech-section {
    position: relative;
    padding-top: 0;
  }

  .technologies .section-header {
    position: absolute;
    top: calc(50px - 3.5rem);
    left: calc(100% / var(--divisions) * 5.4);
    z-index: 0;
  }
  .technologies .section-number {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  .technologies .tech-section .section-cta {
    position: absolute;
    top: 50%;
    left: -170px;
    transform: translateY(-50%);
    z-index: 1;
  }
  
  :root {
    --divisions: 20;
  }

  .technologies .tech-cards {
    display: grid;
    grid-template-columns: repeat(var(--divisions), 1fr);
    grid-auto-rows: auto;
    gap: 2rem;
    width: 100%;
    padding-top: 7rem;
  }
  
  /* Default styling for all cards to ensure none are missed */
  .technologies .tech-card {
    grid-column-start: 4;
    grid-column-end: span calc(var(--divisions) * 0.55555556);
    grid-row: auto;
  }
  

  /* Circles ------------------------------------------------------------  */
  .technologies .tech-section:nth-of-type(1) .section-header {
    left: calc(100% / var(--divisions) * 5.4);
  }
  .technologies .tech-section:nth-of-type(1) .section-cta {
    top: 50%;
    left: -170px;
    transform: translateY(-50%);
  }

  .technologies .tech-section:nth-of-type(2) .section-header {
    aspect-ratio: 1 / 1;
    left: 2%;
    right: 26%;
    top: calc(220px - 3.7rem);
    position: absolute;
    width: unset;
    height: unset;
    
  }
  .technologies .tech-section:nth-of-type(2) .section-number {
    top: 30%;
    transform: translateY(-30%);
    left: 0;
  }
  .technologies .tech-section:nth-of-type(2) .section-cta {
    top: 39%;
    transform: translateY(-40%);
    left: 0;
  }

  .technologies .tech-section:nth-of-type(3) .section-header {
    aspect-ratio: 1 / 1;
    right: 6%;
    left: 17%;
    top: calc(180px - 3.5rem);
    position: absolute;
    width: unset;
    height: unset;
  }
  .technologies .tech-section:nth-of-type(3) .section-number {
    top: 32%;
    left: unset;
    right: 0;
  }
  .technologies .tech-section:nth-of-type(3) .section-cta {
    top: 42.5%;
    left: unset;
    right: 0;
  }

  .technologies .tech-section:nth-of-type(4) .section-header {
    left: calc(100% / var(--divisions) * 4.1);
  }
  .technologies .tech-section:nth-of-type(4) .section-cta {
    top: 50%;
  }

  .technologies .tech-section:nth-of-type(5) .section-header {
    top: calc(100px - 9.6rem);
    left: calc(100% / var(--divisions) * 5.3);
  }
  .technologies .tech-section:nth-of-type(5) .section-cta {
    top: 45%;
    left: 0;
  }

  .technologies .tech-section:nth-of-type(6) .section-header {
    top: calc(17px - 3.5rem);
    left: calc(100% / var(--divisions) * 4.5);
  }
  .technologies .tech-section:nth-of-type(6) .section-number {
    top: 0;
    left: 0;
  }
  .technologies .tech-section:nth-of-type(6) .section-cta {
    top: 45%;
    left: 0;
  }

  .technologies .tech-section:nth-of-type(7) .section-header {
    aspect-ratio: 1 / 1;
    left: 9%;
    right: 2%;
    top: calc(380px - 10rem);
    position: absolute;
    width: unset;
    height: unset;
  }
  .technologies .tech-section:nth-of-type(7) .section-number {
    top: 34%;
    left: unset;
    right: 0;
  }
  .technologies .tech-section:nth-of-type(7) .section-cta {
    top: 42.5%;
    left: unset;
    right: 0;
  }


  .technologies .tech-section:nth-of-type(8) .section-header {
    aspect-ratio: 1 / 1;
    left: 46%;
    right: 15%;
    bottom: 0;
    top: unset;
    position: absolute;
    width: unset;
    height: unset;
  }
  .technologies .tech-section:nth-of-type(8) .section-number {
    top: unset;
    left: unset;
    right: 20px;
    bottom: 80px;
  }
  .technologies .tech-section:nth-of-type(8) .section-cta {
    top: unset;
    left: unset;
    right: 20px;
    bottom: 0;
  }
  

  
  /* Cards ------------------------------------------------------------  */
  /* Section 01 */
  .technologies .tech-section:nth-of-type(1) .tech-card:nth-of-type(1) {
    grid-column-start: 8;
    grid-row: 1;
  }
  
  /* Section 02 */
  .technologies .tech-section:nth-of-type(2) .tech-card:nth-of-type(1) {
    grid-column-start: 10;
    grid-row: 1;
  }
  
  .technologies .tech-section:nth-of-type(2) .tech-card:nth-of-type(2) {
    grid-column-start: 7; /* cambiato ntt era 6 ma il pulsante era attaccato alla card */
    grid-row: 2;
  }
  
  .technologies .tech-section:nth-of-type(2) .tech-card:nth-of-type(3) {
    grid-column-start: 10;
    grid-row: 3;
  }
  
  .technologies .tech-section:nth-of-type(2) .tech-card:nth-of-type(4) {
    grid-column-start: 5;
    grid-row: 4;
  }
  
  /* Section 03 */
  .technologies .tech-section:nth-of-type(3) .tech-card:nth-of-type(1) {
    grid-column-start: 5;
    grid-row: 1;
  }
  
  .technologies .tech-section:nth-of-type(3) .tech-card:nth-of-type(2) {
    grid-column-start: 1;
    grid-row: 2;
  }
  
  .technologies .tech-section:nth-of-type(3) .tech-card:nth-of-type(3) {
    grid-column-start: 6;
    grid-row: 3;
  }
  
  .technologies .tech-section:nth-of-type(3) .tech-card:nth-of-type(4) {
    grid-column-start: 4;
    grid-row: 4;
  }
  
  /* Section 04 */
  .technologies .tech-section:nth-of-type(4) .tech-card:nth-of-type(1) {
    grid-column-start: 7;
    grid-row: 1;
  }
  
  /* Section 05 */
  .technologies .tech-section:nth-of-type(5) .tech-card:nth-of-type(1) {
    grid-column-start: 4;
    grid-row: 1;
  }
  
  /* Section 06 */
  .technologies .tech-section:nth-of-type(6) .tech-card:nth-of-type(1) {
    grid-column-start: 7;
    grid-row: 1;
  }
  
  /* Section 07 */
  
  .technologies .tech-section:nth-of-type(7) .tech-card:nth-of-type(1) {
    grid-column-start: 4;
    grid-row: 1;
  }
  
  .technologies .tech-section:nth-of-type(7) .tech-card:nth-of-type(2) {
    grid-column-start: 1;
    grid-row: 2;
  }
  
  .technologies .tech-section:nth-of-type(7) .tech-card:nth-of-type(3) {
    grid-column-start: 4;
    grid-row: 3;
  }
  
  .technologies .tech-section:nth-of-type(7) .tech-card:nth-of-type(4) {
    grid-column-start: 6;
    grid-row: 4;
  }
  
  .technologies .tech-section:nth-of-type(7) .tech-card:nth-of-type(5) {
    grid-column-start: 8;
    grid-row: 5;
  }
  
  /* Section 08 */
  
  .technologies .tech-section:nth-of-type(8) .tech-card:nth-of-type(1) {
    grid-column-start: 4;
    grid-row: 1;
  }
  
  .technologies .tech-section:nth-of-type(8) .tech-card:nth-of-type(2) {
    grid-column-start: 1;
    grid-row: 2;
  }
}

.message-box{
    margin: 90px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.message-box .title{
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
    text-align: center;
}

.message-box .cta{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--cta-color);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.message-box .cta:hover{
    background-color: var(--cta-color-hover);
}

@media (min-width: 1024px) {
    .message-box .title{
        font-size: 48px;
    }

    .message-box .cta{
        font-size: 18px;
    }
}



.text-content {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-content .title {
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.text-content .content-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.text-content .content-container .check{
    min-width: 32px;
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.text-content .content {
    color: var(--utility-brand);
    margin: 0;
    font-size: 18px;
    font-weight: 300;
}

.text-content.card-bg {
    margin: 48px 0;
    background-color: var(--h-color);
    border-radius: var(--radius-xl);
    padding: 32px;
}
.double-card-slider-1 {
    margin: 90px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .double-card-slider-1 .title {
    color: var(--h-color);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
  }


  .double-carousel {
    position: relative;
    overflow: hidden;
    padding-bottom: 2.5em;
    --current-slide: 0;
  }
  
  .double-carousel .double-slides {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s;
    transform: translateX(calc(-100% * var(--current-slide)));
    
  }
  
  .double-carousel .double-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .double-carousel .blue-card{
    flex: 0 0 48.8%;
  }
  
  .double-carousel .double-carousel-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .double-carousel .double-carousel-dot {
    width: 1rem;
    height: 1rem;
    background-color: var(--utility-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s ease;
  }
  
  .double-carousel .double-carousel-dot.active {
    background-color: var(--light-text-3);
    border: 1px solid var(--a-color);
    width: 1.2rem;
    height: 1.2rem;
  }
  
 

  @media(min-width:1024px) {
    .double-card-slider-1 .title {
      font-size: 36px;
    }
  
    .double-carousel .double-slide {
      flex-direction: row;
    }

    .double-carousel .blue-card{
      flex: 0 0 49.2%;
    }
  }
 .card-item-1 {
    flex: 0 0 302px;
    scroll-snap-align: start; 
    overflow: hidden;
    display: grid;
    grid-template-columns:1fr 1fr;

    border: 1px solid var(--utility-brand);
    border-radius: var(--radius-sm);
    background-color: var(--dark-text-2);

  }

  .blue-cards .card-item-1,  .card-item-1.blue-card {
    background-color: var(--primary-color);
    border: none;
  }

   .card-item-1 .image{

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column-reverse;
    padding: 10px;
    align-items: start;
    flex: 1;
    min-height: 200px;
    height: 280px;

    background-color: aquamarine;

  }

   .card-item-1 .image img{
    display: block;
    height: 200px;
  }

   .card-item-1 .image-tags{
    display: flex;
    gap: 8px;
  }

   .card-item-1 .image-tag{
    background-color: var(--dark-text);
    border: 1px solid var(--border-color-2);
    color: var(--a-color);
    border-radius: var(--radius-rounded);
    padding: 2px 8px;
    font-size: 12px;
    white-space: nowrap;
  }


   .card-item-1 .infos{
    display: grid;
    grid-template-rows: 1fr 40px;
    padding: 12px;
    justify-content: space-between;
  }
   .card-item-1 .details {
    display: flex;
    flex-direction: column;

    gap: .6em;
  }

   .card-item-1 .tag-container{
    display: flex;
    flex-direction: column;
    gap:8px
  }

  
   .card-item-1 .tags {
    display: flex;
    gap: 6px;
    flex-direction: row;
  }
  
   .card-item-1 .tag {
    cursor:default;
    background-color: var(--secondary-color);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-rounded);
    color: var(--light-text);
    font-size: 14.5px;
    padding: 2px 10px;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
  }

   .card-item-1 .link{
    color: var(--a-color);
    font-size: var(--radius-lg);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color-2);
    background-color: var(--dark-text);
    padding: .5em 1em;
    display: flex;
    gap: 0.6em;
    align-items: center;
    justify-content: center;
    width: 100%;
  }


   .card-item-1 .title{
    font-size: 24px;
    color: var(--h-color);
    font-weight: 500;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
    
  }

   .card-item-1 .description{
    font-size: 14px;
    color: var(--a-color);
    font-weight: 300;
    
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
.hero-banner-1 {
    margin: 90px 0;
    padding: 8px 0;
    gap: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-banner-1 .content {
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    gap: 1.5em;
}

.hero-banner-1 .content h1 {
    font-size: 36px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.hero-banner-1 .content p {
    font-size: 20px;
    font-weight: 300;
    color: var(--p-color);
    margin: 0;
    max-width: 25em;
    padding-inline: 1em;
}

.hero-banner-1 .image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: aliceblue;
    border-radius: var(--radius-sm);
}


@media (min-width: 1024px) {
    .hero-banner-1 .content h1 {
        font-size: 60px;
    }
    
}


.projects-list {
  display: grid;
  gap: 2.5rem;

  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--p-color);
}

.projects-header h1 {
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: -0.02em;

  margin-bottom: 0.5rem;
  margin-top: 0;
}

.category-header h2 {
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
}

.projects-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 4rem;
}

.category-description {
  font-size: 20px;
  line-height: 30px;
}
.category-description p{
  margin: 0;
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-partners {
  display: inline-flex;
  flex-wrap: wrap;
}

.partner-link {
  font-weight: 500;
  color: var(--border-color);
}

.partner-link:hover {
  text-decoration: underline;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .projects-content {
    flex-direction: row;
    gap: 2rem;
  }
  
  .category-column {
    flex: 1;
    min-width: 0;
  }
  
  .projects-header h1 {
    font-size: 2.5rem;
  }
}

.image-credits-slider .carousel{
    padding-bottom: 0;
}

.image-credits-slider .carousel-pagination{
    bottom: 25px;
    right: 25px; 
    left: unset; 
    transform: none;
}

.image-credits-slider .slide {
    display: flex;
    border-radius: var(--radius-md);
    padding: 5px;

    width: 100%;
    height: 480px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}




.image-credits-slider {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 48px 0;
}


.image-credits-slider .credit {
    color: var(--utility-brand);
    font-size: 14px;
    font-weight: 300;
}

.image-credits-slider .credit a {
    font-weight: 400;
    color: inherit;
    text-decoration: underline;
}



@media (min-width: 1024px) {
    .image-credits-slider .slide {
        align-items: end;
    }
}



.kpi-3 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kpi-3 .stat-card {
    background-color: var(--primary-color);
    border: 1px solid var(--text-color-brand-700);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kpi-3 .stat-card .value {
    margin: 0;
    font-size: 60px;
    font-weight: 300;
    color: var(--h-color);
    font-family: 'Monoska', sans-serif;
}

.kpi-3 .stat-card .label {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--h-color);
}

.kpi-3 .stat-card .description {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--light-text);
}

@media (min-width: 1024px) {
    .kpi-3 {
        grid-column: 1 / -1; 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

}



.hero-community{
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 0 0 0;
    margin-top: 5em;
    margin-bottom: 3em;
}

.hero-community .image{
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    background-color: aliceblue;
}
.hero-community .image img{
    object-fit: cover;
    display: block;
}

.hero-community .content{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-community .inner-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-community .title{
    color: var(--h-color);
    font-size: 36px;
    font-weight: 600;
    margin: 0;
}

.hero-community .subtitle{
    color: var(--a-color) ;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    display: flex;
    align-items: center;
}


.hero-community .points{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero-community .point{
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
}

.hero-community .point .check{
    height: 32px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/assets/images/elements/check.png");
}

.hero-community .point .text{
    font-size: 16px;
    font-weight: 300;
    color: var(--a-color);
    margin: 0;
    display: flex;
    align-items: center;
}


@media(min-width: 1024px) {
    .hero-community{
        
        width: 100%;
        padding: 40px 0;
    }

    .hero-community .content{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }  
    
    

    .hero-community .title{
        font-size: 56px;
    }
    
    .hero-community .subtitle{
        font-size: 20px;
        line-height: 30px;
    }
}
.service-grid-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
    gap: 40px;
}

.service-grid-wrapper .head {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-grid-wrapper .head h2 {
    font-size: 30px;
    font-weight: 500;
    color: var(--h-color);
    margin: 0;
}

.service-grid-wrapper .head p {
    font-size: 20px;
    font-weight: 300;
    color: var(--a-color);
    margin: 0;
}


.service-grid-wrapper .grid{
}


@media (min-width: 1024px) {
    .service-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }

    .service-grid-wrapper .head h2 {
        font-size: 48px;
    }

}









.service-grid {
    margin-block: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  
  .service-grid .items {
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-color: var( --utility-color) var(--primary-color);
    scrollbar-width: thin;
  }
  .service-grid .items .item {
    flex: 0 0 240px;
  }
  .service-grid .image {
    min-width: 100px;
  }
  
  .service-grid .service-card {
    width: 240px;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }
  
  .service-grid .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .service-grid .service-title {
    color: var(--a-color);
    font-weight: 600;
    font-size: 28px;
    text-align: center;
    padding: 1rem;
    z-index: 2;
    position: relative;
  }
  
  @media screen and (min-width: 1024px) {
    .service-grid .items{
      gap: 2em;
      grid-template-columns: repeat(8, auto);
      justify-content: center;
    }
  }
  
/* EDIH List Component Styles */
.edih-list {
  display: grid;
  gap: 3rem;
}

.edih-header {
  margin-bottom: 2rem;
}
.edih-header h1 {
  color: var(--h-color);
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.02em;

  margin-bottom: 0.5rem;
  margin-top: 0;
}

/* Mobile-first approach - inverted order by default */
.edih-main {
  display: grid;
  grid-template-columns: 1fr;
}

.edih-content {
  order: 2;
}

.edih-map {
  order: 1;
  margin-bottom: 2rem;
}

.edih-description {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--p-color);
}

.edih-collaborations {
  margin-bottom: 2rem;
}
.edih-collaborations .collaboration-items{
  display: grid;
  gap: 1.5rem;
}

.collaboration-item {
  display: flex;
  align-items: center;
  gap: 1rem;

  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--h-color);
}

.edih-map img{
  max-height: 385px;
  border-radius: var(--radius-xs);
}

.edih-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-auto-rows: min-content;
  gap: 1.1rem;
}

.edih-item-content {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #98A3BA;
}

.edih-country {
  font-weight: 500;
  color: var(--border-color);
}

@media (min-width: 768px) {
  .edih-main {
    display: grid;
    grid-template-columns: minmax(600px, 1fr) 1fr;
    gap: 4rem;
  }
  .edih-map {
    justify-self: end;
    order: 2;
    margin-bottom: 0;
  }
  .edih-content {
    order: 1;
  }
}



.search-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 2em;
}

.search-result{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-result .card {
    background: var(--bg-dark-3);
    border: 1px solid #101870;
    display: grid;
    grid-template-rows: 1fr;
    border-radius: var(--radius-sm);
    overflow: hidden;

    padding: 24px;
    position: relative;
}

.search-result .card .link{
    position: absolute;
    top: 24px;
    right: 24px;


    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-size: 25px;
    /* background: var(--bg-dark-3);
    border: 1px solid #101870;
    border-radius: var(--radius-sm);
    padding: 12px; */
}

.search-result .card .pic{
    position: relative;
}

.search-result .card .content{
    padding: 12px;
    gap: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;

}

.search-result .card .content .content-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
    /* Keeps long titles and tags clear of the top-right result link. */
    padding-right: 56px;
}

.search-result .card .content .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
  }

.search-result .card .content .tags .tag-chip {
    width: fit-content;
    display: flex;
    gap: .5em;
    align-items: center;
    padding: 4px 12px;
    background-color: var(--dark-color);
    border-radius: var(--radius-rounded);
    border: 1px solid var(--border-color);
    color: var(--light-color);
    font-size: 14px;
    font-weight: 400;
}
    .search-result .card .content .tags .tag-chip i {
        color: var(--border-color);
    }

.search-result .card .content .title{
    margin: 0;
    color: var(--light-text-3);
    font-size: 30px;
    font-weight: 500;
}

.search-result .card .content .title .hs-search-highlight,
.search-result .card .content .description .hs-search-highlight {
    color: var(--light-text-3);
    font: inherit;
    text-decoration: underline;
    text-decoration-color: yellow;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.12em;
}

.search-result .card .content .description .hs-search-highlight {
    color: inherit;
}

.search-result .card .content > a:focus-visible .link {
    outline: 2px solid var(--light-text-3);
    outline-offset: 4px;
    border-radius: var(--radius-rounded);
}

.search-result .card .content .description{
    margin: 0;
    color: var(--a-color);
    font-size: 14px;
    font-weight: 300;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;  
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
}


@media(min-width:1024px) {
    .search-result .card{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: unset;
    }

    .search-result .card .content{
        justify-content: start;
    }
}

@media(max-width:767px) {
    .search-result .card {
        padding: 20px;
    }

    .search-result .card .link {
        top: 20px;
        right: 20px;
    }

    .search-result .card .content {
        padding: 4px;
    }

    .search-result .card .content .content-main {
        padding-right: 48px;
    }

    .search-result .card .content .title {
        font-size: 24px;
        line-height: 1.2;
    }
}


