@font-face {
  font-family: 'HelveticaNeueRoman';
  src: url(../Assets/fonts/HelveticaNeueRoman.otf) format('otf'),
       url(../Assets/fonts/HelveticaNeueRoman.svg#HelveticaNeueRoman) format('svg'),
       url(../Assets/fonts/HelveticaNeueRoman.ttf) format('truetype'),
       url(../Assets/fonts/HelveticaNeueRoman.woff) format('woff'),
       url(../Assets/fonts/HelveticaNeueRoman.woff2) format('woff2');
}

@font-face {
  font-family: 'HelveticaNeue-MediumCond';
  src: url(../Assets/fonts/HelveticaNeue-MediumCond.otf) format('otf'),
       url(../Assets/fonts/HelveticaNeue-MediumCond.svg#HelveticaNeue-MediumCond) format('svg'),
       url(../Assets/fonts/HelveticaNeue-MediumCond.ttf) format('truetype'),
       url(../Assets/fonts/HelveticaNeue-MediumCond.woff) format('woff'),
       url(../Assets/fonts/HelveticaNeue-MediumCond.woff2) format('woff2');
}

@font-face {
  font-family: 'HelveticaNeueCondensedBold';
  src: url(../Assets/fonts/HelveticaNeueCondensedBold.otf) format('otf'),
       url(../Assets/fonts/HelveticaNeueCondensedBold.svg#HelveticaNeueCondensedBold) format('svg'),
       url(../Assets/fonts/HelveticaNeueCondensedBold.ttf) format('truetype'),
       url(../Assets/fonts/HelveticaNeueCondensedBold.woff) format('woff'),
       url(../Assets/fonts/HelveticaNeueCondensedBold.woff2) format('woff2');
}

@font-face {
  font-family: 'HelveticaNeueCondensedBlack';
  src: url(../Assets/fonts/HelveticaNeueCondensedBlack.otf) format('otf'),
       url(../Assets/fonts/HelveticaNeueCondensedBlack.svg#HelveticaNeueCondensedBlack) format('svg'),
       url(../Assets/fonts/HelveticaNeueCondensedBlack.ttf) format('truetype'),
       url(../Assets/fonts/HelveticaNeueCondensedBlack.woff) format('woff'),
       url(../Assets/fonts/HelveticaNeueCondensedBlack.woff2) format('woff2');
}
@font-face {
  font-family: 'HelveticaNeue-Condensed';
  src: url(../Assets/fonts/HelveticaNeue-Condensed.ttf) format('truetype'),
       url(../Assets/fonts/HelveticaNeue-Condensed.woff) format('woff'),
       url(../Assets/fonts/HelveticaNeue-Condensed.woff2) format('woff2');
}



*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}
body{
  background-color: white;
}

h2{
  font-family: 'HelveticaNeueCondensedBold';
  font-size: clamp(2.375rem, 0.6418rem + 3.6061vw, 4rem);
  font-weight: normal;
  color: #003790;
  line-height: 1;
}


/* Header Styling */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 133px 5%;
  display: flex;
  align-items: baseline;
  justify-content: center; 
  background: transparent; 
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  max-width: 1200px;
}

.header-logo img {
  max-width: 100px;
}

/* Navigation Styling */
.nav {
  position: relative;
  left: 160px;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 40px;
}
.nav-list{
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'acumin pro', sans-serif;
}
/* Primary Navigation Menu */
.primary-nav {
  gap: 20px; 
}

.primary-nav a {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 400;
  color: white;
  transition: color 0.3s ease;
}

.primary-nav a:hover {
  color: #20F8DC; 
}

/* Language Navigation */
.language-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  left: 60px;
}

.language-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
}
.active{
  color: pink;
}
.language-nav a.active, .mobile-menu .language-nav a.active{
  color: #20F8DC
}
.language-nav a:hover {
  color: #20F8DC;
}
.language-nav span{
  color: rgb(47, 255, 189)
}

/* Hamburger Menu */
/* Hamburger Menu Styling */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  position: fixed;
  right: 20px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #003790;
  transition: transform 0.3s ease;
}
.menu-logo{
  max-width: 80px;
  position: absolute;
  top: 40px;
  left: 40px;
  cursor: pointer;
}
/* Desktop Language Navigation */
.language-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  left: 60px;
}

