* {
  box-sizing: border-box;
}

.header {
  background-image: url(mobile-header-bg.png);
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
}

.container-header {
  padding: 14px;
}

.header-text {
  margin-top: 20px; 
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: white;
  -webkit-text-stroke: 1px #39647f;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
}

.header-text-span {
  font-size: 30px;
  font-weight: 700;
  color: red;
  -webkit-text-stroke: 1px white;
}

.cta {
  background-color: #c13536;
  padding: 15px 60px 15px 60px;
  font-size: 26px;
  font-weight: bold;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
}

.cta:hover {
  background-color: red;
}

.header-stamp {
  padding-left: 10%;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 2px solid #477998;
}

.burger-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.burger-btn {
  background-color: #c13536;
  border: 2px solid white;
  border-radius: 5px;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  z-index: 1001;
  position: relative;
}

.burger-btn span {
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(0px, 0px);
  width: 30px;
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  width: 30px;
}

.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding-top: 80px;
  overflow-y: auto;
}

.nav-links.active {
  right: 0;
}

.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2rem;
}

.nav-links li {
  margin: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  font-size: 18px;
  color: #333;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c13536;
}

/* Overlay when menu is open */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.nav-overlay.active {
  display: block;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  color: #477998;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
}

.solution-text-box {
  background-color: #477998;
  color: white;
  border-radius: 20px;
  padding: 20px 20px 5px 20px;
  margin-top: 40px;
  font-size: 26px;
}

#about-sachiko {
  background-color: #e2e2e2;
  margin-bottom: 40px;
}

.red-text {
  color: #c13536;
}

.blue-text {
  color: #477998;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
  font-size: 30px;
}

.blue-cell {
  background-color: #477998;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.capsule-text {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: white;
  padding: 15px 15px 10px 30px;
  font-size: 32px;
}

.about-sachiko-icon {
  width: 50px;
  height: 50px;
}

#cleaning-industry {
  border-radius: 40px;
  background-image: url(section-cleaning-bg.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 500px; /* Adjust as needed to ensure enough scrolling space */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Adjust text color for readability */
}

.cleaning-industry-title {
  color: white;
  margin-top: 20px;
}

.cleaning-industry-subtitle {
  color: white;
  font-size: 30px;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
}

.cleaning-industry-text-box {
  background-color: white;
  border-radius: 40px;
  padding: 80px 30px 30px 30px;
  height: 250px;
}

.icons-cleaning-section {
  position: absolute;
  top: -50px;
  left: 40%;
}

