* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  font-weight: bold;
}

/* 1. header制作 */
.shortcut {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 6.25rem;
  /* 100px */
  background-color: #158cba;
  padding: 0 2rem;
  flex-wrap: nowrap;
  font-family: Arial, sans-serif;
}

.left-items {
  display: flex;
  align-items: center;
  margin-left: 4rem;
}

.left-items .logo_box {
  display: flex;
  align-items: center;
  max-width: 3.125rem;
  /* 50px */
}

.left-items .logo_box img {
  width: 100%;
  height: auto;
}

.CN_EN_title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 1.5rem;
}

.CN_EN_title h2 {
  font-size: 1.8rem;
}

.CN_EN_title h5 {
  font-size: 1rem;
}

.right-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  margin-right: 4rem;
}

.right-section a {
  padding-right: 1.25rem;
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}

/* Breakpoint at 1200px */
@media (max-width: 1200px) {
  .shortcut {
    padding: 0 1.5rem;
  }

  .left-items {
    margin-left: 1.5rem;
  }

  .right-section {
    margin-right: 1.5rem;
  }
}

/* Breakpoint at 992px */
@media (max-width: 992px) {
  .shortcut {
    padding: 0 4rem;
  }

  .left-items {
    margin-left: 1rem;
  }

  .right-section {
    margin-right: 1rem;
  }

  .left-items .logo_box {
    max-width: 2.5rem;
    /* 40px */
  }

  .left-items .logo_box img {
    width: 100%;
    height: auto;
  }

  .right-section a {
    padding-right: 0.75rem;
    font-size: 0.9rem;
  }

  .CN_EN_title {
    margin-left: 1rem;
  }

  .CN_EN_title h2 {
    font-size: 1.6rem;
  }

  .CN_EN_title h5 {
    font-size: 0.9rem;
  }
}

/* Breakpoint at 768px */
@media (max-width: 768px) {
  .shortcut {
    padding: 0 4rem;
  }

  .left-items {
    margin-left: 0.5rem;
  }

  .right-section {
    margin-right: 0.5rem;
  }

  .left-items .logo_box {
    max-width: 2.5rem;
    /* 40px */
  }

  .right-section a {
    padding-right: 0.5rem;
    font-size: 0.9rem;
  }

  .CN_EN_title {
    margin-left: 0.25rem;
  }

  .CN_EN_title h2 {
    font-size: 1.2rem;
  }

  .CN_EN_title h5 {
    font-size: 0.8rem;
  }
}

/* Breakpoint at 576px */
@media (max-width: 576px) {
  .shortcut {
    flex-direction: column;
    height: auto;
    padding: 0.5rem;
  }

  .left-items {
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .right-section {
    width: 70%;
    margin-right: 0;
    justify-content: space-between;
  }

  .left-items .logo_box {
    max-width: 2rem;
    /* 32px */
  }

  .right-section a {
    padding-right: 0.5rem;
    font-size: 0.8rem;
  }

  .CN_EN_title {
    margin-left: 0.25rem;
  }

  .CN_EN_title h2 {
    font-size: 1rem;
  }

  .CN_EN_title h5 {
    font-size: 0.75rem;
  }
}

/* 3. 项目列表 */
#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* List box styles */
.list_box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  overflow: hidden;
  width: 80%;
  max-width: 1000px;
  transition: transform 0.2s;
  height: 25rem;
}

.list_box:hover {
  transform: scale(1.02);
}

/* Image box styles */
.img_box {
  width: 40%;
  height: 70%;
  padding: 1.25rem;
}

.img_box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

/* Text box styles */
.text_box {
  width: 60%;
  height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
}

.pro_title {
  font-size: 1.875rem;
  margin: 0 0 10px;
  color: #4e5c66;
}

.pro_text {
  font-size: 1rem;
  color: #718696;
  margin: 0 0 20px;
  line-height: 1.5625rem;
}

