@import url("https://fonts.googleapis.com/css2?family=Give+You+Glory&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  /* Colors */
  --body-color: #ece8e5;
  --section-color: #e6dccf;
  --dark-brown: #453728;
  --medium-brown: #e6dccf;
  --red-color: #b86d65;
  --text-color-brown: #8e745a;
  --text-color-white: #ece8e5;
  --text-color-blue: #4771b5;

  /* Fonts */
  --font-title: "Old Standard TT", serif;
  --font-title-cursive: "Give You Glory", cursive;
  --font-text: "Red Hat Display", sans-serif;

  /* Sizes */
  --100px: 100px;
  --50px: 50px;
  --42px: 42px;
  --35px: 35px;
  --30px: 30px;
  --25px: 25px;
  --20px: 20px;
  --18px: 18px;
  --16px: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-text);
  background-color: var(--body-color);
  color: var(--text-color-brown);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

p {
  font-size: var(--18px);
  color: var(--text-color-brown);
  line-height: 1.1;
  font-weight: 600;
}

@media (max-width: 490px) {
  p {
    font-size: var(--16px);
  }
}

h1 {
  font-size: 38px;
  color: var(--text-color-blue);
  font-family: var(--font-title);
  line-height: 1;
}

@media (max-width: 820px) {
  h1 {
    font-size: var(--30px);
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: var(--25px);
  }
}

h2 {
  font-size: 38px;
  color: var(--text-color-blue);
  font-family: var(--font-title);
  line-height: 1;
}

@media (max-width: 820px) {
  h2 {
    font-size: var(--30px);
  }
}

@media (max-width: 420px) {
  h2 {
    font-size: var(--25px);
  }
}

h3 {
  font-size: 30px;
  color: var(--text-color-blue);
  font-family: var(--font-title-cursive);
}

@media (max-width: 820px) {
  h3 {
    font-size: var(--25px);
  }
}

h4 {
  font-size: var(--20px);
  color: var(--text-color-brown);
  font-family: var(--font-text);
}

@media (max-width: 480px) {
  h4 {
    font-size: var(--18px);
  }
}

h5 {
  font-size: var(--16px);
  color: var(--text-color-brown);
  font-family: var(--font-text);
}

@media (max-width: 480px) {
  h5 {
    font-size: var(--16px);
  }
}

h6 {
  font-size: var(--18px);
  color: var(--text-color-brown);
  font-family: var(--font-text);
}

@media (min-width: 1450px) {
  html {
    font-size: 110%;
  }

  .container {
    max-width: 1400px !important;
  }
}

@media (min-width: 1800px) {
  html {
    font-size: 120%;
  }

  .container {
    max-width: 1450px !important;
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 140%;
  }

  .container {
    max-width: 1750px !important;
  }
}

button {
  border: 1px solid transparent;
  color: var(--body-color);
  font-size: var(--18px);
  font-family: var(--font-text);
  background-color: var(--red-color);
  max-width: max-content;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
}

button:hover {
  background-color: var(--body-color);
  color: var(--text-color-brown);
  border: 1px solid var(--red-color);
}

.button-brown {
  border: 1px solid var(--text-color-brown) !important;
  background-color: transparent !important;
  color: var(--text-color-brown);
  font-weight: 500 !important;
}

@media (max-width: 490px) {
  button {
    font-size: var(--16px);
  }

  .button-brown {
    font-size: var(--16px);
  }
}

.button-white {
  background-color: var(--body-color) !important;
  color: var(--red-color) !important;
  padding: 0.5rem 3rem !important;
}

/* ========================================
   =========== HEADER OMPATH TRAVEL =======
   ======================================== */

.ompath-header {
  background: var(--body-color);
  border-top: none;
  border-bottom: none;
  padding: 0.5rem;
  position: fixed;
  top: 2%;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
}

.ompath-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0rem;
  right: 0rem;
  height: 1px;
  background-color: var(--dark-brown);
}

