/* init */
@font-face {
  font-family: 'isBold';
  src: url('../font/subset-RobotoSerif28pt-SemiBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'isLight';
  /* src: url('../font/Roboto_Serif/static/RobotoSerif_28pt-Regular.ttf') format('truetype'); */
  src: url('../font/subset-RobotoSerif28pt-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'isLight', serif;
  height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
  color: #000;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
  font-family: 'isBold';
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  position: relative;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  cursor: pointer;
  background-color: transparent;
  border: none;
}

textarea {
  resize: vertical;
}

/* common */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 56px;
  margin-bottom: 100px;
  color: #333;
}

.bold{
  font-family: 'isBold';
}

img {
  width: 100%;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.theme-color {
  color: #ED5670FF;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 40px;
    margin-bottom: 60px;
  }
}

/* nav */
.navbar {
  position: absolute;
  top: 46px;
  width: 100%;
  z-index: 10;
  transition: all 0.3s ease;
  padding: 0 20px;
  /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent); */
  user-select: none;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
}

.navbar.sticky .navbar-container {
  padding: 24px 24px;
  backdrop-filter: none;
  background-color: transparent;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 54px 54px 54px 54px;
  backdrop-filter: blur(5px);
}

.navbar .logo {
  font-size: 24px;
  cursor: pointer;
  font-family: 'isBold';
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 37px;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
}

.nav-links a:hover {
  color: #ED5670FF;
}

.nav-links a.active {
  color: #ED5670FF;
  font-family: 'isBold';
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 30%;
  transform: translateX(-50%);
  height: 2px;
  background-color: #ED5670FF;
}

.mobile-menu-btn {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
  text-indent: -9999em;
}

.mobile-menu-btn span {
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.mobile-menu-btn.active span {
  background-color: transparent;
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: "";
}

.mobile-menu-btn.active span::before,
.mobile-menu-btn.active span::after {
  width: 100%;
}

.mobile-menu-btn span::before {
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.mobile-menu-btn.active span::before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
}

.mobile-menu-btn span::after {
  transform-origin: 33% 0;
  top: 10px;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.mobile-menu-btn.active span::after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    padding: 0;
  }

  .navbar-container {
    padding: 12px 16px;
    border-radius: 0;
  }

  .navbar.sticky .navbar-container{
    padding: 12px 16px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
    max-height: 500px;
    padding: 20px 0;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 48px;
  height: 48px;
  margin-right: 8px;
}

/* Hero */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url('../images/img_topbanner1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-section .hero-text {
  position: relative;
  z-index: 1;
  color: white;
}

.hero-section .hero-text h1 {
  font-size: 80px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-section .hero-text h1 {
    font-size: 60px;
  }
}

@media (max-width: 480px) {
  .hero-section .hero-text h1 {
    font-size: 48px;
  }
}

/* products */
.product-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
}

.product-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.product-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.product-item>div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-item .product-icon {
  width: 140px;
  height: 140px;
}

.product-item h2 {
  font-family: 'isBold';
  font-size: 40px;
  color: #000000;
  line-height: 40px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin: 30px 0;
}

.product-item .product-download-btn {
  width: 180px;
  height: 52px;
}

.product-images {
  width: 100%;
}

.product-images .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
}

.product-images .gallery-grid>div {
  background-color: #FFFFFF;
}

.product-images .gallery-grid img {
  width: 100%;

  height: auto;
  display: block;
}

.product-images .swiper-container {
  display: none;
}

