.service-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  animation: bgZoom 40s ease-in-out infinite;
  transition: opacity 1s ease-in-out;
  background-color: #222; 
}

.creation-tech-section {
  background-color: #f9f9f9;
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
}

.creation-tech-box {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  z-index: 2;
}

.creation-tech-box::before {
  position: absolute;
  content: '';
  inset: 0;
  background-image: url('/image/装飾.png');
  background-size: 50% auto; 
  background-repeat: no-repeat;
  background-position: bottom right; 
  z-index: -1;
}

.creation-title .symbol {
  color: #111;
  font-weight: bold;
  display: inline-block;
  margin: 0 4px;
}

.creation-description {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  font-weight: 600;
}

.video-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
}

.box-wrapper {
  position: relative;
  width: 100%;
}

.box-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}


.sg-header {
  position: absolute; 
  width: 50%;        
  /* aspect-ratio: 3 / 1.2; */
  top:0;
  left:-3%;
  z-index: 0;
  overflow: hidden;
}

.sg-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.info-box {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-content {
  padding: 3% 3%;
  width: 100%;
  font-size: clamp(14px, 2.5vw, 18px);
  line-height: 1.2;
  color: #222;
  word-break: break-word;
  font-weight: bold;
  text-align: start;
  box-sizing: border-box;
}


.subtitle-frame-wrapper {
  position: absolute;
  top: -13%;
  left: 3%;
  width: 30%;
  max-width: 240px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.subtitle-frame {
  width: 100%;
  height: auto;
}

.subtitle-text {
  position: absolute;
  font-size: 16px;
  font-weight: bolder;
  color: #040404;
  text-align: center;
  /* white-space: nowrap; */
}

.subtitle-spacer {
  height: 20px;
}

@keyframes bgZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.creation-title {
        font-size: 70px;
    }
.service-left-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 100%;
  overflow-wrap: break-word;
}

.service-left-text h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  white-space: normal;
  word-break: break-word;
  margin: 0;
}
.service-right-text {
  text-align: right;
  align-self: flex-end;
  max-width: 100%;
  overflow-wrap: break-word;
}
.service-company-info {
  color: white;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 500;
  text-shadow: 1px 1px 2px black;
  display: inline-block;
  margin-bottom: 0.3rem;
}
.service-heading {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1;
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
}
@media screen and (max-width: 1024px) {

.creation-tech-box {
  padding: 32px;
}

.creation-title {

  font-size: 60px;

}
.creation-description {
  font-size: 16px;
}

.subtitle-frame-wrapper {
    top: -10%;
    left: 3%;
    width: 30%;
    max-width: 240px;
}

.subtitle-text {
  font-size: 16px;
  /* top: -10%; */
  /* left: 3%; */
  /* width: 30%; */
  /* max-width: 240px; */
}

}

@media screen and (max-width: 768px) {
  .service-heading {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .service-left-text {
    max-width: 100%;
  }

  .service-left-text h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .about-right-text {
    text-align: left;
    align-self: flex-start;
  }
   .subtitle-spacer {
    height: 20px;
  }
 .info-content {
    font-size: 15px;
    padding: 11% 4%;
  }

 .creation-tech-box {
    padding: 24px;
  }

  .creation-title {

    font-size: 54px;

  }

  .creation-description {
    font-size: 16px;
  }

   .subtitle-frame-wrapper {
    top: -3%;
    left: 4%;
    width: 100%;
    max-width: 210px;
  }

  .subtitle-text {
    font-size: 15px;
  }
  
  .service-right-text {
    text-align: left;
    align-self: flex-start;
  }
}


@media screen and (max-width: 600px) {
  .subtitle-frame-wrapper {
    top: -4%;
    left: 4%;
    width: 100%;
    max-width: 200px;
  }

  .subtitle-text {
    font-size: 14px;
  }
.sg-header {

  top:100px;

}

.creation-title {
  font-size: 44px;
}


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

  .subtitle-frame-wrapper {top: -1%;left: 4%;width: 100%;max-width: 190px;}

  .subtitle-text {font-size: 14px;}
  .creation-tech-box {
    padding: 20px;
  }

  .creation-title {

    font-size: 40px;
    line-height: 1.3;
  }

  .creation-description {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }


  .info-content {
    font-size: 14px;
    padding: 20% 4%;
    line-height: 1.5;
  }
  .subtitle-spacer {
    height: 20px;
  }
}



@media screen and (max-width: 360px) {
  .subtitle-frame-wrapper {
    top: 2%;
    left: 4%;
    width: 100%;
    max-width: 170px;
  }

  .subtitle-text {
  font-size: 12px; /* tá»± co giÃ£n */
}
.creation-title {
        font-size: 34px;
    }
}