/* More details button styles */
.more_details {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background-color: #158cba;
  width: 10.625rem;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.more_details:hover {
  background-color: #0056b3;
  font-weight: bold;
}

/* Media Queries */
@media (max-width: 1200px) {
  .pro_title {
    font-size: 1.75rem;
  }

  .pro_text {
    font-size: 0.9375rem;
  }

  .list_box {
    height: 23.75rem;
  }
}

@media (max-width: 992px) {
  .list_box {
    margin: 1.5rem;
  }

  .pro_title {
    font-size: 1.625rem;
  }

  .pro_text {
    font-size: 1.1rem;
    line-height: 2rem;
  }

  .list_box {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .img_box {
    width: 100%;
    height: 50%;
    padding: 1.4rem;
  }

  .text_box {
    width: 100%;
    height: 50%;
    padding: 1.4rem;
  }
}

@media (max-width: 768px) {
  .pro_title {
    font-size: 1.5rem;
  }

  .pro_text {
    font-size: 0.8125rem;
  }

  .list_box {
    height: auto;
    width: 90%;
  }

  .text_box {
    height: auto;
  }
}

@media (max-width: 576px) {
  .list_box {
    margin: 1.5rem;
  }

  .pro_title {
    font-size: 1.175rem;
  }

  .pro_text {
    font-size: 0.85rem;
    line-height: 1.4rem;
  }

  .list_box {
    height: auto;
    width: 100%;
  }

  .img_box {
    height: 15.375rem;
    padding: 1.125rem;
  }

  .text_box {
    padding: 1.125rem;
  }

  .more_details {
    width: 40%;
    padding: 0.3125rem;
    font-size: 0.875rem;
  }
}

/* 4. 定制咨询 */

/* Base styles */
.custom_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  background-color: #e8f0fd;
  height: 18.75rem;
  /* 300px */
  margin-top: 3.125rem;
  /* 50px */
  margin-left: 9.375rem;
  /* 150px */
  margin-right: 9.375rem;
  /* 150px */
  border-radius: 1.25rem;
  margin-bottom: 3.125rem;
  /* 20px */
}

.custom_content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 50%;
  margin-left: 3.125rem;
  /* 50px */
}

.custom_content-wrapper h1 {
  color: #158cba;
  font-size: 1.5rem;
  /* Default font size for h1 */
}

.custom_content-wrapper a {
  color: #158cba;
  font-size: 1rem;
  /* 16px */
}

.custom_cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10.625rem;
  /* 170px */
  height: 3.125rem;
  /* 50px */
  padding: 0.625rem 1.25rem;
  /* 10px 20px */
  background-color: white;
  border: none;
  border-radius: 3.125rem;
  /* 50px */
}

.custom_image-wrapper img {
  width: 12.5rem;
  /* 200px */
  height: 12.5rem;
  /* 200px */
  margin-right: 3.125rem;
  /* 50px */
  margin-bottom: -6.25rem;
  /* -100px */
}

/* Media queries */

/* For screens larger than 1200px */
@media (min-width: 75rem) {
  .custom_container {
    margin-left: 9.375rem;
    /* 150px */
    margin-right: 9.375rem;
    /* 150px */
  }

  .custom_content-wrapper h1 {
    font-size: 2rem;
    /* Increase font size for h1 */
  }

  .custom_content-wrapper a {
    font-size: 1.125rem;
    /* Increase font size for a */
  }
}

/* For screens larger than 992px and up to 1200px */
@media (max-width: 75rem) and (min-width: 62rem) {
  .custom_container {
    margin-left: 5rem;
    /* 80px */
    margin-right: 5rem;
    /* 80px */
  }

  .custom_content-wrapper h1 {
    font-size: 1.75rem;
    /* Increase font size for h1 */
  }

  .custom_content-wrapper a {
    font-size: 1.125rem;
    /* Increase font size for a */
  }
}

