/* Custom Style */
.header-nav li a {
  font-size: 16px;
  line-height: 32px;
  color: #ebe1d8;
}

.hero-section .hero-title-part-1 {
  font-size: 68px;
  line-height: 100px;
  font-weight: 300;
  letter-spacing: 0px;
}

.hero-section .hero-title-part-2 {
  font-size: 100px;
  line-height: 100px;
  font-weight: 900;
  letter-spacing: 0px;
}

.hero-section .hero-title-part-3 {
  font-size: 58px;
  line-height: 69px;
  font-weight: 300;
}

.container {
  max-width: 1180px;
}

.hero-title-p-1 {
  font-size: 68px;
  line-height: 100px;
}

.hero-title-p-2 {
  font-size: 100px;
  line-height: 100px;
}

.hero-title-p-3 {
  font-size: 58px;
  line-height: 69px;
}

.square-bullet {
  width: 8px !important;
  height: 8px !important;
  border-radius: 0 !important;
  margin: 0 4px !important;
}


/* HERO SECTION CARDS ANIMATION */
.ml-testimonials-container {
  text-align: center;
  max-width: 350px;
  background: white;
}

.ml-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
}

.ml-swipe-cards {
  display: flex;
  justify-content: left;
  position: relative;
  height: 110px;
  width: 130px;
  margin-left: 20px;
  perspective: 1000px;
  margin-top: 20px;
}

.ml-card {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  border-radius: 12px;
  overflow: hidden;
}

/* Initial card positions */
.ml-card:nth-child(1) {
  z-index: 5;
  transform: translateX(0) scale(1);
  height: 104px;
  width: 130px;
}

.ml-card:nth-child(2) {
  z-index: 4;
  transform: translateX(25px) scale(0.96);
  max-width: 120px;
  max-height: 96px;
  margin-top: 8px;
  margin-left: 30px;
}

.ml-card:nth-child(3) {
  z-index: 3;
  transform: translateX(50px) scale(0.92);
  max-width: 110px;
  max-height: 88px;
  margin-top: 16px;
  margin-left: 45px;
}

.ml-card:nth-child(4) {
  z-index: 2;
  transform: translateX(70px) scale(0.88);
  max-width: 100px;
  max-height: 80px;
  margin-top: 24px;
  margin-left: 60px;
}

.ml-card:nth-child(5) {
  z-index: 1;
  transform: translateX(90px) scale(0.84);
  max-width: 90px;
  max-height: 72px;
  margin-top: 32px;
  margin-left: 75px;
}

/* Animation classes */
.ml-card.sliding-left {
  transform: translate3d(-120%, 0, 0) rotate(-5deg);
  z-index: 0;
  opacity: 0;
}

.ml-card.sliding-right {
  transform: translate3d(120%, 0, 0) rotate(5deg);
  z-index: 0;
  opacity: 0;
}

/* Card positions during cycle */
.ml-card.next {
  z-index: 5;
  transform: translateX(0) scale(1);
  opacity: 1;
  max-width: 130px !important;
  max-height: 104px !important;
  margin-top: 0px;
  margin-left: 0px;
}

.ml-card.second {
  z-index: 4;
  transform: translateX(25px) scale(0.96);
  opacity: 1;
  max-width: 120px;
  max-height: 96px;
  margin-top: 8px;
  margin-left: 40px;
}

.ml-card.third {
  z-index: 3;
  transform: translateX(50px) scale(0.92);
  opacity: 1;
  max-width: 110px;
  max-height: 88px;
  margin-top: 16px;
  margin-left: 60px;
}

.ml-card.fourth {
  z-index: 2;
  transform: translateX(70px) scale(0.88);
  opacity: 1;
  max-width: 100px;
  max-height: 80px;
  margin-top: 24px;
  margin-left: 80px;
}

.ml-card.fifth {
  z-index: 1;
  transform: translateX(90px) scale(0.84);
  opacity: 1;
  max-width: 90px;
  max-height: 72px;
  margin-top: 32px;
  margin-left: 100px;
}