.service-steps {
  background-image: url(service-steps-section-bg-mobile.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.stamp-service-section {
  position: absolute;
  top: 1330px;
  left: 27%;
}

#testimonials {
  margin-top: 270px;
}

.testimonials-card {
  background-image: url(testimonial-bg.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
}

.testimonials-card-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
  margin-top: 125px;
}

.fa-solid {
  color: #ffd700;
  font-size: 20px;
}

.fa-regular {
  color: #ffd700;
  font-size: 20px;
}

.rating {
  padding-left: 100px;
  padding-top: 5px;
}

.testimonials-card-text {
  margin-left: 85px;
  font-size: 18px;
}

.testimonials-user-card {
  background-image: url(testimonial-user-bg.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
}

.testimonials-user-card-text {
  margin-left: 85px;
  color: red;
  font-size: 18px;
}

footer {
  background-color: #c4d6b0;
  color: #477998;
  padding-bottom: 40px;
}

footer ul {
  list-style: none;
}

footer a {
  font-size: 16px;
  color: #477998;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: #c13536;
}

.sns img {
  width: 50px;
}

.copyright {
  font-size: 12px;
  color: #477998;
  font-family: "UD Digi Kyokasho NP-B", sans-serif;
  font-weight: bold;
}

hr {
  background-color: white;
  height: 2px;
  border: none;
  opacity: 1;
}

.margin-top-mobile {
  margin-top: 100px;
}

.padding-bottom-mobile {
  padding-bottom: 50px;
}

.testimonials-card-logo {
  width: 100px;
  padding-top: 70px;
}

.padding-top-desktop {
  padding-top: 0px;
}

@media (min-width: 576px) {

  .padding-top-desktop {
    padding-top: 0px;
  }

  .testimonials-user-card-text {
    margin-left: 135px;
    color: red;
    font-size: 26px;
  }

  .testimonials-card-text {
    margin-left: 130px;
    font-size: 26px;
  }

  .fa-solid {
    color: #ffd700;
    font-size: 26px;
  }

  .fa-regular {
    color: #ffd700;
    font-size: 26px;
  }

  .rating {
    padding-left: 140px;
    padding-top: 30px;
  }

  .testimonials-card-logo {
    width: 80%;
    padding-top: 0px;
  }

  .testimonials-card-name {
    font-size: 26px;
    font-weight: 700;
    color: white;
    font-family: "UD Digi Kyokasho NP-B", sans-serif;
    font-weight: bold;
    margin-top: 100px;
  }

  .testimonials-user-card-text {
    margin-left: 135px;
    color: red;
  }
}

@media (min-width: 992px) {

  .padding-top-desktop {
    padding-top: 280px;
  }
  footer {
    padding-bottom: 0px;
  }

  .testimonials-user-card-text {
    margin-left: 135px;
    color: red;
    font-size: 24px;
  }

  .testimonials-card-text {
    margin-left: 130px;
    font-size: 24px;
  }

  .fa-solid {
    color: #ffd700;
    font-size: 30px;
  }

  .fa-regular {
    color: #ffd700;
    font-size: 30px;
  }

  .rating {
    padding-left: 140px;
    padding-top: 30px;
  }

  .testimonials-card-logo {
    width: 80%;
    padding-top: 60px;
  }

  .testimonials-card-name {
    font-size: 20px;
    margin-top: 110px;
  }

  #testimonials {
    margin-top: 200px;
  }

  .service-steps {
    background-image: url(service-steps-section-bg-desktop.png);
  }

  .stamp-service-section {
    position: absolute;
    top: 350px;
    left: 42%;
  }

  .padding-bottom-mobile {
    padding-bottom: 0px;
  }

  .margin-top-mobile {
    margin-top: 0px;
  }

  .cleaning-industry-title {
    color: white;
    margin-top: 0px;
  }

  .margin-top {
    margin-top: 100px;
  }

  .header {
    background-image: url(header-bg-ipad.png);
  }

  .header-text-span {
    font-size: 50px;
    -webkit-text-stroke: 2px white;
  }

  .container-header {
    padding: 10px 50px 0px 50px;
  }

  .container-header .row .col-md-4 {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 80px);
  }

  .header-text {
    text-align: left;
    font-size: 50px;
    -webkit-text-stroke: 2px #39647f;
    margin-top: 0px;
  }

  .burger-menu {
    display: none;
  }

  /* Hide nav overlay and restore normal navigation at 992px */
  .nav-overlay {
    display: none !important;
  }

  /* Restore normal navigation */
  .nav-links {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    padding-top: 0;
    overflow: visible;
    right: auto;
  }

  .nav-links ul {
    flex-direction: row;
    padding: 0;
    gap: 1rem;
  }

  .nav-links li {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-links a {
    font-size: 16px;
    padding: 0.5rem 1rem;
    color: #477998;
    font-family: "UD Digi Kyokasho NP-B", sans-serif;
    font-weight: bold;
  }

  .nav-links a:hover {
    color: #c13536;
  }
}


@media (min-width: 1200px) {

  .testimonials-card-text {
    margin-left: 130px;
    font-size: 30px;
  }

  .testimonials-card-name {
    font-size: 26px;
    font-weight: 700;
    color: white;
    font-family: "UD Digi Kyokasho NP-B", sans-serif;
    font-weight: bold;
    margin-top: 80px;
  }

  .testimonials-user-card-text {
    margin-left: 125px;
    color: red;
    font-size: 26px;
  }

  .testimonials-card-logo {
    width: 80%;
    padding-top: 0px;
  }

  .header {
    background-image: url(desktop-bg.png);
  }

}
