/* CARDS */

/* .mwg_effect025 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mwg_effect025 .container-fluid {
  display: flex;
}

.font-30 {
  font-size: 30px;
}

.mwg_effect025 .card {
  width: 21vw;
  aspect-ratio: 0.75;
  background-color: transparent;
  border-color: transparent;
}

.mwg_effect025 .card:not(:first-child) {
  margin: 0 0 0 -10vw;
}

.mwg_effect025 .card .content {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 5vw, 35px);
}

.mwg_effect025 .card .content .top {
  font: 500 normal clamp(1rem, 1.3vw, 2rem) / 1.2 "Switzer", sans-serif;
  letter-spacing: -0.03em;
}

.mwg_effect025 .card .content .bottom {
  display: flex;
  align-items: center;
  column-gap: 20px;
  font: 500 normal 1.1vw / 0.9 "Switzer", sans-serif;
  letter-spacing: -0.03em;
  border-top: 1px dashed #000;
  padding: 30px 0 0;
}

.mwg_effect025 .card .content .bubble {
  width: 3.3vw;
  aspect-ratio: 1;
  border-radius: 100%;
  background-color: #fff;
  display: grid;
  place-items: center;
}

.mwg_effect025 .card .content .bubble img {
  width: 40%;
  height: 40%;
  object-fit: contain;
}

.mwg_effect025 .card .content .job {
  font: 500 normal 0.9vw / normal "IBM Plex Mono";
  text-transform: uppercase;
} */

.mwg_effect025 .card:nth-child(1) {
  z-index: 3;
}

.mwg_effect025 .card:nth-child(1) .content {
  background-color: #bcefff;
}

.mwg_effect025 .card:nth-child(2) {
  z-index: 2;
}

.mwg_effect025 .card:nth-child(2) .content {
  background-color: #fb7350;
}

.mwg_effect025 .card:nth-child(3) {
  z-index: 7;
}

.mwg_effect025 .card:nth-child(3) .content {
  background-color: #f79c42;
}

.mwg_effect025 .card:nth-child(4) {
  z-index: 1;
}

.mwg_effect025 .card:nth-child(4) .content {
  background-color: #ffdf40;
}

.mwg_effect025 .card:nth-child(5) {
  z-index: 4;
}

.mwg_effect025 .card:nth-child(5) .content {
  background-color: #abbafd;
}

.mwg_effect025 .card:nth-child(6) {
  z-index: 5;
}

.mwg_effect025 .card:nth-child(6) .content {
  background-color: #71cfa3;
}

.mwg_effect025 .card:nth-child(7) {
  z-index: 8;
}

.mwg_effect025 .card:nth-child(7) .content {
  background-color: #c4ef7a;
}

/* =====================================================
/* PROCESS */ /* RESPONSIVE PROJECTS - MIGLIORATO 
/* ===================================================== */

.mwg_effect031 {
  position: relative;
  overflow: visible !important;
}

.mwg_effect031 .slide {
  height: 100vh;
  position: relative;
  z-index: 1;
}

.mwg_effect031 .content-wrapper {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  /* perspective: 250vw; */
  will-change: transform;
}

.mwg_effect031 .content {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d; /* inherits the perspective from the parent */
  transform-origin: 50% 10%;
  padding: 30px 50px 55px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
}