/* For screens larger than 768px and up to 992px */
@media (max-width: 62rem) and (min-width: 48rem) {
  .custom_container {
    flex-direction: column;
    height: auto;
    padding: 1.25rem;
    /* 20px */
    margin-left: 3.125rem;
    /* 50px */
    margin-right: 3.125rem;
    margin-bottom: 3rem;
    /* 50px */
  }

  .custom_content-wrapper {
    align-items: center;
    margin-left: 0;
  }

  .custom_content-wrapper h1 {
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .custom_cta-button {
    margin-bottom: 1.5rem;
  }

  .custom_image-wrapper img {
    margin-right: 0;
    margin-bottom: 0;
  }
}

/* For screens larger than 576px and up to 768px */
@media (max-width: 48rem) and (min-width: 36rem) {
  .custom_container {
    padding: 1.25rem;
    /* 20px */
    margin-left: 2.5rem;
    /* 40px */
    margin-right: 2.5rem;
    /* 40px */
  }

  .custom_cta-button {
    width: 100%;
  }

  .custom_content-wrapper h1 {
    font-size: 1.5rem;
    /* Default font size for h1 */
  }

  .custom_content-wrapper a {
    font-size: 1rem;
    /* 16px */
  }
}

/* For screens smaller than 576px */
@media (max-width: 36rem) {
  .custom_container {
    flex-direction: column;
    padding: 2.25rem;
    /* 20px */
    margin-left: 1.25rem;
    /* 20px */
    margin-right: 1.25rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    /* 20px */
  }

  .custom_content-wrapper h1 {
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
  }

  .custom_cta-button {
    width: 50%;
    height: fit-content;
    margin-bottom: 1rem;
  }

  .custom_content-wrapper {
    margin-left: 0;
    align-items: center;
  }

  .custom_image-wrapper img {
    width: 10rem;
    /* 160px */
    height: 10rem;
    /* 160px */
    margin-right: 0;
    margin-bottom: 0;
    /* 20px */
  }
}

/* 7. footer制作 */
footer {
  background-color: #158cba;
  color: #fff;
  padding: 1.25rem 0;
  font-family: Arial, sans-serif;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 0.0625rem solid #e6e6e6;
  margin-left: 1rem;
  margin-right: 1rem;
  flex-wrap: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  margin-right: auto;
  white-space: nowrap;
}

.footer-links img {
  width: 3.75rem;
  height: 3.75rem;
  margin-right: 0.5rem;
}

.footer-links .footer_title {
  margin-right: 1.25rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 0.625rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  font-weight: bold;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.625rem;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ddd;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background-color: #158cba;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  padding-top: 0.625rem;
}

.footer-bottom-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.625rem;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  font-weight: bold;
}

/* Media Queries */

/* Extra large devices (1200px and up) */
@media (max-width: 75rem) {
  .footer-links img {
    width: 3rem;
    height: 3rem;
  }

  .footer-links a,
  .social-links a {
    margin: 0 0.5rem;
    font-size: 1rem;
  }

  .footer-bottom {
    padding: 0.75rem 1.25rem;
  }

  .footer-bottom p {
    font-size: 0.875rem;
  }

  .footer-bottom-links a {
    margin: 0 0.5rem;
  }
}

/* Large devices (992px and up) */
@media (max-width: 62rem) {
  .footer-links img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-links a,
  .social-links a {
    font-size: 0.875rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* Medium devices (768px and up) */
@media (max-width: 48rem) {
  .footer-links img {
    width: 2rem;
    height: 2rem;
  }

  .footer-links a,
  .social-links a {
    font-size: 0.75rem;
    margin: 0.5rem 0.25rem;
  }

  .footer-bottom {
    padding: 0.5rem 1rem;
  }

  .footer-bottom p {
    font-size: 0.625rem;
  }
}

/* Small devices (576px and up) */
@media (max-width: 36rem) {
  .footer-main {
    flex-wrap: nowrap;
  }

  .footer-links .footer_title {
    margin-right: 1rem;
  }

  .footer-links img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .footer-links a,
  .social-links a {
    font-size: 0.625rem;
    margin: 0.25rem 0.25rem;
  }

  .footer-bottom p {
    font-size: 0.5rem;
  }

  .footer-bottom-links a {
    font-size: 0.5rem;
    margin: 0.25rem 0.5rem;
  }
}
