/*
Basato su Softy Pinko di TemplateMo
https://templatemo.com/tm-535-softy-pinko
*/


/* 
---------------------------------------------
01. Font & Reset
--------------------------------------------- 
*/

/* 
---------------------------------------------
02. Fix container & cards
--------------------------------------------- 
*/
.container {
  max-width: 1110px !important;
  padding-left: 35px;
  padding-right: 35px;
}

.features-small-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.features-small-item .icon {
  flex-shrink: 0;
}

.features-small-item h5 {
  flex-shrink: 0;
}

.features-small-item p {
  flex-grow: 1;
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* 
---------------------------------------------
03. Navbar: language dropdown & cookie banner
--------------------------------------------- 
*/
.nav .dropdown {
  position: relative;
}

.nav .dropdown-menu {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 100px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
}

.nav .dropdown:hover .dropdown-menu {
  display: block;
}

.nav .dropdown-menu li {
  padding: 0 !important;
}

.nav .dropdown-menu li a {
  padding: 0px 15px;
}

.nav .dropdown-item {
  color: #333;
  display: block;
  text-decoration: none;
  transition: background-color 0.3s;
}

.nav .dropdown-item:hover {
  background-color: #f8f9fa;
}

.nav .dropdown-toggle {
  align-items: center;
  display: flex;
}

.nav .dropdown-toggle .fa-chevron-down {
  font-size: 12px;
  transition: transform 0.3s;
}

.nav .dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

.nav .dropdown-toggle::after {
  display: none !important;
}

#cookie-banner {
  font-family: 'Raleway', sans-serif;
}

#cookie-banner button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookiebanner {
  background: #fff !important;
  border-radius: 25px !important;
  bottom: 20px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  color: #333 !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 16px !important;
  left: auto !important;
  max-width: 380px !important;
  padding: 25px !important;
  position: fixed !important;
  right: 20px !important;
  text-align: left !important;
  width: 380px;
  z-index: 1000 !important;
}

.cookiebanner span {
  display: block !important;
  font-size: 16px !important;
  line-height: 20px !important;
  margin-bottom: 15px !important;
}

.cookiebanner .cookiebanner-close {
  margin-top: 15px !important;
  text-align: center !important;
  width: 100% !important;
}

.cookiebanner .cookiebanner-close:hover {
  box-shadow: 0 4px 12px rgba(255, 0, 43, 0.3) !important;
  opacity: 0.9 !important;
  transform: translateY(-2px) !important;
}

.cookiebanner a {
  color: #ff002b !important;
  display: inline-block !important;
  font-size: 14px !important;
  margin-top: 2px !important;
  text-decoration: underline !important;
}

/* 
---------------------------------------------
04. Reset base
--------------------------------------------- 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
img,
strong,
em,
figure,
fieldset,
form,
label,
legend,
table,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

strong,
sub,
sup,
tt,
var,
b,
u,
i {
  font-weight: inherit;
}

.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

a {
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
  margin-top: 0;
}

ul {
  margin-bottom: 0;
}

/* 
---------------------------------------------
05. Global styles & utilities
--------------------------------------------- 
*/

html {
  scroll-behavior: smooth;
}

#welcome,
#services {
  scroll-margin-top: 100px;
}

#products,
#contact-us {
  scroll-margin-top: 50px;
}

::selection {
  background: #ff002b;
  color: #fff;
}

::-moz-selection {
  background: #ff002b;
  color: #fff;
}

.section {
  padding-bottom: 80px;
  padding-top: 100px;
  position: relative;
}

.section.colored {
  background: #f2f2fe;
}

.hr {
  border-bottom: 1px solid #eee;
  bottom: 0;
  height: 1px;
  margin-top: 100px;
  width: 100%;
}