.ml-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  width: 100%;
  height: 100%;
}

.ml-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ml-testimonial-content {
  margin-top: 10px;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

.ml-name {
  font-size: 16px;
  color: #e63946;
  margin: 5px 0;
}

.ml-publication {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 5px 0;
}

.ml-description {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  margin: 10px 0;
}

/* Active card hover effect */
.ml-card.next:hover {
  transform: translateX(-5px) scale(1.01);
  transition: transform 0.2s ease;
}

/* Mobile styles */
.ml-testimonials-container-mobile {
  text-align: center;
  max-width: 350px;
  background: white;
  padding: 10px;
}

.ml-swipe-cards-mobile {
  display: flex;
  justify-content: center;
  position: relative;
  height: 110px;
  width: 130px;
  margin-left: 10px;
  perspective: 1000px;
}

.ml-card-mobile {
  position: absolute;
  width: 100%;
  height: 100%;

  backface-visibility: hidden;
  will-change: transform;
  transform-style: preserve-3d;

  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  border-radius: 12px;
  overflow: hidden;
  /* left: 5%; */
}

.ml-card-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

/* Initial mobile card positions */
.ml-card-mobile:nth-child(1) {
  z-index: 5;
  transform: translateX(0) scale(1);
  height: 104px;
  width: 130px;
  
}

.ml-card-mobile:nth-child(2) {
  z-index: 4;
  transform: translateX(25px) scale(0.96);
  max-width: 120px;
  max-height: 96px;
  margin-top: 8px;
  margin-left: 30px;
}

.ml-card-mobile:nth-child(3) {
  z-index: 3;
  transform: translateX(50px) scale(0.92);
  opacity: 1;
  max-width: 110px;
  max-height: 88px;
  margin-top: 16px;
  margin-left: 45px;
}

.ml-card-mobile:nth-child(4) {
  z-index: 2;
  transform: translateX(70px) scale(0.88);
  opacity: 1;
  max-width: 100px;
  max-height: 80px;
  margin-top: 24px;
  margin-left: 60px;
}

.ml-card-mobile:nth-child(5) {
  z-index: 1;
  transform: translateX(90px) scale(0.84);
  opacity: 1;
  max-width: 90px;
  max-height: 72px;
  margin-top: 32px;
  margin-left: 75px;
}

/* Mobile animation classes */
.ml-card-mobile.sliding-left {
  transform: translate3d(-120%, 0, 0) rotate(-5deg);
  z-index: 0;
  opacity: 0;
}

.ml-card-mobile.sliding-right {
  transform: translate3d(120%, 0, 0) rotate(5deg);
  z-index: 0;
  opacity: 0;
}

/* Mobile card positions during cycle */
.ml-card-mobile.next {
  z-index: 5;
  transform: translateX(0) scale(1);
  opacity: 1;
  max-width: 130px !important;
  max-height: 104px !important;
  margin-top: 0px;
  margin-left: 0px;
}

.ml-card-mobile.second {
  z-index: 4;
  transform: translateX(25px) scale(0.96);
  opacity: 1;
  max-width: 120px;
  max-height: 96px;
  margin-top: 8px;
  margin-left: 30px;
}

.ml-card-mobile.third {
  z-index: 3;
  transform: translateX(50px) scale(0.92);
  opacity: 1;
  max-width: 110px;
  max-height: 88px;
  margin-top: 16px;
  margin-left: 45px;
}

.ml-card-mobile.fourth {
  z-index: 2;
  transform: translateX(70px) scale(0.88);
  opacity: 1;
  max-width: 100px;
  max-height: 80px;
  margin-top: 24px;
  margin-left: 60px;
}

.ml-card-mobile.fifth {
  z-index: 1;
  transform: translateX(90px) scale(0.84);
  opacity: 1;
  max-width: 90px;
  max-height: 72px;
  margin-top: 32px;
  margin-left: 75px;
}

.ml-testimonial-content-mobile {
  margin-top: 0px;
  padding: 10px;
  position: relative;
  z-index: 4;
}

.ml-name-mobile {
  font-size: 16px;
  color: #e63946;
  margin: 5px 0;
}

.ml-publication-mobile {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 5px 0;
}

.ml-description-mobile {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin: 10px 0;
}

.site-footer .wpml-ls-slot-3 {
  display: none;
}

/* Contact Form  Response output message on the top*/
.wpcf7 form {
  display: flex;
  flex-direction: column;
}

.wpcf7-response-output {
  order: -1;
}





/* Active mobile card hover effect */
.ml-card-mobile.next:hover {
  transform: translateX(-5px) scale(1.01);
  transition: transform 0.2s ease;
}

/* HERO SECTION CARDS ANIMATION END */

@media screen and (min-width: 900px) and (max-width: 1399px) {

  .hero-title-part-1 {
    line-height: 0.8;
    font-size: 58px;
  }

  .hero-title-part-2 {
    line-height: 0.8;
    font-size: 74px;
  }

  .hero-title-part-3 {
    line-height: 0.8;
    font-size: 58px;
  }

  .hero-text-wraper h1 {
    margin-bottom:10px !important;
  }

  .ml-testimonials-container {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    z-index: 99;
  }

    .ml-testimonials-container-mobile {
      bottom: 0 !important;
    }

    .ml-title {
      margin-bottom: 0px !important;
    }
}






@media screen and (min-width: 1366px) and (max-width: 1599px) {
  .animated-text {
    font-size: 130px;
    line-height: 150px;
  }
}

@media screen and (min-width: 1600px) {
  .animated-text {
    font-size: 120px;
    line-height: 140px;
  }
}

/* Video Section Styles */
.video-section {
  position: relative;
  overflow: hidden;
}

.video-section .marquee-wrapper {
  min-height: 120px;
  width: 100%;
  overflow: hidden;
}

/* Ricette Section Marquee */
.ricette-section .marquee-wrapper {
  position: relative;
  min-height: 120px;
  width: 100%;
  /* overflow: visible; */
}

/* Product Animation Styles */
.box-text-animation__wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.box-text-animation {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.box-text-animation p {
  padding: 10px 0;
  font-family: Arial, sans-serif;
  font-weight: bold;
  line-height: 0.4;
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Change border color on focus for input fields and text areas */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus {
  border-color: #de432e; /* Your desired focus border color */
  box-shadow: 0 0 5px rgba(222, 67, 46, 0.5); /* Optional: Add a subtle shadow effect */
  outline: none; /* Remove default outline */
}

/* Additional rule to remove any browser-specific focus styles */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none; /* Remove default outline */
}

.single-post-instructions ul {
  list-style-type: unset; /* Use bullet points for the list */
}

.swiper-pagination-bullet-active {
  background: #13AC84 !important;
}

/* WPML */
.wpml-ls-legacy-dropdown-click {
  width: 80px !important;
}
.wpml-ls-legacy-dropdown-click a {
  border: none !important;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a,
.wpml-ls-legacy-dropdown-click a:focus,
.wpml-ls-legacy-dropdown-click a:hover {
  color:#000;
  background:none !important;
}

/* .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
  display: none !important;
} */

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
  border-top: none !important;
}

/* .wpml-ls-item-toggle {
  background: transparent !important;
} */

@media (max-width: 768px) {
  .box-text-animation p {
    font-size: 30px;
    line-height: 0.8;
    padding: 5px 0;
  }
  .box-text-animation {
    padding: 0 10px;
  }

  
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle, .wpml-ls-legacy-dropdown-click a {
    background: #de422e;
  }

  .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    border-top: none;
  }
  .wpml-ls-item-toggle {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .wpml-ls-legacy-dropdown-click a {
    background-color: unset !important;
  }

  .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
    color: #e5e7eb;
  }

}