.language-nav a {
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
}

.language-nav a:hover {
  color: #20F8DC;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #0f3168;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: right 0.3s ease;
  z-index: 100;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 60px;
  right: 40px;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  font-family: "acumin-pro", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-list li {
  margin: 30px 0;
}

.mobile-menu-list li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.mobile-menu-list li a:hover {
  color: #20F8DC;
}

/* Mobile Language Navigation */
.mobile-menu .language-nav {
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.mobile-menu .language-nav a {
  font-size: 1rem;
  text-decoration: none;
  color: white;
}

.mobile-menu .language-nav a:hover {
  color: #20F8DC;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url('../Assets/imgs/FondoHeroNuevo4.jpg') no-repeat center center/cover;
  background-position: center center; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  color: white;
  z-index: 1;
  margin-bottom: 85px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, #004E9D, #02D8FF);
  opacity: 0.7;
  z-index: -1;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 100px;
  
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-family: 'acumin pro', sans-serif;
  font-size: clamp(3.375rem, -1.4104rem + 9.9567vw, 4.8125rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
} 
.japan-hero-text h1{
  font-family: 'acumin pro', sans-serif;
  font-size: clamp(3rem, -2.6198rem + 10.0917vw, 3.6875rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text button {
  background:transparent;
  border: 2px solid #20F8DC;
  padding: 10px 20px;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 65px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-text button:hover {
  background-color: #20F8DC;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-4px);
}
.hero-text button:active {
  transform: translateY(-1px);
}


.hero-logo img {
  width: 100%;
  max-width: 282px;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #003790;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0; /* Initially invisible */
  transform: translateY(100px); /* Start position (hidden off-screen) */
  z-index: 1000; /* Ensure it appears above other elements */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth animation */
}

.back-to-top.show {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Slide up into view */
}

.back-to-top.hide {
  opacity: 0; /* Fade out */
  transform: translateY(100px); /* Slide down out of view */
}


/* About Section Styling */
.about {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.9375rem, -3.6621rem + 9.57vw, 5.25rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px 20px 0 20px;
}

.about-image {
  flex: 1; 
  position: relative;
  max-width: 340px;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-texto {
  flex: 1; 
  font-family: 'HelveticaNeueCondensedBold', sans-serif;
  color: #003790;
  max-width: 630px;
}

.about-texto h2 {
  font-size: clamp(2.375rem, 0.6418rem + 3.6061vw, 4rem);
  line-height: 1;
  margin-bottom: 20px;
}

.about-texto h2 span {
  font-size: clamp(1.75rem, 0.6834rem + 2.2191vw, 2.75rem);
}

.about-texto p {
  font-family: 'HelveticaNeueRoman', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #00326b;
  margin-top: 10px;
}



/* Services section Styling */
.services{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.services-title{
  position: relative;
  top: 10px;
  z-index: 9;
  background-color: white;
  padding: 0 15px;
  padding-top: 80px;
}


.carousel {
  position: relative;
  width: 100%;
  max-width: 1394px; 
  padding: 25px 0; 
  margin: 0 auto; 
  overflow: hidden;
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    width: 100%; 
    height: 0; 
    left: 0;
    border: none;
    border-image-source: linear-gradient(to right, #20F8DC, #046FBE, #20F8DC);
    border-image-slice: 1; /* Ensures the gradient spans the border */
}

.carousel::before {
    top: 0; 
    width: 90%; 
    left: 5%; /* Centered */
    border-top: 3px solid transparent;  
}

.carousel::after {
    bottom: 0; 
    width: 60%; 
    left: 20%; /* Centered for 60% width */
    border-bottom: 3px solid transparent; 
}

.carousel__track-container {
  overflow: hidden; /* Hide overflowing slides */
  position: relative;
}

.carousel__track {
  display: flex;
    transition: transform 0.3s ease-out; /* Smooth snapping */
    touch-action: pan-x; /* Restrict touch gestures to horizontal swiping */
    will-change: transform; /* Optimize animations */
    gap: 10px; /* Adjust the gap between slides if necessary */
    list-style: none;
}

.carousel__slide {
  flex: 0 0 calc(100% / var(--slides-per-view)); /* Dynamic width based on visible slides */
  max-width: calc(100% / var(--slides-per-view)); /* Prevent slides from exceeding container width */
  box-sizing: border-box; /* Maintain consistent spacing */
}

.carousel__slide img {
  width: 100%; /* Ensure the image fills the slide */
  height: auto; /* Maintain aspect ratio */
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px; /* Fixed button width */
  height: auto; /* Maintain aspect ratio */
  background: rgba(0, 0, 0, 0);
  border: none;
  color: white;
  cursor: pointer;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel__button--left {
  left: 0;
}

.carousel__button--right {
  right: 0;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel__indicator {
  width: 10px;
  height: 10px;
  background: rgba(4, 111, 190, 0.5);
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  cursor: pointer;
}

.carousel__indicator.active {
  background: rgba(4, 111, 190, 1);
}

.services-icons{
  display: flex;
  flex-direction: column;
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1500px;
}

.services-list{
  list-style: none;
  gap: 100px 9.375rem;
}

.services-list__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2.1875rem;
}

.services-list__item img {
  width: clamp(5.5rem, 0.9031rem + 5.7416vw, 6.25rem);
  max-width: 100px; /* Uniform maximum width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Prevent distortion */
}
[lang="ja"] .services-list__item p {
  font-family: "HelveticaNeueCondensedBold", "sans-serif";
  font-size: 1.4rem;
  color:#003790;
}

.services-list__item p {
  font-family: "HelveticaNeue-MediumCond", "sans-serif";
  font-size: 1.4rem;
  color:#003790;
}

.limpieza-list__item p span {
  font-size: 1.375rem;
}

.limpieza-list, .mantenimiento-list, .basura-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 50px 0;
}

.limpieza-list__item, .mantenimiento-list__item, .basura-list__item{
  width: 100%;
}

.limpieza-list::after, .mantenimiento-list::after {
  content: '';
  position: absolute;
  width: 20%; 
  height: 0; 
  left: 0;
  border-bottom: 3px solid transparent; 
  border-image-source: linear-gradient(to right, #20F8DC, #046FBE, #20F8DC);
  border-image-slice: 1; /* Ensures the gradient spans the border */
  bottom: 0; 
  left: 40%; /* Centered for 60% width */
  
}

.compromiso-container{
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap:  7.5rem;
  padding-top: 25px;
}

.compromiso-texto::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: none;
  border-left: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-image: linear-gradient(to top right,#046FBE, #20F8DC, #046FBE) 1;
}

.compromiso-texto{
  position: relative;
  bottom: 0;
  left: 0;
  max-width: 400px;
  color: #003790;
  /* padding:25px */
}
.compromiso-texto h2{
  margin-bottom: 15px;
}

.compromiso-texto p{
  font-family: 'HelveticaNeueRoman', 'sans-serif';
  font-size: 17px;
  line-height: 1.2;
  font-weight: normal;
  width: 100%;
}

.basura-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.basura-list__item{
  width: 100%;
}

.clients{
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 50px 40px;
  margin-top: 100px;
}

.clients-container{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

.clients-container h2{
  align-self: center;
  margin-bottom: 43px;
  padding-top: 45px;
  padding-bottom: 10px;
}
.clients-title {
  background: none;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to left, #046FBE, #20F8DC, #046FBE) 1;
  padding: 0 25px;
}

.client-logos {
  list-style: none; 
  padding: 0; 
  margin: 0; 
  width: 100%;
  display: grid;
  gap: 50px 10px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
}

.client-logos li {
  width: 100%;
  max-width: 120px;
}

.client-logos img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}

.valores-container{
  position: relative;
  padding-right: 40px;
  justify-self: end;
}
.valores-list{
  position:relative;
}

.valores-list-item img{
  max-width: 36px;
}
.valores-list::after {
  content: '';
  position: absolute;
  bottom: -25px;
  right: -25px;
  /* Adjust position to the lower-right corner */
  width: 130px;
  height: 200px;
  background: none;
  border-right: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-image: linear-gradient(to top left, #046FBE, #20F8DC, #046FBE) 1;
  }
.valores-container h2{
  font-size: 50px;
  margin-bottom: 25px;
}
.valores-list li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.valores-list li p{
  font-family: 'HelveticaNeueRoman', 'sans-serif';
  font-size: 20px;
  line-height: 1.2;
  font-weight: normal;;
}
.contact{
  background: linear-gradient(135deg, #035c9d 40%, #20F8DC);
  width: 100%;
  height: 100%;
  padding: 50px 0;
}
.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
  gap: 60px;
}
.contact-logo-top{
  display: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  gap: 20px;
}

.contact-info img {
  max-width: 240px
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.contact-info div img {
  width: 30px; 
  height: auto;
}

.contact-info p {
  font-family: 'HelveticaNeue-Condensed','sans-serif';
  margin: 0;
  font-size: 19px;
  color: white;
  letter-spacing: 1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 600px;
  width: 100%;
}

.contact-form h2 {
  color: #fff;
  font-size: 50px;
}
.contact-form p{
  font-family: 'HelveticaNeueRoman', 'sans-serif';
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
  color: white;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  justify-content: center;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #fff;
  padding: 15px;
  font-family: 'HelveticaNeueRoman', 'sans-serif';
  font-size: 14px;
  color: #035c9d;
  background-color: #fff;
  border-radius: 0  ;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #035c9d; /* Blue placeholder text */
}

.contact-form textarea {
  grid-column: span 2;
  height: 200px;
  resize: none;
}

.g-recaptcha{
  width: 100%;
  height: auto;
}

 .recaptcha-submit-container button {
  background-color: #035c9d;
  color: #fff;
  border: none;
  padding: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border-radius: 0; /* No rounded corners */
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background-color: #109bff;
}
.recaptcha-submit-container{
  display: flex;
  justify-content: space-between;
  gap: 15px;
  grid-column: span 2;
}

.contact-phone-email{
 text-decoration: none;
 color: white;
}



/* Responsive styles for medium screens */
@media screen and (max-width: 1690px) {
  .nav {
    position:initial;
    left: 0;
}
  
}
@media screen and (max-width: 1490px) {
  h2{
    font-size: 60px;
  }
  .language-nav {
    position: initial;
    left: 0;
  }
  .carousel {
      max-width: 1120px; /* Adjust carousel width for medium screens */
  }
  .services-list{
    gap: 90px 3.2rem;
  }
  .services-list__item{
    gap:15px
  }
  .services-list__item img{
    max-width: 85px;
  }
  [lang='ja'] .services-list__item p{
    font-size: 1.3rem;
  }
  .services-list__item p{
    font-size: 1.3rem;
  }
  .limpieza-list__item p span{
    font-size: 1.1rem;
  }
  .compromiso-container{
    gap: 4.6rem
  }
  .compromiso-texto{
    max-width: 320px;
  }
  .basura-list{
    gap: 6.8rem;
  }
  .clients{
    max-width: 1200px;
    padding: 50px 0;
  }
  .client-logos li {
    max-width: 100px;
  }
  .valores-container h2 {
    font-size: 44px;
  }
  .valores-list li p {
    font-size: 18px;
  }
  
  
}

@media screen and (max-width: 1280px) {
  .hero {
    background-position: -600px center; 
  }
  .carousel {
    max-width: 980px;
}

[lang='ja'] .services-list__item p{
  font-size: 1.05rem;
}
  .services-list__item p {
    font-size: 1.05rem;
  }

  .services-list__item img {
    max-width: 80px;
  }

  .compromiso-texto {
    max-width: 280px;
  }

  h2 {
    font-size: 50px;
  }

  .compromiso-container {
    gap: 4rem;
  }
  .clients {
    max-width: 1000px;
  }
  .valores-container h2 {
    font-size: 34px;
  }
  .valores-list-item img{
    max-width: 30px;
  }

}

@media screen and (max-width: 1080px) {

  .carousel {
    max-width: 900px;
  }
  
  .compromiso-texto {
    max-width: 100%;
    flex-basis: 28%;
  }

  .compromiso-texto p{
    font-size: 15px;
    
  }

  h2 {
    font-size: 40px;
  }
  .services-list {
    gap: 90px 2.2rem;
}
  .services-list__item img {
    max-width: 70px;
  }
  .compromiso-container {
    gap: 3.7rem;
  } 
  .services-icons {
    max-width: 980px;
}
  .basura-list {
   padding: 20px 0;
   gap: 5rem;
  }
  .clients {
    max-width: 920px;
    padding: 10px 0 80px 0;
  }
  .client-logos li {
    max-width: 90px;
}
  .valores-list li p {
    font-size: 16px;
}

   
}
@media screen and (min-width: 891px) {
  :root {
      --slides-per-view: 4; /* 4 slides visible */
  }

  .carousel__button {
      display: flex; /* Show buttons for larger screens */
  }
}

@media screen and (max-width: 890px) {
  .back-to-top {
    display: none; /* Hide for smaller screens */
}
  :root {
    --slides-per-view: 2; /* 2 slides visible */
}
  .hamburger {
    display: flex;
}

.nav {
    display: none;
}


  h2 {
      font-size: 50px;
    }
  
    header {
      padding: 20px 5%;
    }
  
    .header-container {
      align-items: center;
    }
  
    .hero-content {
      padding-top: 0;
    }
  
    .hero {
      background-position: right top;
      /* Further shift the image */
      /* height: calc(100vw * 1.8); */
    }
  
    .nav {
      display: none;
    }
  
    .hamburger {
      display: flex;
    }
    .mobile-lists-container{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-family: 'acumin pro', sans-serif;
      gap: 45px;
      padding-top: 30px;
    }
  
    .mobile-menu-list{
      flex-direction: column;
      text-align: left;
      order: 2;
    }
    .language-nav{
      order:1;
      list-style: none;
    }
    .hero-content {
      flex-direction: column;
    }
  
    .hero-logo {
      display: none;
      /* Hide logo in hero section */
    }
    
    .hero-text h1 {
      font-size: 4rem;
    }
    
    .japan-hero-text h1{
      font-size: 59px;
    }
    .hero-text button {
      font-size: 0.9rem;
      padding: 8px 15px;
    }
  
    .about {
      flex-direction: column;
      /* Stack image and text */
      align-items: center;
      gap: 20px;
      padding: 0;
    }
  
    .about-texto {
      padding: 0 20px;
    }
  
    .about-image,
    .about-texto {
      flex: unset;
      width: 100%;
      max-width: 100%;
    }
  
    .about-image img {
      object-fit: cover;
    }
  
    .about-texto h2 {
      font-size: 50px;
      text-align: left;
    }
    
    .services-title {
      padding: 0 5px;
      padding-top: 80px;
      top:0;
    }
    .carousel::before {
        width: 80%;
        left: 10%;
  }
    .carousel {
      max-width: 70%;
    }
  
    .carousel__slide {
      :root {
        --slides-per-view: 2; /* 2 slides visible */
    }
  
    }
  
    .carousel__track {
      display: flex;
      transition: transform 0.3s ease-out; /* Smooth snapping */
      touch-action: pan-x; /* Restrict touch gestures to horizontal swiping */
      will-change: transform; /* Optimize animations */
      gap: 10px; /* Adjust the gap between slides if necessary */
  }
  
    .carousel__button {
      display: none;
      width: 8%;
  
    }
  
    .compromiso-container {
      flex-direction: column;
    }
  
    .compromiso-texto {
      order: 2;
      max-width: 90%;
      align-self: center;
    }
  
    .compromiso-texto::before {
      content: '';
      position: absolute;
      top: -20px;
      left: -20px;
      width: 130px;
      height: 130px;
      background: none;
      border: none;
      border-top: 6px solid transparent;
      border-left: 6px solid transparent;
      border-image: linear-gradient(to bottom right, #046FBE, #20F8DC, #046FBE) 1;
    }
  
    .compromiso-texto::after {
      content: '';
      position: absolute;
      left: auto;
      bottom: -20px;
  
      right: -20px;
  
      width: 130px;
      height: 130px;
      background: none;
      border: none;
      border-bottom: 6px solid transparent;
      border-right: 6px solid transparent;
      border-image: linear-gradient(to top left, #046FBE, #20F8DC, #046FBE) 1;
    }
  
    .basura-list {
      order: 1;
      gap: 90px 2.2rem;
    }
  
    .valores-container h2 {
      font-size: 30px;
    }
    
}


@media screen and (max-width:768px) {
  :root {
    --slides-per-view: 1; /* 1 slide visible */
}
  .header-logo img {
    max-width: 80px;
}


  .carousel__slide {
    flex: 0 0 100%;
    /* Single-slide layout */
    max-width: 100%;
    /* Full width for the slide */
  }

  .carousel__track {
    gap: 10px;
    /* Remove gap for single-slide layout */
  }
  .services-list {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 30px 5px;
  }

  .limpieza-list li:last-child {
    grid-column: span 2;
    justify-self: center;
  }
  .german-services-title h2{
    font-size: clamp(2rem, 0.5335rem + 4.878vw, 2.875rem);
  }
  .services-list__item {
    flex-direction: column;
    align-items: center;
    max-width: 60%;
  }
  [lang='ja'] .services-list__item p{
    font-size: clamp(0.9rem, 0.6143rem + 1.4286vw, 1.3rem);
    text-align: center;
  }

  .services-list__item p {
    font-size: clamp(0.9rem, 0.6143rem + 1.4286vw, 1.3rem);
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(2.5rem, 1.4286rem + 5.3571vw, 4rem);
  }
  .japan-hero-text h1{
    font-size: clamp(1.75rem, 0.3661rem + 6.9196vw, 3.6875rem);
  }

  .about-texto h2 {
    font-size: 46px;
    text-align: left;
  }
  h2{
    font-size: 46px;
  }

  .limpieza-list__item p span {
    font-size: clamp(0.05rem, 0.0366rem + 0.067vw, 0.06875rem);
  }

  .services-list__item img {
    max-width: 75px;
  }

  .services-icons {
    padding: 0 10px;
  }

  .compromiso-container {
    align-items: center;
  }

  .basura-list {
    width: 100%;
  }
  .clients{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:0;
  }
  .clients-container{
    order: 2;
    width: 90%;
    padding-top: 60px;
  }
  .valores-container{
    padding-right: 0;
    width: 40%;
    min-width: 240px;
  }
  .valores-container::before {
    content: '';
    position: absolute;
    top: -20px; /* Start at the top */
    left: -20px; /* Start at the left */
    width: 130px;
    height: 130px;
    background: none;
    border:none;
    border-top: 6px solid transparent; /* Adjust to top-left corner */
    border-left: 6px solid transparent; /* Adjust for diagonal span */
    border-image: linear-gradient(to bottom right, #046FBE, #20F8DC, #046FBE) 1;
  }
  .valores-list::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 130px;
    height: 130px;
    background: none;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-image: linear-gradient(to top left, #046FBE, #20F8DC, #046FBE) 1;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    gap: 60px;
}
.contact-logo-top{
  display:block;
  max-width: 80px;
  align-self: flex-start;
  position: relative;
  bottom: 40px;
}
  .contact-info{
    order: 2;
    flex-direction: row;
    justify-content: space-between;
  }
  .contact-form{
    order:1;
  }
  .contact-info-logo{
    display: none;
  }


}

@media screen and (max-width:480px) {

  h2 {
    font-size: clamp(2rem, 0.25rem + 8.75vw, 2.875rem);
  }
  .german-services-title h2{
    font-size: clamp(1.875rem, 0.375rem + 7.5vw, 2.625rem);
  }

  .about-texto h2 {
    font-size: clamp(2rem, 0.25rem + 8.75vw, 2.875rem);
  }

  .carousel {
    max-width: 90%;
  }

  

  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 10px 15px;
    gap: 15px;
  }
  .contact-info{
    flex-wrap: wrap;
  }

  .contact-info img {
    width: 100%;
    max-width: 40px;
    height: auto;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
   
  }
  .contact-form form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
  .contact-form p{
    font-size: 16px;
  }
  .contact-form textarea {
    grid-column: span 1;
    height: 200px;
    resize: none;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 15px;
  }

  .contact-form h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .recaptcha-submit-container{
    display: flex;
    justify-content: center;
    gap: 15px;
    grid-column: span 1;
  }


}
