:root{
    /* --primary-color: #4703da; */
    --primary-color: #D70929;
    --primary-color-rgb: 98, 90, 116;
    --primary-variant-color: #200187;
    --primary-variant-color-rgb: 32, 1, 135;
    --primary-grey-color:#615b6a;
    --primary-variant-grey:#e9ecf1;
    --secondary-color:#03DAC6;
    --secondary-color-rgb: 3, 218, 198;
    --secondary-variant-color:#018786;
    --dark-color: #100f16;
    --dark-color-20percent: #D3D5D8;
    --dark-color-10percent: #DADDE0;
    --dark-color-5percent: #EFF0F0;
    --light-color: #ffffff;
    --red-100: #f8d7da;
    --red-200: #f1aeb5;
    --orange-100: #ffe5d0;
    --orange-200: #fecba1;
    --primary-font: 'Avenir LT Std';
    --secondary-font: 'Avenir LT Std';
    --bs-link-color: 98, 90, 116;
}
body{
    font-family: 'titillium_webregular' !important;
}
.bg-red-100{
    background-color: var(--red-100);
}
.bg-red-200{
    background-color: var(--red-200);
}
.bg-orange-100{
    background-color: var(--orange-100);
}
.bg-orange-200{
    background-color: var(--orange-200);
}
body{
    font-family: var(--primary-font);
    font-weight: 300;
}
.primary-font{
    font-family: var(--primary-font);
}
.font-light{
    font-weight: 300;
}
.font-medium{
    font-weight: 500;
}
.font-bold, .primary-font strong{
    font-weight: 900;
}
.main-navbar{
    box-shadow: 0 0.25rem 0.5625rem -0.0625rem rgb(0 0 0 / 3%),0 0.275rem 1.25rem -0.0625rem rgb(0 0 0 / 5%);
}
.main-navbar .nav-link.active{
    color: var(--primary-color) !important;
}

.nav-link.active{
    color: var(--primary-color) !important;
}
.blog-title, .blog-title a, a.blog-author, a.blog-comment, a.blog-link{
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb{
    margin-bottom: 0.3rem;
}
.breadcrumb-item a{
    color: #000;
    text-decoration: none;
}
.news-title, .news-title a, a.news-author, a.news-comment, a.news-link{
    color: var(--primary-color);
    text-decoration: none;
}
.grid .card {
    transition: all 0.3s;
}
.grid .card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
#foundModal.offcanvas-top.h-auto {
    bottom: initial;
}

a {
    /* color: var(--primary-color) !important; */
    text-decoration: none;
}
a svg {
    fill: var(--primary-color);
}
.fill-dark-color{
    fill: var(--dark-color);
}
.fill-light{
    fill: var(--light-color);
}
.stroke-dark-color{
    stroke: var(--dark-color);
}
.bg-primary{
    color: var(--light-color);
    background-color: var(--primary-color) !important;
}
.bg-primary-variant{
    color: var(--light-color);
    background-color: var(--primary-variant-color) !important;
}
.bg-secondary{
    color: var(--light-color);
    background-color: var(--secondary-color) !important;
}
.bg-secondary-variant{
    color: var(--light-color);
    background-color: var(--secondary-variant-color) !important;
}
.bg-primary-grey{
    color: var(--light-color);
    background-color: var(--primary-grey-color) !important;
}
.bg-primary-variant-grey{
    color: var(--light-color);
    background-color: var(--primary-variant-grey) !important;
}

.text-primary{
    color: var(--primary-color) !important;;
}
.text-primary-variant{
    color: var(--primary-variant-color) !important;;
}
.text-secondary{
    color: var(--secondary-color) !important;;
}
.text-secondary-variant{
    color: var(--secondary-variant-color) !important;;
}
.bg-primary a, .bg-primary-variant a, .bg-primary-variant a, .bg-primary-grey a, .bg-primary-variant-grey a, .bg-secondary-variant a{
    color: var(--light-color) !important;
}

.bg-primary .breadcrumb-item a, .bg-primary-variant .breadcrumb-item a, .bg-primary-variant .breadcrumb-item a, .bg-primary-grey .breadcrumb-item a, .bg-primary-variant-grey .breadcrumb-item a, .bg-secondary-variant .breadcrumb-item a{
    color: #000 !important;
}
@media (min-width: 768px){
.main{
    display: flex !important;
    flex-direction: column !important;
    min-height: 90vh;
}    
} 
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--secondary-color);
}
.nav-pills .nav-link {
    color: var(--secondary-color);
}
.border-primary {
    border: 1px solid var(--primary-color) !important;
}
.border-secondary {
    border: 1px solid var(--secondary-color) !important;
}
.rounded-top-start{
    border-top-left-radius: 0.25rem !important;
}
.rounded-bottom-start{
    border-bottom-left-radius: 0.25rem !important;
}
.rounded-top-end{
    border-top-right-radius: 0.25rem !important;
}
.rounded-bottom-end{
    border-bottom-right-radius: 0.25rem !important;
}
.fs-1{font-size:calc(1.375rem + 1.5vw) !important}
.fs-2{font-size:calc(1.325rem + 0.9vw) !important}
.fs-3{font-size:calc(1.3rem + 0.6vw) !important}
.fs-4{font-size:calc(1.275rem + 0.3vw) !important}
.fs-5{font-size:1.25rem !important}
.fs-6{font-size:1rem !important}
.fs-xl{font-size:1.25rem !important}
.fs-lg{font-size:1.125rem !important}
.fs-base{font-size:1rem !important}
.fs-sm{font-size:0.875rem !important}
.fs-xs{font-size:0.75rem !important}
@media (min-width: 768px){
    .border-start-md {
        border-left: 1px solid #dee2e6!important;
    }
}
#sidebar-categories ul{
    width: 100%;
}
#sidebar-categories .nav-item i, #sidebar-categories .nav-item a{
    padding-top: .75rem;
    padding-bottom: .75rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