.divider {
  background-image: linear-gradient(127deg, #ff002b 0%, #cc0022 91%);
  border-radius: 5px;
  height: 5px;
  margin: 50px auto;
  width: 50%;
}

.left-heading.light .section-title {
  color: #ffffff;
}

.left-heading .section-title {
  color: #1e1e1e;
  cursor: default;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.25px;
  line-height: 42px;
  margin-bottom: 30px;
  position: relative;
}

.center-heading {
  text-align: center;
}

.center-heading .section-title {
  color: #1e1e1e;
  cursor: default;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1.75px;
  line-height: 38px;
  margin-bottom: 20px;
}

.center-heading.colored .section-title {
  color: #ffffff;
}

.center-text {
  color: #777;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 28px;
  margin-bottom: 50px;
  text-align: center;
}

.center-text.colored {
  color: #fff;
}

.center-text p {
  color: #777;
  font-size: 15px;
  margin-bottom: 30px;
}

.left-text {
  color: #777;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 28px;
}

.left-text.light {
  color: #fff;
}

.left-text p {
  margin-bottom: 30px;
}

.left-text p.dark {
  color: #3B566E;
}

.padding-bottom-top-60 {
  padding-bottom: 60px !important;
  padding-top: 60px !important;
}

.padding-bottom-80 {
  padding-bottom: 80px !important;
}

.padding-bottom-100 {
  padding-bottom: 100px !important;
}

.border-bottom {
  border-bottom: 1px solid #eee !important;
}

.mbottom-30 {
  margin-bottom: 30px !important;
}

.align-self-center {
  align-self: center !important;
}

.align-self-bottom {
  align-self: flex-end !important;
}

.padding-bottom-0 {
  padding-bottom: 0 !important;
}

.padding-top-0 {
  padding-top: 0 !important;
}

.padding-top-80 {
  padding-top: 80px !important;
}

.padding-top-70 {
  padding-top: 70px !important;
}

.padding-top-20 {
  padding-top: 20px !important;
}

.margin-bottom-0 {
  margin-bottom: 0 !important;
}

.margin-bottom-30 {
  margin-bottom: 30px !important;
}

.margin-top-30 {
  margin-top: 30px !important;
}

.margin-top-15 {
  margin-top: 15px !important;
}

.margin-bottom-45 {
  margin-bottom: 45px !important;
}

.margin-bottom-20 {
  margin-bottom: 20px !important;
}

.margin-bottom-60 {
  margin-bottom: 60px !important;
}

.margin-bottom-100 {
  margin-bottom: 100px !important;
}

a.main-button-slider,
a.main-button,
button.main-button {
  font-size: 13px;
  border-radius: 20px;
  padding: 12px 20px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.25px;
  transition: all 0.3s ease;
}

a.main-button-slider {
  background-color: #ff002b;
}

a.main-button-slider:hover {
  background-color: #cc0022;
}

a.main-button {
  background-color: #cc0022;
}

a.main-button:hover {
  background-color: #ff002b;
}

button.main-button {
  outline: none;
  border: none;
  cursor: pointer;
  background-color: #cc0022;
}

button.main-button:hover {
  background-color: #ff002b;
}

/* 
---------------------------------------------
06. Header
--------------------------------------------- 
*/
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.header-area {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 100;
  height: 100px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.header-area>.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.header-area .container {
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-area .main-nav {
  min-height: 80px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.header-area .main-nav .logo {
  float: left;
  margin-top: 20px;
  margin-left: 30px;
  transition: all 0.3s ease;
  cursor: default;
}

.header-area .main-nav .logo img {
  height: 40px;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 27px;
  margin-left: 0;
  margin-right: 30px;
  position: relative;
  z-index: 999;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav li {
  padding-left: 20px;
  padding-right: 20px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0;
}

.header-area .main-nav .nav li a {
  display: block;
  height: 40px;
  line-height: 40px;
  border: transparent;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav li a:hover {
  color: #ff002b;
}

.header-area .main-nav .menu-trigger {
  position: absolute;
  top: 23px;
  right: 40px;
  z-index: 99;
  display: none;
  cursor: pointer;
  text-indent: -9999em;
  width: 32px;
  height: 40px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  position: absolute;
  left: 0;
  display: block;
  width: 30px;
  height: 2px;
  background-color: #3B566E;
  transition: all 0.4s;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  width: 75%;
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  top: -10px;
  transform-origin: 33% 100%;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  top: 10px;
  transform-origin: 33% 0;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #3B566E;
}

.header-area .main-nav .menu-trigger.active span:after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #3B566E;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area.header-sticky .nav {
  margin-top: 20px !important;
}

.header-area.header-sticky .nav li a {
  color: #1e1e1e;
}

.header-area.header-sticky .nav li a.active {
  color: #ff002b;
}

/* 
---------------------------------------------
07. Welcome (hero)
--------------------------------------------- 
*/
.welcome-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
  background: linear-gradient(135deg, #d32f2f 0%, #8b0000 100%);
}

.welcome-area .header-text {
  position: absolute;
  top: 48%;
  transform: translateY(-55%);
  text-align: center;
  width: 100%;
}

.welcome-area .header-text h1 {
  margin-bottom: 30px;
  color: #fff;
  font-weight: 500;
  font-size: 40px;
  line-height: 54px;
  letter-spacing: 1.4px;
}

.welcome-area .header-text p {
  position: relative;
  margin-bottom: 40px;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.25px;
}

.welcome-area .wave-effect {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23fff' fill-opacity='1' d='M0,64L48,58.7C96,53,192,43,288,48C384,53,480,75,576,80C672,85,768,75,864,64C960,53,1056,43,1152,48C1248,53,1344,75,1392,85.3L1440,96L1440,120H1392C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120H0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

/* 
---------------------------------------------
08. Features (cards)
--------------------------------------------- 
*/
.features-small-item {
  position: relative;
  margin-bottom: 30px;
  min-height: 320px;
  cursor: default;
  text-align: center;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.10);
  transition: all 0.3s ease;
}

.features-small-item:hover .icon {
  background-color: #ff002b;
}

.features-small-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 30px;
  background: #cc0022;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.features-small-item .icon i {
  font-size: 64px !important;
  color: #fff !important;
}

.features-small-item .icon svg {
  width: 64px !important;
  height: 64px !important;
  fill: #fff !important;
  color: #fff !important;
}

.features-small-item .icon svg path {
  fill: #fff !important;
}

.features-small-item .features-title {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.7px;
  color: #1e1e1e;
}

.features-small-item p {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  font-weight: 400;
  font-size: 13px;
  line-height: 25px;
  letter-spacing: 0.5px;
  color: #777;
}

.features-small-item a {
  float: right;
  position: relative;
  z-index: 2;
}

.home-feature {
  z-index: 9;
  padding-top: 30px;
  padding-bottom: 0;
  margin-top: -220px;
}

.icon-large {
  text-align: center;
  margin-bottom: 30px;
}

.icon-large i {
  width: 260px;
  height: 260px;
  font-size: 160px;
  color: #fff;
  padding-top: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff002b 0%, #cc0022 100%);
  box-shadow: 0 10px 30px rgba(204, 0, 34, 0.3);
  transition: all 0.3s ease;
}

.icon-large svg {
  width: 180px;
  height: 180px;
  padding: 40px;
  border-radius: 50%;
  fill: #fff;
  color: #fff;
  background: linear-gradient(135deg, #ff002b 0%, #cc0022 100%);
  box-shadow: 0 10px 30px rgba(204, 0, 34, 0.3);
  transition: all 0.3s ease;
}

.icon-large:hover i {
  transform: scale(1.05);
  background: linear-gradient(135deg, #cc0022 0%, #ff002b 100%);
  box-shadow: 0 15px 40px rgba(255, 0, 43, 0.4);
}

/* 
---------------------------------------------
09. Parallax / Mini
--------------------------------------------- 
*/
.mini {
  min-height: 215px;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 90px;
}

.mini:before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  z-index: 2;
  width: 140%;
  height: 140%;
  opacity: .95;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/work-process-bg.png);
}

.mini .mini-content {
  position: relative;
  z-index: 3;
}

.mini .mini-content .info {
  color: #fff;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.mini .mini-content .info small {
  display: block;
  margin-bottom: 5px;
  font-weight: 400;
  font-size: 13px;
}

.mini .mini-content .info strong {
  display: block;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 17px;
}

.mini .mini-content .info h1 {
  margin-bottom: 30px;
  color: #fff;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.25px;
}

.mini .mini-content .info p {
  margin-bottom: 40px;
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0.25px;
}

.mini .mini-content .info p span {
  text-decoration: underline;
}

.mini .mini-content .mini-box {
  position: relative;
  display: block;
  margin-bottom: 30px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.mini .mini-content .mini-box:before {
  content: '';
  position: absolute;
  left: 0;
  right: -20px;
  bottom: -10px;
  z-index: -1;
  margin: auto;
  width: 100%;
  height: 100%;
  opacity: .15;
  border-radius: 20px;
  background: #fff;
}

.mini .mini-content .mini-box:hover {
  margin-top: -10px;
}

.mini .mini-content .mini-box i {
  display: block;
  font-size: 20px;
  margin-bottom: 15px;
}

.mini .mini-content .mini-box span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #777;
  letter-spacing: .75px;
}

.mini .mini-content .mini-box strong {
  display: block;
  margin-top: 20px;
  margin-bottom: 5px;
  font-weight: 400;
  font-size: 17px;
  color: #1e1e1e;
  letter-spacing: 0.25px;
}

/* 
----------------------------------------------
10. Products & Carousel
--------------------------------------------- 
*/
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  text-align: center;
  margin-bottom: 30px;
  height: 230px;
  /* TODO impostare altezza quando ci sarà immagine*/
  /* height: 380px; */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.10);
  transition: all 0.3s ease;
}

.product-card .img {
  position: relative;
  overflow: hidden;
  flex: 0 0 180px;
  height: 200px;
  border-radius: 20px 20px 0 0;
}

.product-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: -30px;
  padding-top: 50px;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.25px;
  margin-bottom: 10px !important;
  color: #1e1e1e;
  transition: all 0.3s ease;
  cursor: default;
}

.product-card h3 a {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.25px;
  color: #1e1e1e;
  transition: all 0.3s ease;
  cursor: default;
}

.product-card h3 a:hover {
  color: #ff002b;
}

.product-card .text {
  font-weight: 400;
  font-size: 13px;
  line-height: 26px;
  letter-spacing: 0.26px;
  color: #777;
  margin-bottom: 15px;
}

.product-card .post-footer span {
  float: left;
  height: 30px;
  line-height: 30px;
  font-weight: 300;
  font-size: 14px;
  color: #777;
  padding-left: 30px;
}

.product-card a.main-button {
  margin-top: 10px;
  display: inline-block;
}

.products-list .product-card {
  text-align: left;
}

.custom-carousel {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  width: 280px;
  transform-origin: center;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.center {
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  z-index: 10;
  opacity: 1;
}

.carousel-slide.left {
  left: 20%;
  transform: translateX(-50%) scale(0.85);
  z-index: 5;
  opacity: 0.7;
}

.carousel-slide.right {
  right: 20%;
  transform: translateX(50%) scale(0.85);
  z-index: 5;
  opacity: 0.7;
}

.carousel-slide.left-off {
  left: -30%;
  transform: translateX(-50%) scale(0.6);
  z-index: 3;
  opacity: 0;
}

.carousel-slide.right-off {
  right: -30%;
  transform: translateX(50%) scale(0.6);
  z-index: 3;
  opacity: 0;
}

.carousel-slide.hidden {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 43, 0.3);
  background: linear-gradient(135deg, #ff002b 0%, #cc0022 100%);
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 0, 43, 0.5);
}

.carousel-nav.prev {
  left: 5px;
}

.carousel-nav.next {
  right: 5px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #ff002b;
  transform: scale(1.2);
}

.static-cards-mobile {
  display: none !important;
}

.custom-carousel {
  display: block !important;
}

/* 
---------------------------------------------
11. Contact
--------------------------------------------- 
*/
#contact-us {
  padding: 160px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #fff5f5 100%);
  box-shadow: 0 10px 30px rgba(255, 0, 43, 0.05) inset;
  position: relative;
  overflow: hidden;
}