@media (max-width: 1200px) {
  .product-images .gallery-grid {
    display: none;
  }

  .product-images .swiper-container {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .product-images .swiper-slide {
    width: 100%;
    max-width: 220px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .product-images .swiper-slide img {
    width: 100%;
    display: block;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .product-section {
    padding: 60px 0;
  }

  .product-item {
    margin-bottom: 30px;
  }

  .product-images .gallery-grid {
    display: none;
  }

  .product-item .product-icon {
    width: 100px;
    height: 100px;
  }

  .product-item h2 {
    font-size: 28px;
    line-height: 32px
  }

  .product-item .product-download-btn {
    width: 150px;
    height: 45px;
  }

  .product-images .swiper-container {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .product-images .swiper-slide {
    width: 100%;
    max-width: 280px;
    margin: 8px auto;
    background-color: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  }

  .product-images .swiper-slide img {
    width: 100%;
    display: block;
    border-radius: 4px;
  }
}

@media (max-width: 580px) {
  .product-content {
    flex-direction: column;
  }
}

.product-images .swiper-free-mode>.swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ourStory */
.ourStory-section {
  padding: 120px 0 60px;
  background-color: #FFFFFF;
}

.story {
  position: relative;
  width: 100%;
  color: #FFFFFF;
}

.story h2 {
  position: absolute;
  top: 111px;
  font-size: 52px;
  max-width: 50%;
  line-height: 1.2;
}

.story p {
  position: absolute;
  top: 265px;
  max-width: 50%;
  font-size: 26px;
  line-height: 1.2;
}

.story1 h2,
.story1 p {
  left: 50px;
}

.story2 h2,
.story2 p {
  right: 50px;
}

.story2 {
  margin-top: 120px;
}

@media (max-width: 1200px) {
  .story h2 {
    top: 80px;
  }

  .story p {
    top: 220px
  }
}

@media (max-width: 1024px) {
  .story h2 {
    max-width: 60%;
    font-size: 44px;
    top: 60px;
  }

  .story p {
    max-width: 60%;
    font-size: 20px;
    top: 180px;
  }
}

@media (max-width: 768px) {
  .ourStory-section {
    padding: 60px 0 30px;
  }

  .story h2,
  .story p {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    color: #000;
    max-width: 100%;
  }

  .story h2 {
    font-size: 24px;
  }

  .story p {
    font-size: 16px;
    line-height: 1.6;
    margin: 24px 0;
  }

  .story2 {
    margin-top: 60px;
  }
}

/* features */
.features-section {
  background-color: #FFFFFF;
  margin: 120px 0 180px;
}

.features-section .container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-item {
  position: relative;
  text-align: center;
  padding-top: 117px;
  flex: 0 0 30%;
  box-sizing: border-box;
}

.feature-item .bg {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, #FFE7EB 0%, #FFFFFF 100%);
  border-radius: 20px;
}

.feature-item .image-box {
  width: 85%;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.feature-text-box {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.feature-text {
  font-family: 'isBold';
  font-size: 28px;
  line-height: 1.4;
  color: #333;
}

@media (max-width: 1024px) {
  .features-section {
    margin: 80px 0 80px;
  }

  .features-section .container {
    gap: 30px;
  }

  .feature-text {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .features-section {
    margin: 60px 0 60px;
  }

  .features-section .container {
    gap: 20px;
  }

  .feature-item {
    flex: 0 0 50%;
    padding-top: 80px;
    min-width: 330px;
  }

  .feature-text-box {
    top: 80%;
  }

  .feature-text {
    font-size: 22px;
  }
}

/* voices & views */
.testimonial-section {
  background: linear-gradient(180deg, #F3F5FA 0%, #FFFFFF 100%);
  padding: 120px 0px 211px;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  height: 128px;
}

.user-info .avatar {
  width: 128px;
  height: 128px;
  object-fit: cover;
  margin-right: 12px;
}

.user-info>div {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.user-info .name {
  font-size: 20px;
  font-family: 'isBold';
}

.user-info .stars {
  position: absolute;
  bottom: 0;
  max-width: 186px;
  font-size: 16px;
  line-height: 1.2;
}

.testimonial-item p {
  font-size: 18px;
  color: #000000FF;
  line-height: 27px;
}

@media (max-width: 992px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 80px 0 120px;
  }

  .testimonial-section h2 {
    font-size: 24px;
  }

  .user-info strong {
    font-size: 14px;
  }

  .testimonial-item p {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* our office */
.ourOffice {
  background: linear-gradient(180deg, #F3F5FA 0%, #FFFFFF 100%);
  padding: 100px 0 144px;
}

.ourOffice h2 {
  margin-bottom: 80px;
}

@media (max-width:768px) {
  .ourOffice {
    padding: 60px 0 80px;
  }
}

/* slogan */
.slogan {
  position: relative;
}

.slogan h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'isBold';
  font-size: 66px;
  color: #FFFFFF;
  line-height: 77px;
  letter-spacing: 1px;
  text-shadow: 0px 4px 8px rgba(19, 28, 11, 0.3);
  text-align: center;
  font-style: normal;
  text-transform: none;
}

@media (max-width: 1200px) {
  .slogan h2 {
    font-size: 40px;
    line-height: 52px;
  }
}

@media (max-width: 768px) {
  .slogan h2 {
    font-size: 28px;
    line-height: 33px;
  }
}

@media (max-width: 590px) {
  .slogan h2 {
    font-size: 22px;
    line-height: 25px;
  }
}

/* footer */
footer {
  background-color: #ecedf1FF;
  color: white;
  padding: 80px 0 40px;
}

footer .container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-section {
  flex: 1;
}

.footer-section.logo {
  display: flex;
  align-items: center;
  margin-bottom: 27px;
}

.footer-section span {
  font-family: 'isBold';
  font-size: 1.3rem;
}

.footer-logo {
  max-width: 48px;
  vertical-align: middle;
  margin-right: 10px;
}

.footer-section h4 {
  color: #000000FF;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section a {
  color: #000000FF;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
  display: block;
  margin-bottom: 10px;
}

.footer-section a:hover {
  opacity: 1;
}

.social-link img {
  width: 48px;
  height: 48px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #d5d6d9FF;
  color: #00000080;
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 14px;
}

@media (max-width: 992px) {
  footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-section {
    flex: 0 0 100%;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .footer-logo {
    max-width: 48px;
  }

  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .social-link img {
    width: 28px;
    height: 28px;
    margin: 0 auto;
  }

  .footer-bottom {
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-section h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer-section a {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}