.mwg_effect031 .top {
  padding-top: 90px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mwg_effect031 .bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mwg_effect031 .text {
  width: 32vw;
  display: flex;
  align-items: flex-end;
  font: 500 normal 1.6vw / 1.1 "Switzer", "Inter", sans-serif;
  letter-spacing: -0.03em;
}

.mwg_effect031 .bottom > div:last-child {
  display: flex;
  font: 500 normal 7.5vw / 0.9 "Plain", "Inter", sans-serif;
  letter-spacing: -0.06em;
  gap: 30px;
  position: absolute;
  right: 50px;
}

.mwg_effect031 .bottom img {
  width: 31vw;
  border-radius: 6px;
  height: 60vh;
  object-fit: cover;
}

.mwg_effect031 .top p {
  font: 500 normal 8.5vw / 1 "Plain", "Inter", sans-serif;
  letter-spacing: -0.06em;
  width: 60%;
}

.mwg_effect031 .top svg {
  width: 5.7vw;
  height: auto;
  display: block;
  padding-top: 15px;
}

.z-index-1 {
  position: relative;
  z-index: 100 !important;
}

/* PARTNER */

.partner-section {
  will-change: z-index, transform;
  position: relative;
}

.responsive-box {
  height: 350px;
  width: 450px;
}

@media (min-width: 992px) {
  .responsive-box {
    height: 450px;
    width: 550px;
  }
}
.responsive-box > img {
  max-height: 150px;
}

.partners-swiper {
  padding-bottom: 30px;
}

.swiper-slide {
  width: auto !important;
}

.rounded-6 {
  border-radius: 6px !important;
}

.rounded-4 {
  border-radius: 4px !important;
}

.dashed {
  border-bottom: 1px dashed transparent;
  border-image: repeating-linear-gradient(
    to right,
    var(--color-black-90) 0 8px,
    transparent 0 15px
  );
  border-image-slice: 1;
}

.dashed-1 {
  border-bottom: 1px dashed transparent;
  border-image: repeating-linear-gradient(
    to right,
    var(--color-black-90) 0 5px,
    transparent 0 10px
  );
  border-image-slice: 1;
}

.dashed-2 {
  border-top: 1px dashed transparent;
  border-image: repeating-linear-gradient(
    to right,
    var(--color-black-90) 0 5px,
    transparent 0 10px
  );
  border-image-slice: 1;
}

.rientro {
  margin-left: 4.7rem !important;
}

/* FAQ */

.accordion-button {
  font-family: "Switzer", "Inter", sans-serif;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding-top: 50px;
  padding-bottom: 30px;
  font-size: 20px;
  color: var(--color-black-90);
  font-weight: 500;
}

.accordion-button::after {
  display: none;
}

.accordion-item {
  border-bottom: 1px dashed var(--color-grey-6);
  background-color: transparent;
  border-radius: 0;
}

.faq-number {
  font-weight: 500;
  font-family: "Switzer", sans-serif;
  flex-shrink: 0;
}

.faq-question {
  /* margin-left: 4.5rem; */
  display: inline-block;
  font-weight: 500;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.accordion-button[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.accordion-body {
  font-family: "Switzer", "Inter", sans-serif;
  padding-left: 137px;
  /* padding-top: 30px; */
  padding-bottom: 30px;
  font-size: 18px;
  color: var(--color-grey-9);
  background-color: transparent;
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  color: var(--color-black-90) !important; /* o quello che stai usando */
}

/* INDUSTRIES */ /* RESPONSIVE PROJECTS - MIGLIORATO */

/*
=====================================================
DESKTOP VERSION (769px+)
===================================================== */

.mwg_effect038 .pin-height {
  height: 300vh;
  overflow: hidden;
}

.mwg_effect038 .container {
  white-space: nowrap;
  width: auto;
  height: 100vh;
  position: relative;
  display: flex;
  padding: 0 100vw 0 0;
  margin: auto;
}

.mwg_effect038 .project {
  position: relative;
  height: 100%;
  flex: 0 0 6.9vw;
  border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

.mwg_effect038 .project.on {
  position: relative;
  height: 100%;
  flex: 0 0 63vw;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.mwg_effect038 .project:first-child {
  border-left: 1px dashed rgba(255, 255, 255, 0.3);
}

.mwg_effect038 .project:not(.on) {
  color: rgba(255, 255, 255, 0.3);
}

.mwg_effect038 .project:not(.on) .year,
.mwg_effect038 .project:not(.on) .media,
.mwg_effect038 .project:not(.on) .paragraph {
  display: none;
}

.mwg_effect038 .datas {
  position: absolute;
  bottom: 0;
  left: 49px;
  font: 500 normal 3vw / 2.6vw "Inter", sans-serif;
  letter-spacing: -0.03em;
  transform: rotate(-90deg);
  transform-origin: 0 50%;
}

.mwg_effect038 .year {
  position: absolute;
  bottom: 40px;
  right: 50px;
  z-index: 3;
  font: 500 normal 3vw / 2.6vw "Inter", sans-serif;
  letter-spacing: -0.03em;
  color: #667eea;
}

.mwg_effect038 .paragraph {
  line-height: 1.35;
  width: 30%;
  white-space: break-spaces;
  width: 30%;
  position: absolute;
  bottom: 64%;
  left: 105px;
  z-index: 3;
  font: 500 normal 1.1vw "Switzer", "Inter", sans-serif;
  letter-spacing: -0.03em;
}

.mwg_effect038 .media {
  height: 60%;
  width: -webkit-fill-available;
  margin: 30px 30px 30px 105px;
  object-fit: cover;
  border-radius: 6px;
  z-index: 1;
}

/* Scrolling text */

.mwg_effect022 .pin-height {
  height: 200vh;
}

.mwg_effect022 .container {
  height: 80vh;
}

.mwg_effect022 .paragraphs {
  display: flex;
  font: 500 normal clamp(1.1rem, 1.2vw, 1.5rem) / 1.2 "Switzer", "Inter",
    sans-serif;
  transition: 0.3s ease-out;
  letter-spacing: -0.02em;
  height: 100%;
}

.mwg_effect022 .paragraph {
  opacity: 1;
  transform: translateY(0%);
}

.mwg_effect022 .word {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.mwg_effect022 .word span {
  display: block;
}

.paragraphs {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.step h4 {
  font-size: clamp(1rem, 20px, 1.25rem) !important;
  font-weight: 600;
  color: var(--color-violet);
}

.word span:empty {
  display: none;
}

/* .step h4 span {
  margin-right: 5px;
} */

.mwg_effect022 .paragraph:not(:first-child) .word span {
  transform: translate(0, 100%);
}

/* .word:first-child {
  margin-right: -3.17em;
} */

/* IMAGE PIN */

.image-pin .w-100.px-60 {
  clip-path: inset(0% 0% 0% 0%); /* Tutto visibile */
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.image-pin.scrolling .w-100.px-60 {
  clip-path: inset(0% 0% 100% 0%); /* Dal basso verso l'alto */
}

.image-pin {
  position: relative;
  overflow: hidden;
  z-index: 0 !important;
}

.pin-height-1 {
  position: relative;
  height: 200vh;
}

.container-fluid-1 {
  z-index: 0 !important;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.image-pin .btn {
  position: relative !important;
  z-index: 1 !important;
}

@media (min-width: 1400px) {
  .vh-xxl-100 {
    height: 100vh;
  }
}

@media (min-width: 1441px) {
  .flex-xxl-grow-1 {
    flex-grow: 1 !important;
  }
}

/* Accordion - 2.0 */

.text-underline {
  text-decoration: underline;
  text-decoration-color: var(--color-violet);
  text-decoration-thickness: 5px;
  text-underline-offset: 5px;
}

.accordion-body-1 {
  font-family: "Switzer", "Inter", sans-serif;
  padding-left: 0px;
  padding-bottom: 30px;
  font-size: clamp(1rem, 18px, 1.25rem);
  color: var(--color-grey-9);
  background-color: transparent;
}

.accordion-button-1 {
  font-family: "Plain", "Inter", sans-serif;
  background-color: transparent;
  padding: 40px 0px;
  border: none;
  box-shadow: none;
  font-size: 20px;
  color: var(--color-black-90);
  font-weight: 500;
}

.benefit-section .accordion {
  border: none !important;
  --bs-accordion-border-color: transparent !important;
}

.accordion-item-1:first-child {
  border-top: 1px solid var(--color-grey-6);
  border-bottom: 1px solid var(--color-grey-6);
  background-color: transparent;
  border-radius: 0;
}

.accordion-item-1 {
  border-bottom: 1px solid var(--color-grey-6);
  background-color: transparent;
  border-radius: 0;
}

.accordion-button-1 .icon-rotate {
  transition: transform 0.3s ease;
}

.accordion-button-1[aria-expanded="true"] .icon-rotate {
  transform: rotate(45deg);
}

.accordion-button-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-wrap {
  display: flex;
  align-items: center;
}

/* Data */

.ps-78 {
  padding-left: 78px !important;
}

.border-bottom {
  border-bottom: var(--bs-border-width) var(--bs-border-style)
    var(--color-grey-6) !important;
}

.border-top-1 {
  border-top: var(--bs-border-width) var(--bs-border-style) var(--color-grey-6) !important;
}

.border-top {
  border-top: var(--bs-border-width) dashed var(--color-grey-6) !important;
}

h1 > .number {
  font-size: 26vh !important;
  font-family: "Switzer", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}

.metrics-section p {
  font-size: 0.95rem;
}

.metrics-section .fw-bold {
  font-size: 1rem;
}

.rientro-1 {
  margin-left: -35px;
}

.rientro-2 {
  margin-left: -13px;
}

/* Card */

.industry-card-1 {
  min-height: 300px;
  pointer-events: visible;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none;
  padding: 5rem;
}

.industry-card {
  background-color: var(--color-violet);
  color: var(--color-white-90);
  min-height: 400px;
  pointer-events: visible;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none;
  /* aspect-ratio: 0.9; */
}

.industry-title {
  font-size: 2.4rem;
  line-height: 1.2;
}

.icon-wrap-1 {
  background-color: white;
  color: var(--color-violet);
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 2rem;
  /* height: 52px; */
}

.nowrap {
  flex-wrap: nowrap !important;
}

/* CTA GIGANTI */

.interactive-card {
  position: relative;
  width: 100%;
  display: block;
  text-decoration: none;
  background-color: var(--bg-light);
  border-radius: 6px;
  overflow: hidden;
  transition: none;
  height: 600px;
  cursor: pointer;
  transition: all 0.4ss ease;
  border: 3px solid var(--color-grey-6);
  box-sizing: border-box;
}

.interactive-card[data-theme="purple"]:hover {
  border-color: var(--color-violet);
}

.interactive-card[data-theme="red"]:hover {
  border-color: var(--color-red);
}

.card-inner {
  position: relative;
  z-index: 10;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%; /* Aggiungi questo invece */
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0;
}

.card-icon-wrapper {
  width: 0px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card:hover .card-icon-wrapper {
  opacity: 1;
  width: 40px;
  margin-right: 1.5em;
}

.card-icon-svg {
  width: 100%;
  height: 100%;
}

.card-icon-path {
  stroke: var(--color-black-90);
  transition: all 0.4s ease;
}

.interactive-card:hover .card-icon-path {
  stroke: white;
}

.card-heading {
  font-family: "Plain", "Inter", sans-serif;
  font-size: 60px;
  font-weight: 500;
  color: var(--color-black-90);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  transition: all 0.4s ease;
  transform: translateX(0);
}

.interactive-card:hover .card-heading {
  color: white;
}

.interactive-card:hover {
  border: 3px solid var(--color-black-90) !important;
  /* transform: translateY(-2px); */
  transition: all 0.3 ease;
}

.card-heading::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 3px;
  width: 0;
  height: 7px;
  background-color: white;
  transition: width 0.5s ease;
}

.interactive-card:hover .card-heading::after {
  width: 100%;
}

.card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-grey-6);
  font-weight: 400;
  transition: all 0.4s ease;
}

.interactive-card:hover .card-text {
  color: white;
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0;
  transition: all 0.4s ease;
}

.interactive-card:hover .card-background {
  opacity: 1;
}

.card-background[data-color="purple"] {
  background-color: var(--color-violet);
}

.card-background[data-color="red"] {
  background-color: var(--color-red);
}

.interactive-card:focus {
  outline: 2px solid var(--color-black-90);
  outline-offset: 2px;
}

.interactive-card:focus:not(:focus-visible) {
  outline: none;
}

/* Product */

.description-medium-responsive {
  font-size: 1rem;
  line-height: normal;
}

.general-info .img-fluid {
  max-width: 100%;
  height: -webkit-fill-available;
}

.img-fluid-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.description .row {
  --bs-gutter-x: 0 !important;
}

/* About */

.job .text-underline-1 {
  display: inline;
  background-image: linear-gradient(#007899, #007899);
  background-size: 100% 7px; /* larghezza 100%, altezza 7px */
  background-repeat: no-repeat;
  background-position: 0 102%; /* posiziona la "linea" vicino alla baseline */
}

.bg-about {
  background: linear-gradient(135deg, #667eea 0%, #c1fb83 100%);
}

.mwg_effect024 .pin-height {
  height: 250vh;
}

.words-container {
  position: relative;
  height: 5rem;
  min-height: 2rem;
  color: var(--color-white);
  font-weight: 500 !important;
  display: flex;
  align-items: flex-start;
  line-height: 1.2;
}

.item {
  position: absolute;
  top: -10px;
  left: 2px;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.visible,
.hidden {
  position: absolute;
  top: 0px;
  left: 0;
  display: flex;
  height: 100%;
  overflow: hidden;
  font-size: inherit; /* Eredita da title-responsive */
  line-height: inherit;
  font-weight: inherit;
}

.visible span,
.hidden span {
  display: inline-block;
  transform: translateY(0%);
  will-change: transform;
}

/* Animated cards */

.mwg_effect000 {
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.mwg_effect000 .medias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mwg_effect000 .media {
  border-radius: 4px;
  z-index: 10;
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.media img {
  width: auto;
  height: 12vw;
  object-fit: fill;
  border-radius: 4px;
  pointer-events: none;
  will-change: transform;
}

/* Responsivness */

@media (min-width: 768px) {
  .gap-md-5 {
    gap: 4rem !important;
  }
}

/* INFOGRAFICA */
.info-section {
  position: relative;
  overflow: hidden;
}

.info-container {
  padding: 100px;
  position: relative;
  width: 100%;
  height: 100%;
}

.info {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.info-2 {
  clip-path: inset(100% 0 0 0); /* nascosta verso il basso */
}

/* ===================================================== */
/* GYO - ANIMATED MAGNETIC SCROLLING CARDS - 042 - V 5.0
/* ===================================================== */

.mwg_effect042 .pin-height {
  height: 500vh;
}

.mwg_effect042 .container-fluid {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwg_effect042 .text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  font-size: 1.6vw;
  color: var(--color-black-90);
  font-family: "Switzer", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  transform: translate(0, -50%);
}

.mwg_effect042 .medias {
  width: 28%;
  aspect-ratio: 0.75;
  perspective: 28vw;
}

.mwg_effect042 .media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5vw;
}

@media (max-width: 1200px) {
  .mwg_effect042 .medias {
    width: 40%;
    perspective: 40vw;
  }

  .adjust-text {
    position: absolute;
    bottom: -150px;
  }

  .mwg_effect042 .text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--color-black-90);
    font-family: "Switzer", "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 992px) {
  .mwg_effect042 .medias {
    width: 50%;
    perspective: 50vw;
  }

  .adjust-text {
    position: absolute;
    bottom: -150px;
  }
}

@media (max-width: 768px) {
  .mwg_effect042 .medias {
    width: 60%;
    perspective: 60vw;
  }

  .adjust-text {
    position: absolute;
    bottom: -160px;
  }
}

@media (max-width: 500px) {
  .mwg_effect042 .medias {
    width: 90%;
    perspective: 75vw;
    aspect-ratio: 0.7;
  }

  .mwg_effect042 .media {
    border-radius: 1.5vw;
  }
  .adjust-text {
    position: absolute;
    bottom: -120px;
  }
}