.contact-us {
  background-color: #f7f7f7;
  padding: 140px 0px;
  background-image: url(../../images/contact-bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#contact-us h5 {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.25px;
  color: #1e1e1e;
}

.contact-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0.6px;
  color: #6F8BA4;
}

.contact-text p {
  margin-bottom: 28px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 50px;
  margin-bottom: 30px;
  padding: 0 20px;
  color: #777;
  font-size: 14px;
  border: 1px solid #eee;
  border-radius: 25px;
  outline: none;
  appearance: none;
}

.contact-form textarea {
  height: 150px;
  padding: 20px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff002b;
  box-shadow: 0 0 5px rgba(255, 0, 43, 0.5);
}

.contact-info a,
.contact-us a,
.contact-text a,
.contact-phone,
.contact-email {
  color: #6c757d !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover,
.contact-us a:hover,
.contact-text a:hover,
.contact-phone:hover,
.contact-email:hover {
  color: #000 !important;
  text-decoration: none;
}


/* 
---------------------------------------------
12. Footer
--------------------------------------------- 
*/
footer {
  background-image: linear-gradient(127deg, #ff002b 0%, #cc0022 91%);
}

footer a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

footer a:hover {
  color: #ffccd5 !important;
  text-decoration: none !important;
}

footer .copyright {
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.88px;
  color: #fff;
  border-top: 1px solid rgba(250, 250, 250, 0.2);
}

/* 
---------------------------------------------
13. Preloader
--------------------------------------------- 
*/
#preloader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(135deg, #ff002b 0%, #cc0022 100%);
}

/* Stili per error-card quando JavaScript è disabilitato */
#error-card {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f8f9fa;
  text-align: center;
}