#sidebar-categories .d-flex a{
    padding-left: .75rem;
}
#sidebar-categories .nav-item:not(.lev1) a{
    color: var(--dark-color) !important;
}
#sidebar-categories .nav-item:not(.lev1) a:before{
    content: "__ ";
    position: relative;
    top: -0.4rem;
}
#sidebar-categories .nav-item:not(.lev1) a:hover{
    font-weight: 500;
}
#sidebar-categories .nav-item.lev2{
    background-color: #EFF0F0;
}
#sidebar-categories .nav-item.lev3,#sidebar-categories .nav-item.lev4{
    background-color: #DADDE0;
}
#sidebar-categories .nav-item i{
    padding-left: .75rem;
    padding-right: .75rem;
    cursor: pointer;
}
#sidebar-categories .nav-item a:hover{
    background-color: var(--primary-variant-grey);
}
#sidebar-categories ul li ul li i, #sidebar-categories ul li ul li a{
   padding-left: 1.25rem !important;
}
#sidebar-categories ul li ul li ul li i, #sidebar-categories ul li ul li ul li a{
    padding-left: 1.75rem !important;
}
#sidebar-categories .opensub{
    transition: all 0.3s;    
}
#sidebar-categories .opensub:not(.collapsed){
    transform: rotate(90deg);
    transform-origin: 40% 40%;    
}
/* .toggle-collapse{
    transition: all 0.3s;
}
.toggle-collapse:not(.collapsed){
    transform: rotate(90deg);
    transform-origin: 40% 40%;
} */
.toggle-collapse {
    cursor:pointer;
}
.toggle-collapse .arrow-collapse{
    transition: all 0.3s;
}
.toggle-collapse:not(.collapsed) .arrow-collapse{
    transform: rotate(90deg);
    transform-origin: 40% 40%;
}
.hover-shadow{
    transition: all .3s;
}
.hover-shadow:hover{
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}
.compare-th{
    /* background-color: #e5e5e5; */
    border-bottom: 1px solid var(--dark-color);
}
.compare-td:not(:last-child){
    border-right: 1px solid var(--dark-color);
}
/* .btn-pill{
    border-radius: 1rem;
} */
.btn-primary {
    color: var(--light-color) !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary.disabled {
    color: var(--dark-color) !important;
    background-color: var(--primary-variant-grey);
    border-color: var(--primary-variant-grey);
}
.btn-primary.disabled svg {
    fill: var(--dark-color);
}
.btn-primary svg{
    fill: var(--light-color);
}
.btn-primary:hover, .btn-primary:focus {
    color: var(--light-color);
    background-color: var(--primary-variant-color);
    border-color: var(--primary-variant-color);
}
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline-primary:hover {
    color: var(--light-color) !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-compare{
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0rem;
    text-transform: uppercase;
    font-weight: 300;
    color: #666;
    font-size: 0.8rem;
}
.btn-compare svg{
    fill: #666;
    position: relative;
    top: -0.1rem;
}
.btn-compare.active{
    color: var(--primary-color);
}
.btn-compare.active svg{
    fill: var(--primary-color);
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.px-2-3 {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
}
.stepper{
    text-align: center;
    position: relative;
    width: 100% !important;
}
.stepper .stepper-number{
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    padding-top: 8px;
    border-radius: 50%;
    margin-bottom: .5rem;
    font-weight: bold;
}
.stepper.active .stepper-number{
    background-color: var(--primary-color);
    color: var(--primary-variant-grey) !important;
}
.stepper.disabled .stepper-number{
    border: 2px solid var(--dark-color-20percent);
    color: var(--dark-color-20percent) !important;
}
.stepper .stepper-arrow{
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
}
.stepper.disabled .stepper-arrow{
    background-color: var(--dark-color-20percent);
}
@media (min-width: 768px){
    .stepper .stepper-arrow{
        width: 30%;
        height: 4px;
        border-radius: 2px;
        background-color: var(--primary-color);
        margin-bottom: 5px;
    }
    .stepper.disabled .stepper-arrow{
        background-color: var(--dark-color-20percent);
    }
}
.dropdown-toggle.no-caret::after{
    border-color:transparent !important;
    margin-left: 0;
    width: 0;
    display: none;
}
img.hover-zoom{
    transition: all 0.3s;
}
img.hover-zoom:hover{
    transform: scale(1.1);
}
header.bg-dark .secondaryNavbar .nav-link{
    color: var(--light-color) !important;
}
.text-shadow-tactile{
    text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
}
.text-shadow-floating{
    text-shadow: 3px 5px 2px #474747;
}
.text-shadow-lux{
    text-shadow: 1px -1px 0 #767676, -1px 2px 1px #737272, -2px 4px 1px #767474, -3px 6px 1px #787777, -4px 8px 1px #7b7a7a, -5px 10px 1px #7f7d7d, -6px 12px 1px #828181, -7px 14px 1px #868585, -8px 16px 1px #8b8a89, -9px 18px 1px #8f8e8d, -10px 20px 1px #949392, -11px 22px 1px #999897, -12px 24px 1px #9e9c9c, -13px 26px 1px #a3a1a1, -14px 28px 1px #a8a6a6, -15px 30px 1px #adabab, -16px 32px 1px #b2b1b0, -17px 34px 1px #b7b6b5, -18px 36px 1px #bcbbba, -19px 38px 1px #c1bfbf, -20px 40px 1px #c6c4c4, -21px 42px 1px #cbc9c8, -22px 44px 1px #cfcdcd, -23px 46px 1px #d4d2d1, -24px 48px 1px #d8d6d5, -25px 50px 1px #dbdad9, -26px 52px 1px #dfdddc, -27px 54px 1px #e2e0df, -28px 56px 1px #e4e3e2;
}
.text-shadow-grave{
    text-shadow: 0 1px #808d93, -1px 0 #cdd2d5, -1px 2px #808d93, -2px 1px #cdd2d5, -2px 3px #808d93, -3px 2px #cdd2d5, -3px 4px #808d93, -4px 3px #cdd2d5, -4px 5px #808d93, -5px 4px #cdd2d5, -5px 6px #808d93, -6px 5px #cdd2d5, -6px 7px #808d93, -7px 6px #cdd2d5, -7px 8px #808d93, -8px 7px #cdd2d5;
}















.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .dropdown-item.active {
    color: var(--primary-color) !important;
}



.dropdown-item:hover{
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

a{
    color: currentColor !important;
}

strong{
    font-family: 'titillium_webbold' !important;
}

.bold{
    font-family: 'titillium_webblack' !important;
    letter-spacing: 1px !important;
}

.semi-bold{
    font-family: 'titillium_websemibold' !important;
    letter-spacing: 1px !important;
}

.light{
    font-family: 'titillium_weblight' !important;
    
}

.text-light{
    font-family: 'titillium_weblight' !important;
}

.cap{
    text-transform: uppercase !important;
}

.italic{
    font-family: 'Alegreya' !important;
    font-style: italic;
}

.text-red{
    color: var(--primary-color) !important;
}

.bg-red{
    background-color: var(--primary-color) !important;
}

.btn-animated {
  position: relative;
  display: inline-block;
  padding: 0.70em 1.8em;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 50rem; 
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  z-index: 0;
}

.btn-animated::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 1;
  transition: left 0.5s ease;
}

.btn-animated:hover::before {
  left: 0;
}

.letter-wrap__word {
  display: inline-flex;
  overflow: hidden;
  position: relative;
  font-family: 'titillium_webextralight' !important;
}

.letter-wrap__char {
  display: inline-block;
  position: relative;
}

.letter-wrap__char-inner {
  display: inline-block;
  transform: translateY(0);
  position: relative;
  z-index: 2; 
  color: currentColor !important;
}

.letter-wrap__char-inner::after {
  content: attr(data-letter);
  position: absolute;
  top: 100%;
  left: 0;
  color: currentColor !important;
}

.btn-animated:hover .letter-wrap__char-inner {
  animation: slideUp 0.4s forwards;
  animation-delay: calc(var(--i) * 0.02s);
}

.btn-animated:hover .letter-wrap-red__char-inner {
  animation: slideUp 0.4s forwards;
  animation-delay: calc(var(--i) * 0.02s);
}

.letter-wrap-red__word {
  display: inline-flex;
  overflow: hidden;
  position: relative;
  font-family: 'titillium_webbold' !important;
}

.letter-wrap-red__char {
  display: inline-block;
  position: relative;
}

.letter-wrap-red__char-inner {
  display: inline-block;
  transform: translateY(0);
  position: relative;
  z-index: 2; 
  color: var(--primary-color);
}

.letter-wrap-red__char-inner::after {
  content: attr(data-letter);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--primary-color);
}

.btn-animated:hover .letter-wrap-red__char-inner {
  animation: slideUp 0.4s forwards;
  animation-delay: calc(var(--i) * 0.02s);
}


  .btn-animated-outline {
  position: relative;
  display: inline-block;
  padding: 0.7em 1.8em;
  color: var(--primary-color);       /* testo primario */
  background-color: transparent;      /* sfondo trasparente */
  border: 1px solid var(--primary-color); /* bordo primario */
  border-radius: 50rem; 
  font-weight: 600;
   text-transform: none;
  overflow: hidden;
  cursor: pointer;
  z-index: 0;
  transition: all 0.3s ease;
}

.btn-animated-outline {
  text-transform: none; /* rimuove uppercase globale */
}

/* lettere animate */
.btn-animated-outline .letter-wrap__char-inner,
.btn-animated-outline .letter-wrap__char-inner::after {
  text-transform: none; /* mantiene il maiuscolo/minuscolo originale */
}

.btn-animated-outline::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.05); /* effetto hover leggero */
  z-index: 1;
  transition: left 0.5s ease;
}