.ompath-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0rem;
  right: 0rem;
  height: 1px;
  background-color: var(--dark-brown);
}

.navbar {
  padding: 0;
}

.container-fluid {
  position: relative;
}

.logo-img {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease;
}

@media (min-width: 1200px) {
  .logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .left-nav {
    margin-right: auto;
  }

  .right-nav {
    margin-left: auto;
  }
}

.nav-link {
  color: var(--dark-brown);
  font-family: var(--font-text);
  font-size: var(--18px);
  font-weight: 500;
  padding: 0.5rem 2rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  text-decoration: underline;
}

.navbar-nav .button {
  margin: 0;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238e745a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 28px;
  height: 28px;
}

.offcanvas-end {
  width: 75vw;
  height: 100vh !important;
  background-color: var(--body-color);
  border-left: 1px solid var(--text-color-brown);
  top: 0 !important;
  bottom: 0;
}

@media (max-width: 575px) {
  .offcanvas-end {
    width: 100vw;
    height: 100vh !important;
  }
}

.offcanvas-header {
  border-bottom: 1px solid var(--text-color-brown);
  padding: 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.logo-img-mobile {
  height: 32px;
  width: auto;
}

.btn-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238e745a'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  opacity: 1;
  width: 1.5rem;
  height: 1.5rem;
}

.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.offcanvas-body {
  padding: 2rem 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.nav-link-mobile {
  color: var(--text-color-brown);
  font-family: var(--font-text);
  font-size: var(--18px);
  font-weight: 500;
  padding: 1rem 0;
  display: block;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(142, 116, 90, 0.2);
}

.nav-link-mobile:hover {
  color: var(--red-color);
}

.nav-item:last-child .nav-link-mobile {
  border-bottom: none;
}

.offcanvas-body .button {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 1199px) {
  body {
    padding-top: 85px;
  }

  .ompath-header {
    padding: 1rem 0 0.5rem 0;
  }

  .ompath-header::before,
  .ompath-header::after {
    left: 1rem;
    right: 1rem;
  }

  .logo-center {
    position: static;
    transform: none;
  }

  .logo-img {
    height: 42px;
  }

  .offcanvas-end {
    --bs-offcanvas-width: 100vw !important;
    --bs-offcanvas-zindex: 10000 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: var(--body-color);
    border-left: 1px solid var(--text-color-brown);
    top: 0 !important;
    bottom: 0;
  }

  /* Rimuove o rende trasparente il backdrop */
  .offcanvas-backdrop {
    display: none !important;
  }
}

@media (max-width: 575px) {
  body {
    padding-top: 50px;
  }

  .ompath-header {
    padding: 0.3rem 0;
    top: 0%;
  }

  .ompath-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0rem;
    right: 0rem;
    height: 1px;
    background-color: transparent;
  }

  .logo-img {
    height: 30px;
  }

  .logo-img-mobile {
    height: 30px;
  }

  .ompath-header::before,
  .ompath-header::after {
    left: 0.75rem;
    right: 0.75rem;
  }
}

html {
  scroll-padding-top: 100px;
}

.js-underline-draw {
  opacity: 0;
  clip-path: inset(0 100% 0 0); /* nascosta da destra */
  will-change: clip-path, opacity;
}

.js-icon-reveal {
  opacity: 0;
  transform: scale(0.96); /* micro respiro */
  will-change: opacity, transform;
}
/* ========================================
   =============== HERO SECTION ================
   ======================================== */

.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10% 0% 3% 0%;
}

.box-hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 660px !important;
  text-align: center;
}

.img-dx-1-hero {
  position: absolute;
  z-index: 1;
  right: 7%;
  top: 15%;
  width: 200px;
  height: auto;
}

.img-dx-2-hero {
  position: absolute;
  z-index: 0;
  right: -4%;
  top: 25%;
  width: 200px;
  height: auto;
}

