/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  margin: 0px;
  padding: 0px;
}

img {
  vertical-align: middle;
}


html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  /*平滑滚动*/
  scroll-behavior: smooth;
  height: 100%;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #F7FBFF;
  margin: 0;
  padding: 0;
  /*overflow-y: hidden;*/
  background-image: url("../img/home/background.png");
}

header {
  /*background-color: #fff;*/
  /*padding: 20px;*/
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
  /*padding-top: 80px;*/
  height: 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background-color: #F7FBFF;
  z-index: 1000; /* 确保导航栏在最上层 */
}

nav .logo {
  margin-left: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  margin-left: 300px;
}

nav ul li {
  margin: 0 17px;
  cursor: pointer;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

nav ul li a:hover {
  color: #0077b6;
}


/* 默认链接样式 */
.nav-link {
  text-decoration: none;
  color: #333; /* 默认颜色 */
  transition: color 0.3s ease;
}

/* 高亮选中的链接 */
.nav-link.active {
  color: #007bff; /* 选中后的颜色（蓝色） */
  font-weight: bold;
}

.nav-link.active {
  color: #007bff;
  font-weight: bold;
}

.cta-button {
  margin-right: 80px;
  padding: 12px 30px;
  font-size: 16px;
  background: linear-gradient(90deg, #00b4d8, #4fd1c5);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.cta-button:hover {
  background: linear-gradient(90deg, #4fd1c5, #00b4d8);
}


/* section 占满屏幕，留出导航栏高度 */
section {
  height: calc(100vh - 80px); /* 视口高度 - 导航高度 */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /*font-size: 40px;*/
  /*border-bottom: 2px solid #000000;*/
}

/*section:first-of-type {*/
/*  padding-top: 80px; !* 第一个 section 距离导航栏 80px *!*/
/*}*/

/* begin */
.home img {
  max-width: 100%;
  max-height: 100%;
}

.item-box {
  position: relative;
  width: 80%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  background: url(../img/com-bg.png) no-repeat center center;
  background-size: 100% 100%;
  box-sizing: border-box;
  padding: 40px 100px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-top: 30px;
}

.item-box .company-text,
.item-box .product-text,
.item-box .about-text,
.item-box .contact-text {
  max-width: 67%;
  height: auto;
  overflow: hidden;
  word-wrap: break-word; /* 自动换行 */
  overflow: hidden;
  box-sizing: border-box; /* 包含 padding */
  background-color: white;
}

.item-box .creator {
  position: relative;
  margin: 0px 2%;
  width: 30%;
  height: 100%;
}

.item-box .creator img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.item-box.company .creator,
.item-box.product .creator {
  box-shadow: none; /* 增加柔和阴影 */
  transition: none;
}

/* mobile */
@media (max-width: 1290px) {
  .item-box .company-text,
  .item-box .product-text,
  .item-box .about-text,
  .item-box .contact-text {
    max-width: 68%;
  }

  .item-box .creator {
    width: 30%;
  }
}

@media (max-width: 1000px) {
  .item-box {
    width: 90%;
    padding: 100px 60px;
    display: block;
  }

  .item-box.company-text,
  .item-box.product-text,
  .item-box.about-text,
  .item-box.contact-text {
    width: 100%;
  }

  .item-box .creator {
    width: 100%;
    margin: 20px 0px;
  }
}

/* end */


/* .section-img {
  width: 80%;
  height: 90%;
} */

.company-text {
  /*display: none;*/
  /* position: absolute; */
  /* width: 36%; */
  /* height: 60%; */
  /* left: 16%;
  top: 20%; */
  word-wrap: break-word; /* 自动换行 */
  overflow: hidden;
  box-sizing: border-box; /* 包含 padding */
  background-color: white;
}


.description {
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 480;
  font-size: 21px;
  line-height: 25px;
  color: #111624;
}

.product-text {
  /* position: absolute; */
  /* width: 36%;
  height: 71%; */
  /* right: 15%;
  top: 18%; */
  word-wrap: break-word; /* 自动换行 */
  overflow: hidden;
  box-sizing: border-box; /* 包含 padding */
  background-color: white;
}

.middle-description {
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  color: #0a0d15;
}

.small-description {
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: #111624;
}

.creator {
  /* position: absolute; */
  width: 19%;
  height: auto;
  /* top: 21%;
  left: 22%; */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* 增加柔和阴影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator img {
  width: 100%;
  height: auto;
  object-fit: contain; /* 保持比例并裁切填满容器 */
  display: block;
}


.about-text {
  /* position: absolute; */
  /* width: 37%; */
  /* height: 75%; */
  /* right: 16%;
  top: 15%; */
  word-wrap: break-word; /* 自动换行 */
  overflow: hidden;
  box-sizing: border-box; /* 包含 padding */
  background-color: white;
}

.about-text .title {
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 21px;
  color: #111624;
}

/*contact的样式*/
.contact-text {
  /* position: absolute; */
  /* width: 37%;
  height: 25%; */
  /* left: 16%;
  top: 36%; */
  word-wrap: break-word; /* 自动换行 */
  overflow: hidden;
  box-sizing: border-box; /* 包含 padding */
  background-color: white;
}

.contact-text .title {
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 650;
  font-size: 32px;
  color: #111624;
}

.concator {
  /* position: absolute; */
  width: 22%;
  height: auto;
  /* top: 24%;
  right: 22%; */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* 增加柔和阴影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concator img {
  width: 100%;
  height: auto;
  object-fit: contain; /* 保持比例并裁切填满容器 */
  display: block;
}


.email-link {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(90deg, #00b4d8, #4fd1c5); /* 按钮背景色 */
  color: #fff; /* 文字颜色 */
  text-decoration: none; /* 去掉下划线 */
  border-radius: 9px; /* 圆角 */
  font-weight: bold; /* 粗体 */
  transition: background 0.3s; /* 平滑过渡 */
}

.email-link:hover {
  background: linear-gradient(90deg, #4fd1c5, #00b4d8); /* 鼠标悬停变深 */
}