#error-card img {
  max-width: 200px;
  height: auto;
  margin-bottom: 2rem;
}

#error-card h2 {
  color: #333;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

#error-card p {
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  font-size: 1.1rem;
}

#preloader .jumper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: block;
  width: 50px;
  height: 50px;
}

#preloader .jumper>div {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  opacity: 0;
  background-color: #fff;
  animation: jumper 1s 0s linear infinite both;
}

#preloader .jumper>div:nth-child(2) {
  animation-delay: 0.33333s;
}

#preloader .jumper>div:nth-child(3) {
  animation-delay: 0.66666s;
}

@-webkit-keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  5% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes jumper {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  5% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* 
---------------------------------------------
14. Stili per quando JavaScript è disabilitato
--------------------------------------------- 
*/
.noscript-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: #f8f9fa;
  text-align: center;
}

.noscript-error__card {
  max-width: 800px;
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
}

.noscript-error__logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
}

.noscript-error__title {
  color: #333;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.noscript-error__message {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.noscript-error__highlight {
  color: #ff002b;
  font-weight: 600;
}

.noscript-hide {
  display: none !important;
}

/* 
---------------------------------------------
15. Media Queries
--------------------------------------------- 
*/
@media (max-width: 991px) {

  .icon-large i,
  .icon-large svg {
    width: 120px;
    height: 120px;
    padding-top: 25px;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 70px;
  }

  .home-feature {
    margin-top: -200px !important;
  }

  .home-feature .col-md-6 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding: 0 5px !important;
  }

  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0;
  }

  .mobile-bottom-fix {
    margin-bottom: 30px;
  }

  .mobile-bottom-fix-big {
    margin-bottom: 30px;
  }

  .hr {
    display: none;
  }

  .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-area .main-nav:before {
    display: none;
  }

  .header-area {
    padding: 0 15px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }

  .header-area .container {
    padding: 0;
  }

  .header-area .logo {
    margin-left: 30px;
  }

  .header-area .menu-trigger {
    display: block !important;
  }

  .header-area .main-nav {
    overflow: hidden;
  }

  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    margin-top: 80px !important;
    display: none;
    margin-left: 0;
    transition: all 0s ease;
  }

  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }

  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0 !important;
    border: none !important;
    background: #fff !important;
    color: #3B566E !important;
  }

  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
  }

  #products {
    scroll-margin-top: 25px;
  }

  #contact-us {
    scroll-margin-top: 0px;
  }

  .welcome-area .header-text {
    top: 45% !important;
  }

  .welcome-area .header-text h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
  }

  .welcome-area .header-text h1 span {
    color: #fff;
  }

  .welcome-area .header-text p {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
  }

  .parallax {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .parallax .content {
    position: relative !important;
    top: 0 !important;
    transform: translateY(0%) !important;
  }

  .divider {
    margin-top: 0;
    margin-bottom: 0;
  }

  .left-text p {
    margin-bottom: 0;
  }

  .header-area .main-nav {
    position: relative;
  }

  .dropdown-menu[style*="position: absolute"] {
    display: none !important;
  }

  .nav .dropdown .dropdown-menu {
    display: none !important;
  }

  .nav .dropdown .dropdown-menu.show {
    display: block !important;
    position: static !important;
    transform: none !important;
  }

  .dropdown-toggle::after {
    display: none !important;
  }

  .dropdown-toggle .fa-chevron-down {
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  .dropdown-toggle.show .fa-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-item {
    text-align: center;
    font-size: 12px !important;
  }

  .main-nav .nav li.dropdown .dropdown-toggle {
    background-color: transparent !important;
  }

  .main-nav .nav li.dropdown .dropdown-toggle:hover,
  .main-nav .nav li.dropdown .dropdown-toggle:focus,
  .main-nav .nav li.dropdown .dropdown-toggle:active,
  .main-nav .nav li.dropdown .dropdown-toggle.show,
  .main-nav .nav li.dropdown .dropdown-toggle.active {
    background-color: transparent !important;
  }

  footer .text {
    margin-bottom: 30px;
  }

  footer h5 {
    margin-bottom: 15px;
  }

  footer .footer-nav {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .nav .dropdown-menu {
    position: static;
    display: block;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav .dropdown-item {
    color: #fff;
    padding: 10px 0;
  }

  .welcome-area .header-text {
    top: 65% !important;
  }

  .welcome-area .header-text h1 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .welcome-area .header-text p {
    margin-bottom: 20px;
  }

  .carousel-container {
    height: 380px;
  }

  .carousel-slide {
    width: 280px;
  }

  .carousel-slide.center {
    transform: translateX(-50%) scale(1.1);
  }

  .carousel-slide.left {
    left: 10%;
    transform: translateX(-50%) scale(0.8);
    opacity: 0.5;
  }

  .carousel-slide.right {
    right: 10%;
    transform: translateX(50%) scale(0.8);
    opacity: 0.5;
  }

  .carousel-slide.left-off {
    left: -40%;
    transform: translateX(-50%) scale(0.5);
    opacity: 0;
  }

  .carousel-slide.right-off {
    right: -40%;
    transform: translateX(50%) scale(0.5);
    opacity: 0;
  }

  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .carousel-nav.prev {
    left: 10px;
  }

  .carousel-nav.next {
    right: 10px;
  }

  .welcome-area {
    margin-bottom: 100px;
  }

  .welcome-area .header-text {
    top: 45% !important;
  }

  .welcome-area .header-text .buttons {
    display: none;
  }

  .welcome-area .header-text h1 {
    font-weight: 600;
    font-size: 24px !important;
    line-height: 30px !important;
    margin-bottom: 30px !important;
  }

  .welcome-area .header-text h1 span {
    color: #fff;
  }

  .welcome-area .header-text p {
    color: #fff;
    text-align: center;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 40px;
  }

  .features-small-item .icon {
    border-radius: 50% !important;
  }

  .home-feature {
    margin-top: -330px !important;
  }

  .home-feature .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .home-feature .features-small-item {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .features-small-item .icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 15px !important;
  }

  .features-small-item .icon i {
    font-size: 43px !important;
  }

  .features-small-item .icon svg {
    width: 45px !important;
    height: 45px !important;
  }

  .features-small-item p {
    line-height: 1.4 !important;
  }
}


@media (max-width: 575px) {
  .header-area .container {
    padding: 10px !important;
  }

  .menu-trigger {
    right: 20px !important;
  }

  .home-feature {
    margin-top: -350px !important;
  }

  .features-small-item .features-small-content {
    text-align: center;
  }

  .home-feature .row {
    flex-direction: column;
    align-items: center;
  }

  .home-feature [class*="col-"] {
    width: 100% !important;
    max-width: 400px !important;
    flex: 0 0 100% !important;
    padding: 0 15px !important;
  }

  .features-small-item {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 30px !important;
    min-height: 200px;
    display: flex;
    flex-direction: column;
  }

  .features-small-item .features-small-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .features-small-item .text {
    max-height: 120px;
    overflow-y: auto;
    margin-top: 10px !important;
  }

  .custom-carousel {
    display: none !important;
  }

  .static-cards-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin: 30px auto 0;
    max-width: 400px;
    width: 100%;
    padding: 0 15px;
  }

  .static-cards-mobile .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .static-cards-mobile .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .static-cards-mobile .product-card {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .static-cards-mobile .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .static-cards-mobile .product-card .img {
    height: 180px;
    overflow: hidden;
  }

  .static-cards-mobile .product-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .static-cards-mobile .product-card:hover .img img {
    transform: scale(1.05);
  }

  .static-cards-mobile .product-content {
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .static-cards-mobile .product-content h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #1e1e1e;
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.3;
  }

  .static-cards-mobile .product-content>.text {
    color: #4a4a4a;
    line-height: 1.5;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    border: 0 !important;
    font-size: 14px !important;
    flex-grow: 1;
  }

  .static-cards-mobile .product-content::after {
    content: '';
    display: block;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .header-area .main-nav .logo {
    max-width: 230px;
    margin-top: 21px;
  }

  .header-area .main-nav .logo img {
    object-fit: contain;
  }

  #contact-us {
    padding-top: 80px;
    scroll-margin-top: 60px;
  }

  #products {
    scroll-margin-top: 40px;
  }

  .cookiebanner {
    width: 90%;
  }
}

@media (max-width: 400px) {
  .header-area .main-nav .logo {
    max-width: 175px;
    margin-top: 21px;
    margin-left: 10px;
  }

  .header-area .main-nav .logo img {
    object-fit: contain;
  }

  .menu-trigger {
    width: 26px;
    height: 20px;
    right: 15px !important;
    top: 30px !important;
  }

  .menu-trigger span,
  .menu-trigger span:before,
  .menu-trigger span:after {
    height: 2px;
  }

  .menu-trigger span {
    top: 9px !important;
    left: 0;
    right: 0;
  }

  .menu-trigger.active span {
    background: transparent !important;
  }

  .menu-trigger.active span:before {
    transform: rotate(45deg) translate(5px, 5px);
    width: 100%;
    left: 0;
  }

  .menu-trigger.active span:after {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 100%;
    left: 0;
  }
}