.btn-animated-outline:hover::before {
  left: 0;
}

/* lettere animate */
.btn-animated-outline .letter-wrap__char-inner {
  color: var(--primary-color);
}

.btn-animated-outline:hover .letter-wrap__char-inner {
  animation: slideUp 0.4s forwards;
  animation-delay: calc(var(--i) * 0.02s);
}

@keyframes slideUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

 .dropdown-toggle::after {
  content: ""; 
  display: inline-block;
  width: 10px; 
  height: 10px;
  margin-left: .2rem;
  vertical-align: middle;

  background-image: url("{{ asset('img/icon/arrow-lang.svg') }}");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border: none !important; 
}

.glass-bg {
  position: fixed;
  top: 0;
  width: 100%;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 1000;
  background-color: transparent; 
}

.glass-bg.scrolled {
  background-color: rgba(0, 0, 0, 0.8); 
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}



@media (max-width: 991px) {
    .logo {
        height: 50px !important; 
    }
}

.tech-section {
  position: relative;
  width: 100%;
  height: auto;
}

.tech-image {
  position: relative;
  width: 100%;
  height: auto;
}

.tech-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- PUNTI INTERATTIVI --- */
.tech-point {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: #fff;
  max-width: 370px;
  z-index: 3;
}

.tech-point h4 {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.tech-point h5 {
  color: #c1181a; /* rosso come da immagine */
  font-style: italic;
  font-size: 1rem;
}

.tech-point p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.dot {
  width: 12px;
  height: 12px;
  background: #c1181a;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-point:hover .dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.25);
}

/* --- POSIZIONI SU DESKTOP --- */
.point1 {
  top: 26%;
  left: 4%;
  flex-direction: row;
}

.point2 {
  top: 26%;
  right: 18%;
  flex-direction: row-reverse;
  text-align: left;
}

.point3 {
  bottom: 14%;
  right: 2%;
  flex-direction: row-reverse;
  text-align: left;
}

/* MOBILE VERSION */
@media (max-width: 992px) {
  .tech-point {
    position: static;
    flex-direction: row;
    align-items: center;
    margin: 1.5rem 0;
    text-align: left;
  }

  .tech-image img {
    object-fit: cover;
  }
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 28%;
}

/* CARD CON LINK CLICCABILI */
  .hero-cards {
  position: absolute;
  inset: 0;
  z-index: 5; /* sopra il testo */
}

.hero-cards .card {
  position: absolute;
  border: none;
  overflow: hidden;
  transform: translateY(200px);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hero-cards .card img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* 🔹 TESTO SOVRAPPPOSTO */
.hero-cards .card .card-text {
  position: absolute;
  bottom: 10px;
  left: 15px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  z-index: 2;
}



/* 🔸 GRADIENTE per migliorare la leggibilità */
.hero-cards .card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

/* POSIZIONI DESKTOP */
.c1 { top: 5%; right: 10%; width: 350px !important; }
.c2 { bottom: 20%; left: 8%; width: 300px !important; }
.c3 { bottom: -20%; right: 25%; width: 400px !important; }
.c4 { bottom: -25%; left: 20%; width: 280px !important; }
.c5 { bottom: -30%; right: 15%; width: 350px !important; }
.c6 { bottom: -40%; left: 25%; width: 280px !important; }
.c7 { bottom: -50%; right: 30%; width: 400px !important; }

/* 🔹 RESPONSIVE MOBILE */
@media (max-width: 992px) {
  .hero-content {
    max-width: 70%;
    padding: 0 1rem;
  }

  .hero-cards .card {
    width: 55vw !important;
  }

  .c1 { top: 0%; right: 5%; }
  .c2 { bottom: 10%; left: 10%; }
  .c3 { bottom: -20%; right: 15%; }
  .c4 { bottom: -30%; left: 20%; }
  .c5 { bottom: -40%; right: 10%; }
  .c6 { bottom: -50%; left: 15%; }
  .c7 { bottom: -60%; right: 20%; }

  .hero-cards .card .card-text h5 {
    font-size: 1rem;
  }

  .hero-cards .card .card-text p {
    font-size: 0.8rem;
  }
}

.bg-gray{
    background-color: #F3F2F1 !important;
}

.text-gray{
  color: #9A9A9A !important;
}

.button-animation img {
  transition: transform 0.3s ease;
}

.button-animation:hover img {
  transform: rotate(38deg);
}

.bg-dark{
    background-color: #050707 !important;
}


  .faq-bg {
  opacity: 0.05;
  width: 40%;
  z-index: 0;
  pointer-events: none;
}

.faq-container {
  z-index: 1;
  position: relative;
}

.faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 30px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'titillium_webbold' !important;
}

.faq-question span:first-child {
  flex: 1;

}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #000;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 2px;
  height: 24px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-icon::after {
  width: 24px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item.open .faq-icon::before {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 30px 20px;
}

.faq-item.open .faq-question span:first-child {
  color: var(--primary-color); 
  font-family: 'titillium_webbold' !important;
}

.text-big-gray {
  bottom: 0;
  left: 0;
  width: 100%;
  font-weight: 900;
  color: #333;
  opacity: 0.06;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  font-family: 'titillium_webblack' !important;
  letter-spacing: -0.03em;
  text-align: left;
  font-size: clamp(5rem, 13vw, 15rem);
}

.text-big-white {
  bottom: 0;
  left: 0;
  width: 100%;
  font-weight: 900;
  color: white;
  opacity:1;
  line-height: 0;
  user-select: none;
  pointer-events: none;
  font-family: 'titillium_webblack' !important;
  letter-spacing: -0.03em;
  text-align: left;
  font-size: clamp(5rem, 13vw, 15rem);
}

.underline:hover{
    text-decoration: underline !important;
    columns: currentColor !important;
}

.line{
    text-decoration: underline !important;
    columns: currentColor !important;
}


.image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* tutte una sotto l’altra */
  height: 100%;
  min-height: 400px;
}

/* immagini normali, nascoste di default */
.main-img {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  max-width: 90%;
  height: auto;
}

/* immagine attiva */
.main-img.show {
  display: block;
  opacity: 1;
}

/* --- pulsanti --- */
.toggle-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: left;
}

.toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

.toggle-btn.active {
  background-color: transparent;
  border: 1px solid #fff;
}

#buttonGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- responsive --- */
@media (max-width: 992px) {
  #buttonGroup .w-100 {
    display: none;
  }

  #buttonGroup {
    justify-content: center;
  }

  #buttonGroup .toggle-btn {
    width: 100%;
    text-align: center;
  }

  .image-wrapper {
    min-height: 280px;
  }
}


.offcanvas {
  z-index: 1055;
}




/* === NAVBAR GLOBALE FIX === */

.glass-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000; /* sopra video, overlay e contenuto */
}

/* evita che l'header nasconda i dropdown */
header {
  overflow: visible !important;
}





.nav-item > a[data-bs-toggle="collapse"] {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item > a[data-bs-toggle="collapse"]::after {
  content: "";
  width: 12px;
  height: 12px;
background-image: url("../img/icon/arrow-lang.svg");


  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.nav-item > a[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.collapse {
  transition: height 0.3s ease;
}


 .bg-half-dark {
    background: linear-gradient(to bottom, #050707 65%, #ffffff 35%);
}

 .scopri-prod{
    animation: rotazione-infinita 10s linear infinite;
}

@keyframes rotazione-infinita {
from {
    transform: rotate(0deg);
}
to {
    transform: rotate(360deg);
}
}

@media (max-width: 992px) {
    .scopri-prod{
        max-width: 70px;
        
    }
}       
     
        
.text-cat-1 { color: #BBDFDD !important; }   /* rosso */
.bg-cat-1 { background-color: #BBDFDD !important; }

.text-cat-2 { color: #A5C72B !important; }   /* blu */
.bg-cat-2 { background-color: #A5C72B !important; }

.text-cat-3 { color: #EF7219 !important; }   /* verde acqua */
.bg-cat-3 { background-color: #EF7219 !important; }

.text-cat-4 { color: #D91A36 !important; }   /* arancio */
.bg-cat-4 { background-color: #D91A36 !important; }

.text-cat-5 { color: #8C8C8D !important; }   /* arancio */
.bg-cat-5 { background-color: #8C8C8D !important; }

.text-cat-6 { color: #E8E232 !important; }   /* arancio */
.bg-cat-6 { background-color: #E8E232 !important; }

.text-cat-7 { color: #6259A3 !important; }   /* arancio */
.bg-cat-7 { background-color: #6259A3 !important; }


.accordion-container {
  position: relative;
  width: 100%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.accordion {
  display: flex;
  height: 80%;
  transition: all 0.5s ease;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 10px;
}
.accordion::-webkit-scrollbar {
  display: none;
}

.accordion-item {
  position: relative;
  flex: 1;
  min-width: 8%;
  max-width: 40%;
  height: 85%;
  border-radius: 5px;
  border: none !important;
  overflow: hidden;
  margin: 0;
  cursor: pointer;
  transition: all 0.6s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  transition: all 0.5s ease;
}

.accordion-item.active {
  flex: 4;
  height: 95%;
}

.accordion-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  border-radius: inherit;
  display: block;
}

.accordion-item .accordion-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* sopra a tutto */
  text-indent: -9999px; /* nasconde il testo se mai ci fosse */
  background: transparent;
}

.img-overlay {
  background: rgba(5, 7, 7, 0.50) !important;
}

/* Overlay rosso + icona */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(193, 24, 26, 0.9), rgba(193, 24, 27, 0.001)) !important;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 30px;
  transition: all 0.5s ease;
}

.overlay .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.overlay .icon img {
  width: 60px;
  height: 60px;
}

.accordion-item.active .overlay {
  background: transparent !important;
}


.text {
  position: absolute;
  bottom: 18px;
  left: 110px;
  opacity: 0;
  z-index: 3;
  visibility: hidden;
  color: #fff;
  transition: all 0.5s ease;
}


.accordion-item.active .text {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.arrow {
  position: absolute;
  bottom: 25px;
  width: 45px;
  height: 45px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.arrow:hover {
  background: rgba(255,255,255,0.2);
}
.arrow-left {
  right: 75px;
}
.arrow-right {
  right: 20px;
}


@media (max-width: 992px) {
  .accordion-container {
    height: 70vh;
  }

  .accordion {
    flex-wrap: nowrap;
    overflow-x: hidden;
  }

  .accordion-item {
    flex: 0 0 45%;
    min-width: 45%;
    border-radius: 15px;
    transition: flex 0.6s ease;
  }


  .accordion-item.active {
    flex: 0 0 55%;
	min-width: 40vh;
  }

  .overlay {
    padding: 20px;
  }

  .text {
    bottom: 20px;
    left: 90px;
    opacity: 1;
    visibility: visible;
  }

  .text h5{
	font-size: 20px;
  }

  .arrow {
    bottom: 10px;
  }
}


.bg-dark-gray{
  background-color: rgba(0, 0, 0, 0.7);
}



@media (min-width: 1200px) {
  .sticky-col {
  position: sticky;
  top: 150px;
  align-self: flex-start; 
}
}

.bg-green{
  background-color: #5E745D !important;
}

.scroll-section {
  position: relative;
  height: 60vh; /* scroll lungo per permettere l’animazione */
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container {
  position: relative;
  width: 20vw;   /* più piccola inizialmente */
  height: 20vw;
  overflow: hidden;
  transform: translateY(20px) scale(0.9); /* un po' più bassa e ridotta */
  transition: all 0.3s ease;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

.overlay-card{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0); /* trasparente all’inizio */
  transition: background 0.2s ease;
}

.text-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.text-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: 1.2rem;
  max-width: 700px;
}
@media (max-width: 991.98px) {
  .scroll-section {
    height: auto;
  }

  .sticky-wrapper {
    position: static;
    height: auto;
  }

  .image-container {
    width: 100%;
    height: 75vh;
    transform: none;
  }

  .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  }

  .text-content {
    opacity: 1;
    padding: 1.5rem;
  }

  .text-content h3 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
    max-width: 90%;
  }
}


  .box-hover {
  background-color: #f2f2f2; /* colore di base */
  transition: all 0.3s ease; /* transizione morbida */
}

.box-hover:hover {
  background-color: var(--primary-color) !important;
}

.box-hover:hover h6,
.box-hover:hover p {
  color: #fff !important;
}


/* Per rendere bianca anche l’icona SVG */
.box-hover:hover img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

    .intro {
  display: flex;
  justify-content: center;
  align-items: center;
}


.horizontal-scoll-wrapper {
  overflow: hidden;
  height: 525px;
}

.horizontal {
  display: flex;
  height: 100%;
}

.horizontal > div {
  display: flex;
  flex-shrink: 0;
  padding: 0 5px;
}

.horizontal > div:first-child {
  padding: 0 5px 0 15px;
}

.horizontal > div:last-child {
  padding: 0 15px 0 5px;
}


     

.overlay-cards {
  z-index: 5;
  padding: 5rem 0;
  pointer-events: none; /* così puoi cliccare solo sulle card */
}

.overlay-cards .container {
  pointer-events: auto;
}

.sector-card {
  position: relative;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.sector-card .card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.sector-card .icon-main {
  width: 30px;
  height: auto;
  transition: transform 0.4s ease;
}

.sector-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.sector-card .card-text {
  font-size: 0.9rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.sector-card .icon-arrow {
  position: absolute;
  bottom: 5rem;
  width: 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* Sfondo immagine in hover */
.sector-card .card-hover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: all 0.5s ease;
}



.sector-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Effetti hover */
.sector-card:hover .card-hover {
  opacity: 1;
  transform: scale(1);
}

.sector-card:hover::after {
  opacity: 1;
}

.sector-card:hover .card-text {
  opacity: 0;
  transform: translateY(-10px);
}

.sector-card:hover .icon-arrow {
  opacity: 1;
  transform: translateY(0);
}


  .bg-half-dark{
        background: linear-gradient(to bottom, black 60%, white 40%);
    }

@media (max-width: 992px) {
    .bg-half-dark{
        background: linear-gradient(to bottom, black 78%, white 22%);
    }
}

  .list-with-icon {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-with-icon li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem; /* spazio tra le voci */
}

.list-with-icon li img {
  flex-shrink: 0;
  width: 18px; /* puoi adattarlo */
  margin-right: 0.75rem;
  margin-top: 3px; /* allinea meglio verticalmente */
}

.list-with-icon li span {
  display: inline-block;
  line-height: 1.4;
}


            .category-swiper {
                padding-top: 30px;
                padding-bottom: 30px;
                position: relative;
            }
            .category-card {
                transition: all 0.4s ease;
                transform: scale(0.9);
            }
            .swiper-slide-active .category-card {
                transform: scale(1.05);
                box-shadow: 0 10px 20px rgba(0,0,0,0.25);
            }
            .category-img {
                height: 300px;
                object-fit: cover;
            }
            /* Testo rosso solo nella slide attiva */
            .swiper-slide-active .category-title {
                color: var(--primary-color)!important; /* usa il tuo rosso brand */
            }
            /* Frecce integrate */
            .swiper-button-prev-custom,
            .swiper-button-next-custom {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                z-index: 10;
                cursor: pointer;
                transition: all 0.3s ease;
            }
      .swiper-button-prev-custom { left: 45%; transform: translate(-250%, -50%); }
.swiper-button-next-custom { right: 45%; transform: translate(250%, -50%); }



.nav-tabs {
    border-bottom: 2px solid #ddd; 
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #999;
    background: transparent;
    position: relative;
    font-weight: 700;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color); 
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color); 
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
}


.faq-tec {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.faq-tec-item {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
}

.faq-tec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    cursor: pointer;
    padding: 0 8px;
}

.faq-tec-title {
    margin: 0;
    transition: color 0.25s;
    flex: 1 1 auto;
    min-width: 0; 
    font-size: 1.125rem;
}

/* colore titolo quando aperto */
.faq-tec-item.open .faq-tec-title {
    color: var(--primary-color); 
}

.faq-tec hr {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid #707070;
}

.faq-tec-body {
    display: none;
    padding: 0 8px 8px 8px;
    color: #111;
    line-height: 1.6;
}

.faq-tec-item.open .faq-tec-body {
    display: block;
}

.faq-tec-icon {
    width: 30px;
    height: 30px;
    position: relative;
    flex-shrink: 0;
    display: inline-block;
}

/* Le due linee (croce/plus) */
.faq-tec-icon::before,
.faq-tec-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #000;
    transform-origin: center;
    transition: transform 0.25s ease, background-color 0.25s ease;
    border-radius: 1px;
}

.faq-tec-icon::before {
    width: 30px;
    height: 2px;
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-tec-icon::after {
    width: 2px;
    height: 30px;
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-tec-item.open .faq-tec-icon::before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.faq-tec-item.open .faq-tec-icon::after {
    transform: translate(-50%, -50%) rotate(-40deg);
}

.faq-tec-item.open .faq-tec-icon::before,
.faq-tec-item.open .faq-tec-icon::after {
    background-color: black;
}

.faq-tec {
    border-radius: 10px;
}
.faq-tec-item:first-child { padding-top: 6px; }
.faq-tec-item:last-child { padding-bottom: 6px; }

@media (max-width: 575.98px) {
    .faq-tec-title { font-size: 1rem; }
    .faq-tec-icon { width: 26px; height: 26px; }
    .faq-tec-icon::before { width: 16px; height: 2px; }
    .faq-tec-icon::after { height: 16px; width: 2px; }
}


.calzatureSwiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.calzatureSwiper .swiper-slide {
  display: flex;
  height: auto;
}

.calzatureSwiper .swiper-slide .card.bg-white {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  flex: 1 1 auto;
  height: 100%;
}

.calzatureSwiper .swiper-slide .card-body {
  flex: 1;
}

.swiper-button-prev-calzature,
.swiper-button-next-calzature {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-prev-calzature.disabled,
.swiper-button-next-calzature.disabled {
    background-color: #e0e0e0; /* grigio chiaro */
    cursor: not-allowed;
    opacity: 0.6;
}

.swiper-button-prev-calzature.disabled img,
.swiper-button-next-calzature.disabled img {
    filter: grayscale(100%);
}

            .timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  border-left: 1px solid #ccc;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 8px; /* leggermente sotto il titolo */
  width: 14px;
  height: 14px;
  background-color: var(--primary-color); /* rosso */
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  margin-left: 25px;
}

.timeline-content h5 {
  margin-bottom: 5px;
}

.timeline-content p {
  margin: 0;
  color: #444;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {

  .timeline-dot {
    left: -6px;
    top: 5px;
    width: 12px;
    height: 12px;
  }

  .timeline-content {
    margin-left: 20px;
  }
}
.swap-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    width: 55px;
    height: 55px;
    display: flex;
    background: transparent !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}
.fade-in {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.thumb.active img {
    
    opacity: 0.85;
}


section[data-parallax-layers] {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* ---- SCRITTA ---- */
[data-parallax-layer="2"] {
    top: 35%;
    transform: translate(-50%, -200%);
    position: absolute;
    left: 50%;
    text-align: center;
    z-index: 2;
}

.scritta-comfort {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    will-change: transform;
    font-size: clamp(1.8rem, 3.5vw, 4rem);
}

/* ---- SCARPA ---- */
[data-parallax-layer="3"] {
    bottom: -5%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    section[data-parallax-layers] {
        height: 50vh; /* leggermente più basso */
    }

    [data-parallax-layer="2"] {
        top: 28%; /* scritta più in alto */
        transform: translate(-50%, -150%);
    }

    .scritta-comfort {
        font-size: clamp(1.4rem, 5vw, 2.5rem);
        padding: 0 1rem;
        line-height: 1.2;
    }

    [data-parallax-layer="3"] {
        bottom: 0;
        width: 120%; /* scarpa leggermente più grande su schermi piccoli */
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    [data-parallax-layer="2"] {
        top: 25%;
        transform: translate(-50%, -120%);
    }

    .scritta-comfort {
        font-size: clamp(1.2rem, 6vw, 2rem);
        max-width: 90%;
        margin: 0 auto;
    }

    [data-parallax-layer="3"] {
        bottom: -2%;
        width: 130%;
    }
}










.req-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  max-width: 370px;
  z-index: 3;
  flex-direction: column; /* Testo sopra il punto */
}

.req-dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.req-point:hover .req-chiimica-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 13px rgba(255, 255, 255, 0.25) !important;
}

/* --- Posizionamento personalizzabile --- */
.req-point.right {
  align-items: flex-start;
  text-align: left;
}

.req-point.left {
  align-items: flex-end;
  text-align: right;
}

.req-chimica-point1 {
  top: 23%;
  left: 77%;
}

/* MOBILE VERSION */
@media (max-width: 992px) {
  .req-chimica-point1 {
    top: -16%;
    left: 60%;
  }

}

  .card-requisiti  .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fa sì che l'immagine copra sempre il contenitore */
  object-position: center; /* centra l'immagine */
}
.card-requisiti {
  height: 100%;            /* permette al card di adattarsi all'immagine */
}
.card-requisiti .card-img-overlay {
  position: absolute;
  inset: 0;                /* assicura che l’overlay copra sempre l’intera immagine */
}


.req-toggle-group .req-text {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  
}

.req-toggle-group .req-dot:hover {
  cursor: pointer;
  
}

.req-toggle-group .req-point.active .req-text {
  opacity: 1;
  pointer-events: all;
  
}

.req-toggle-group .req-dot.active {
  box-shadow: 0 0 0 13px rgba(255, 255, 255, 0.3);
}



    .req-edile-point1 {
  top: 35%;
  left: 82%;
}

    .req-edile-point2 {
  top: 41%;
  left: 17%;
}
    .req-edile-point3 {
  top: 19%;
  left: 46%;
}
    .req-edile-point4 {
  top: 64%;
  left: 46%;
}

/* MOBILE VERSION */
/* --- Responsive Scaling --- */
@media (max-width: 992px) {
  .req-toggle-group {
    transform: scale(0.85);
    transform-origin: center;
  }

  .req-toggle-group .req-dot {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
  }

  .req-toggle-group .req-dot.active {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
  }

  .req-toggle-group .req-text p.h4 {
    font-size: 1rem; /* ridotto da circa 1.5rem */
  }
}

@media (max-width: 576px) {
  .req-toggle-group {
    transform: scale(0.8);
  }

  .req-toggle-group .req-text p.h4 {
    font-size: 0.9rem;
  }
}



.scarpa-effect img {
    transition: transform 0.3s ease-in-out;
}

.scarpa-effect:hover img {
    transform: translateY(-10px) rotate(-5deg); 
}

.scarpa-effect:hover p {
    font-family: 'titillium_webbold' !important;
}


/* Applica il backdrop-filter per creare l'effetto vetro */
.backdrop-effect {
    background-color: rgba(255, 255, 255, 0.3); /* Colore di sfondo semi-trasparente */
    backdrop-filter: blur(8px); /* Effetto sfocatura */
    -webkit-backdrop-filter: blur(8px); /* Fallback per Safari su iOS */
    border-radius: 10px; /* Angoli arrotondati per l'effetto */
}

/* Fallo funzionare meglio sui dispositivi che non supportano backdrop-filter */
@supports not (backdrop-filter: blur(8px)) {
    .backdrop-effect {
        background-color: rgba(255, 255, 255, 0.8); /* Usa un'opacità più alta come fallback */
    }
}


#tecTab {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

/* Assicurati che i pulsanti non vadano a capo */
#tecTab .nav-item {
    margin-right: 15px; /* Spazio tra i pulsanti */
}

/* Aggiungi uno stile per ridurre il testo sui dispositivi più piccoli */
@media (max-width: 768px) {
    #tecTab .nav-link h4 {
        font-size: 1rem; /* Riduci la dimensione del testo per schermi piccoli */
    }
}

/* Per schermi molto piccoli, puoi ridurre ulteriormente la dimensione del testo */
@media (max-width: 576px) {
    #tecTab .nav-link h4 {
        font-size: 1rem; /* Ancora più piccolo su schermi extra-small */
    }
}