.img-sx-1-hero {
  position: absolute;
  z-index: 0;
  left: -5%;
  bottom: 0%;
  width: 380px;
  height: auto;
}

@media (min-width: 1550px) {
  .box-hero-section {
    max-width: 680px !important;
  }

  .img-dx-1-hero {
    position: absolute;
    z-index: 1;
    right: 3%;
    top: 13%;
    width: 300px;
    height: auto;
  }
  .img-dx-2-hero {
    position: absolute;
    z-index: 0;
    right: -8%;
    top: 42%;
    width: 300px;
    height: auto;
  }

  .img-sx-1-hero {
    position: absolute;
    z-index: 0;
    left: -10%;
    bottom: 0%;
    width: 500px;
    height: auto;
  }
}

@media (min-width: 1600px) {
  .hero-section {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20% 0% 10% 0%;
  }

  .img-dx-1-hero {
    right: -2%;
  }

  .img-dx-2-hero {
    right: -10%;
  }

  .img-sx-1-hero {
    position: absolute;
    z-index: 0;
    left: -14%;
    bottom: 0%;
    width: 500px;
    height: auto;
  }
}

@media only screen and (min-width: 1260px) and (max-width: 1300px) and (min-height: 700px) and (max-height: 1040px) {
  .hero-section {
    padding: 15% 0% 5% 0%;
    height: 100%;
  }

  .img-dx-1-hero {
    position: absolute;
    z-index: 1;
    right: 3%;
    top: 15%;
    width: 200px;
    height: auto;
  }

  .img-dx-2-hero {
    position: absolute;
    z-index: 0;
    right: -6%;
    top: 42%;
    width: 200px;
    height: auto;
  }

  .img-sx-1-hero {
    position: absolute;
    z-index: 0;
    left: -10%;
    bottom: 0%;
    width: 380px;
    height: auto;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1150px) and (min-height: 600px) and (max-height: 900px) {
  .hero-section {
    padding: 10% 0% 5% 0%;
    height: 100%;
  }

  .img-dx-1-hero {
    position: absolute;
    z-index: 1;
    right: -5%;
    top: 3%;
    width: 200px;
    height: auto;
  }

  .img-dx-2-hero {
    position: absolute;
    z-index: 0;
    left: -6%;
    top: 42%;
    width: 200px;
    height: auto;
  }

  .img-sx-1-hero {
    position: absolute;
    z-index: 0;
    left: -10%;
    bottom: 0%;
    width: 380px;
    height: auto;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8% 0% 3% 0%;
    overflow-x: hidden;
  }
}

@media (max-width: 820px) {
  .hero-section {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10% 0% 3% 0%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 100%;
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 20% 0% 3% 0%;
    overflow-x: hidden;
  }
}
@media (max-width: 380px) {
  .hero-section {
    height: 100%;
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 25% 0% 3% 0%;
    overflow-x: hidden;
  }
}

.subtitle-hero {
  font-weight: 600;
  background-color: var(--medium-brown);
  padding: 0 2% 0 0;
}

.text-hero {
  max-width: 580px;
}

.title-coursive {
  position: relative;
  display: inline-block;
  padding-bottom: 0px;
}

.underline-hero {
  position: absolute;
  bottom: -0px;
  right: 3%;
  width: 70%;
  height: auto;
  pointer-events: none;
}

/* ========================================
   =============== SECTION 1 ================
   ======================================== */
.section-1 {
  padding: 5% 0% 0% 0%;
  min-height: 600px;
  overflow: hidden;
}

.col-sx-section-1 {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.images-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin-left: auto;
}

.img-background {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: right center;
}

.img-overlay {
  position: absolute;
  top: 10%;
  right: 50%;
  width: 80%;
  height: auto;
  z-index: 2;
}

.img-certificated {
  position: absolute;
  bottom: 10%;
  right: 35%;
  z-index: 2;
  width: 150px;
  height: auto;

  transform: rotate(10deg);
}

.box-section-2 {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 1rem;
}

.title-section-2 {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.underline-section-1 {
  position: absolute;
  bottom: -5px;
  right: 30%;
  width: 70%;
  height: auto;
  pointer-events: none;
}

@media only screen and (max-width: 991px) {
  .col-sx-section-1 {
    justify-content: center;
  }

  .images-container {
    margin-left: 0;
    margin: 0 auto;
  }

  .img-background {
    object-position: center center;
  }

  .box-section-2 {
    text-align: center;
  }
}

@media only screen and (min-width: 1260px) and (max-width: 1300px) and (min-height: 600px) and (max-height: 1040px) {
  .img-overlay {
    position: absolute;
    top: 10%;
    right: 45%;
    width: 80%;
    height: auto;
    z-index: 2;
  }

  .img-certificated {
    position: absolute;
    bottom: 10%;
    right: 35%;
    z-index: 2;
    width: 150px;
    height: auto;

    transform: rotate(10deg);
  }
}

@media (max-width: 1024px) {
  .underline-section-1 {
    position: absolute;
    bottom: -5px;
    right: 10%;
    width: 80%;
    height: auto;
    pointer-events: none;
  }

  .img-certificated {
    position: absolute;
    bottom: 3%;
    right: 65%;
    width: 150px;
    z-index: 2;

    height: auto;

    transform: rotate(10deg);
  }
}

@media (max-width: 820px) {
  .underline-section-1 {
    position: absolute;
    bottom: -5px;
    right: 15%;
    width: 70%;
    height: auto;
    pointer-events: none;
  }

  .img-certificated {
    position: absolute;
    bottom: -5%;
    right: 70%;
    width: 200px;
    z-index: 2;
    height: auto;

    transform: rotate(10deg);
  }
}

@media (max-width: 540px) {
  .images-container {
    max-width: 80%;
  }

  .img-background {
    width: 100%;
  }

  .underline-section-1 {
    position: absolute;
    bottom: -5px;
    right: 10%;
    width: 80%;
    height: auto;
    pointer-events: none;
  }

  .img-certificated {
    position: absolute;
    bottom: -5%;
    right: 67%;
    width: 120px;
    z-index: 2;
    height: auto;

    transform: rotate(10deg);
  }
}

/* ========================================
   =============== BANNER ================
   ======================================== */
.banner {
  height: 45px;
  background-color: var(--text-color-blue);
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.banner-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  will-change: transform;
  height: 100%;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 4rem; /* Spazio TRA i blocchi */
  padding: 0 2rem;
  flex-shrink: 0;
  height: 100%;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Spazio tra img e p DENTRO il blocco */
  height: 100%;
}

.text-banner {
  color: var(--text-color-white);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}

.img-logo-banner {
  width: 38px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.banner:hover .banner-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .banner-track {
    animation: scroll 20s linear infinite;
  }

  .banner-content {
    gap: 3rem;
    padding: 0 1.5rem;
  }

  .banner-item {
    gap: 0.4rem;
  }
}

/* ========================================
   =============== SECTION 3 ================
   ======================================== */
.section-3 {
  height: 100%;
  padding: 5% 0 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-3 h2 {
  max-width: 800px;
}

.section-3 p {
  max-width: 600px;
}

.section-3 h3 {
  max-width: 600px;
}

.title-coursive-1 {
  font-family: var(--font-title-cursive);
  position: relative;
  display: inline-block;
  padding-bottom: 0px;
}

.underline-section-3 {
  position: absolute;
  bottom: -5px;
  right: 0%;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.icona-sole {
  position: absolute;
  left: 10%;
  top: 30%;
  width: 100px;
  height: auto;
}

.icona-limone {
  position: absolute;
  right: 10%;
  top: 60%;
  width: 100px;
  height: auto;
}

.box-cards {
  height: 450px;
  width: 550px;
  display: flex;
  flex-direction: row;
  padding: 1%;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.card-1 {
  height: 370px;
  width: 250px;
  background-color: white;
  padding: 1.5%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: flex-start;
}

.card-1 p {
  font-size: var(--16px);
}

.card-2 {
  height: 370px;
  width: 250px;
  background-color: white;
  padding: 1%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: flex-end;
}

.card-2 p {
  font-size: var(--16px);
}

.polaroid {
  height: 280px;
  width: 100%;
}

@media (max-width: 1024px) {
  .icona-sole {
    position: absolute;
    left: 4%;
    top: 15%;
    width: 90px;
    height: auto;
  }

  .icona-limone {
    position: absolute;
    right: 4%;
    top: 60%;
    width: 90px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .icona-sole {
    position: absolute;
    left: 2%;
    top: 15%;
    width: 90px;
    height: auto;
  }

  .icona-limone {
    position: absolute;
    right: 2%;
    top: 60%;
    width: 90px;
    height: auto;
  }
}

@media (max-width: 540px) {
  .section-3 {
    padding: 20% 0 10% 0;
  }

  .box-cards {
    height: auto;
    width: 100%;
    max-width: 350px;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 5%;
  }

  .card-1,
  .card-2 {
    height: auto;
    width: 100%;
    max-width: 300px;
    align-self: center;
  }

  .polaroid {
    height: auto;
    width: 100%;
  }

  .icona-sole {
    display: none;
  }

  .icona-limone {
    position: absolute;
    right: 2%;
    top: 95%;
    width: 80px;
    height: auto;
  }
}

/* ========================================
   =============== SECTION 4 ================
   ======================================== */
.section-4 {
  background-color: var(--medium-brown);
  padding: 5% 0 3% 0;
}

@media (max-width: 480px) {
  .section-4 {
    background-color: var(--medium-brown);
    padding: 15% 0 10% 0;
  }
}

.title-coursive-section-4 {
  display: block;
  font-size: 38px;
  color: var(--text-color-blue);
  font-family: var(--font-title-cursive);
  line-height: 1;
}

@media (max-width: 820px) {
  .title-coursive-section-4 {
    font-size: var(--30px);
  }
}

@media (max-width: 420px) {
  .title-coursive-section-4 {
    font-size: var(--25px);
  }
}

.boxes-card-section-4 {
  margin-top: 3rem;
  padding: 0 1rem;
}

.box-card-section-4 {
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: 24px;
  max-width: 450px;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  text-align: center;
}

.title-card-section-4 {
  background-color: var(--medium-brown);
  max-width: max-content;
  padding: 0 2% 0 0;
  font-weight: 800;
}

.subtitle-card-section-4 {
  font-weight: 500;
}

.text-card-section-4 {
  font-weight: 300;
}

@media (max-width: 1024px) {
  .boxes-card-section-4 {
    margin-top: 3rem;
    gap: 1.5rem !important;
  }

  .box-card-section-4 {
    max-width: 100%;
    padding: 1.5rem;
    height: auto;
  }
}

@media (max-width: 480px) {
  .boxes-card-section-4 {
    margin-top: 2rem;
    gap: 1rem !important;
  }

  .box-card-section-4 {
    padding: 1.25rem;
  }
}

/* ========================================
   =============== SECTION 5 ================
   ======================================== */
.section-5 {
  padding: 10% 0 5% 0;
}

@media (max-width: 480px) {
  .section-5 {
    padding: 15% 0 5% 0;
  }
}

.img-section-4 {
  height: 600px;
  width: auto;
}

.icona-foglia {
  bottom: -10%;
  right: 15%;
  height: 140px;
  width: auto;
}

.boxes-section-4 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.subtitle-section-5 {
  background-color: var(--medium-brown);
  max-width: max-content;
  padding: 0 2% 0 0;
  font-weight: 600;
}

.text-card-section-5 {
  font-weight: 500;
}

.link-section-4 {
  color: var(--red-color);
}

.form-section-6 {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 440px;
}

.input-email-section-6 {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--red-color);
  background-color: transparent;
  color: var(--text-color-brown);
  font-size: var(--16px);
  font-family: var(--font-text);
  outline: none;
}

.input-email-section-6::placeholder {
  color: var(--text-color-brown);
  opacity: 0.7;
  font-style: italic;
}

.input-email-section-6:focus {
  border-color: var(--text-color-white);
}

.button-form-section-6 {
  flex-shrink: 0;
  border: 1px solid transparent;
}

@media (max-width: 1024px) {
  .form-section-6 {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .form-section-6 {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .form-section-6 {
    flex-direction: column;
    gap: 1rem;
  }

  .button-form-section-6 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .input-email-section-6 {
    font-size: var(--16px);
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 912px) {
  /* Spazio tra le due colonne principali */
  .section-5 .row {
    row-gap: 3rem;
  }

  /* Centro solo il blocco immagine */
  .section-5 .col-auto:first-child {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Ridimensiono e centro l'immagine */
  .img-section-4 {
    height: auto;
    width: clamp(320px, 70vw, 460px);
    max-width: 100%;
  }

  /* Adatto l'icona foglia alla nuova scala */
  .icona-foglia {
    height: 120px;
    right: 15%;
    bottom: -8%;
  }
}

@media (max-width: 768px) {
  .icona-foglia {
    height: 120px;
    right: 13%;
    bottom: -8%;
  }
}

@media (max-width: 540px) {
  .icona-foglia {
    height: 100px;
    right: 10%;
    bottom: -8%;
  }
}

@media (max-width: 480px) {
  .icona-foglia {
    height: 100px;
    right: 6%;
    bottom: -9%;
  }
}

@media (max-width: 390px) {
  .icona-foglia {
    height: 100px;
    right: 4%;
    bottom: -9%;
  }
}

/* ========================================
   =============== FOOTER ================
   ======================================== */

footer {
  position: relative;
  background-color: var(--red-color);
  padding-bottom: 2rem;
  overflow-x: hidden;
  margin-top: 3rem;
}

.img-footer-wave {
  position: absolute;
  top: 0%;
  height: 100px;
  width: 150%;
}

.box-footer {
  padding-top: 10rem;
  padding-bottom: 3rem;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.box-footer-1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.title-footer {
  color: var(--body-color) !important;
  max-width: 350px;
}

.coursive-title-footer {
  font-family: var(--font-title-cursive);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-link img {
  width: 22px;
  height: 22px;
}

.box-footer-2 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4rem;
  height: 100%;
}

.box-pagine-1,
.box-pagine-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-footer {
  color: var(--body-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.link-footer:hover {
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 2rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--body-color);
  margin: 2rem 0 1.5rem;
}

.footer-credits {
  text-align: center;
  color: var(--body-color);
  font-size: 0.95rem;
  font-style: italic;
  margin: 0;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .box-footer {
    padding-top: 8rem;
  }

  .box-footer-1 {
    margin-bottom: 3rem;
  }

  .box-footer-2 {
    justify-content: flex-start;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  footer {
    margin-top: 3rem;
  }

  .box-footer {
    padding-top: 6rem;
  }

  .img-footer-wave {
    position: absolute;
    top: 0%;
    width: 500px;
    height: auto;
  }

  .box-footer-2 {
    gap: 2rem;
  }

  .social-link img {
    width: 22px;
    height: 22px;
  }
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--body-color);
  padding: 40px 60px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--red-color);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-divider {
  width: 100%;
  height: 1px;
  background-color: var(--dark-brown);
  margin: 20px 0;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 40px;
    width: 85%;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    font-size: 28px;
  }
}
