.container {
  background-image: url("../png/k8iwrv.png");
  background-repeat: no-repeat;
  background-position: top center;
  padding-bottom: 80px;
}

.news {
  padding: 40px;
  background: #fff;
  margin-bottom: 60px;
}

.news-photo {
  float: left;
  position: relative;
  margin-right: 40px;
  width: 590px;
  height: 390px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 18px;
  text-align: left;
}

.carousel-caption a {
  color: #fff;
}

.carousel-dots {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: flex;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  margin: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #fff;
}

.news-list {
  float: right;
  width: 590px;
}

.news-list .news-title {
  padding-left: 16px;
  width: 590px;
  height: 54px;
  line-height: 54px;
  background: linear-gradient(
    90deg,
    rgba(22, 88, 160, 0.08),
    rgba(22, 88, 160, 0) 100%
  );
}

.news-list .news-title h2 {
  display: inline-block;
  position: relative;
  font-size: 32px;
  font-weight: bold;
}

.news-list .news-title h2::before {
  display: inline-block;
  position: absolute;
  top: 15px;
  left: -16px;
  width: 4px;
  height: 24px;
  background-color: #1658a0;
  content: " ";
}

.news-list .more {
  float: right;
  font-size: 24px;
  color: #1658a0;
}

.news-list ul li {
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  padding-left: 15px;
  height: 28px;
  line-height: 28px;
  font-size: 20px;
  font-weight: 400;
  text-align: LEFT;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
}

.news-list ul li::before {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 0;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: rgba(22, 88, 160, 0.4);
  content: " ";
}

.about-xiamen h2 {
  color: #ffffff;
  font-size: 40px;
  position: relative;
  font-weight: 700;
  margin-bottom: 40px;
}

.about-xiamen h2::before {
  color: #ffffff;
  position: absolute;
  bottom: 0;
  font-size: 64px;
  opacity: 0.08;
  left: 0;
  content: "About Xiamen";
}

.about-xiamen h2::after {
  color: #ffffff;
  position: absolute;
  bottom: 0;
  font-size: 64px;
  opacity: 0.24;
  right: 0;
  content: "â€?;
}

.about-xiamen ul {
  display: flex;
  justify-content: space-between;
}

.about-xiamen ul li {
  width: 390px;
  padding: 8px 8px 40px;
  background-color: #fff;
  text-align: center;
}

.about-xiamen ul li p {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 400;
}

.services,
.quick-links {
  padding-top: 60px;
}

.investment-and-services {
  padding: 64px 0;
  background-color: #f8f8f8;
}

.title {
  margin-bottom: 40px;
  height: 38px;
  line-height: 38px;
  text-align: center;
}
.title h2 {
  display: inline-block;
  position: relative;
  font-size: 32px;
  font-weight: bold;
}

.title h2::before {
  display: inline-block;
  position: absolute;
  top: 7px;
  left: -40px;
  width: 2px;
  height: 24px;
  background-color: #1658a0;
  content: " ";
}
.title h2::after {
  display: inline-block;
  position: absolute;
  top: 7px;
  right: -40px;
  width: 2px;
  height: 24px;
  background-color: #1658a0;
  content: " ";
}

.investment-inner {
  display: flex;
  justify-content: space-between;
}

.investment-inner .item {
  position: relative;
  width: 295px;
  height: 262px;
  text-align: center;
  background-color: #fff;
}

.investment-inner .item img {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, 0);
}

.investment-inner .item .title {
  position: absolute;
  bottom: 60px;
  left: 50%;
  margin: 0;
  width: 100%;
  font-size: 24px;
  font-weight: 400;
  transform: translate(-50%, 0);
}

.services-inner {
  display: flex;
  justify-content: space-between;
}

.services-inner .item-title {
  width: 295px;
  height: 120px;
  display: inline-block;
  position: relative;
  background-size: cover;
}

.services-inner .item-title h3 {
  margin: 24px 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: #f5faff;
}

.services-inner .item-title h3::after {
  content: " ";
  position: absolute;
  bottom: 32px;
  left: 24px;
  width: 48px;
  height: 4px;
  background-color: #fff;
}

.services-inner ul {
  background-color: #fff;
  padding: 12px 24px 0;
  height: 206px;
}

.services-inner ul li:first {
  margin-top: 12px;
}

.services-inner ul li {
  margin-top: 24px;
}

.services-inner ul li a {
  position: relative;
  padding-left: 15px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

.services-inner ul li a::before {
  display: inline-block;
  position: absolute;
  top: 6px;
  left: 0;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: rgba(22, 88, 160, 0.4);
  content: " ";
}

.city-tour .item-title {
  background-image: url(../png/96620f.png);
  background-repeat: no-repeat;
}

.culture .item-title {
  background-image: url(../png/v06tlk.png);
  background-repeat: no-repeat;
}

.life .item-title {
  background-image: url(../png/3clc1m.png);
  background-repeat: no-repeat;
}

.study .item-title {
  background-image: url(../png/1xgcsb.png);
  background-repeat: no-repeat;
}

.quick-links {
  height: 440px;
  background-color: #fff;
  background-image: url(../png/f5ccvp.png);
  background-repeat: no-repeat;
  background-position: bottom left;
}
.tab-content ul li {
  float: left;
  margin: 0 18px;
  border: 1px solid rgba(153, 153, 153, 0.2);
  width: 220px;
  height: 220px;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
}
.tab-content ul li:hover {
  border: solid 1px #1658a0;
  box-shadow: 0 0 19px 1px rgba(22, 88, 160, 0.3);
}
.tab-content ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  font-size: 20px;
  color: #666;
}
.tab-content ul li a img {
  display: inline;
  margin: 25px 0;
}


@media screen and (max-width: 1300px) {
  .news-photo,
  .news-list {
    width: 48%;
  }

  .news-list .news-title {
    width: 100%;
  }

  .about-xiamen ul li {
    width: 32%;
  }

  .investment-inner .item,
  .services-inner .item-title {
    width: 24%;
  }

  .tab-content ul li {
    width: 18%;
    margin: 0 1%;
  }
}

@media screen and (max-width: 1024px) {
  .news {
    padding: 20px;
  }

  .news-photo {
    height: 300px;
  }

  .news-list ul li {
    font-size: 20px;
  }

  .about-xiamen h2 {
    font-size: 32px;
  }

  .about-xiamen h2::before {
    font-size: 48px;
  }

  .investment-inner,
  .services-inner {
    flex-wrap: wrap;
  }

  .investment-inner .item {
    width: 48%;
    margin-bottom: 20px;
  }

  .services-inner > div {
    width: 48%;
    margin-bottom: 20px;
  }

  .services-inner .item-title {
    width: 100%;
  }

  .tab-content ul li {
    width: 30%;
    margin: 0 1.5% 20px;
  }
}

@media screen and (max-width: 768px) {
  .news {
    padding: 15px;
  }
  .carousel-caption {
    padding: 10px;
    font-size: 14px;
  }

  .carousel-dots {
    right: 10px;
    bottom: 10px;
  }

  .dot {
    width: 8px;
    height: 8px;
    margin: 3px;
  }
  .news-photo,
  .news-list {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .news-photo {
    height: 200px;
    margin-bottom: 20px;
  }

  .news-list .news-title {
    width: 100%;
  }

  .news-list .news-title h2 {
    font-size: 24px;
  }

  .news-list .more {
    font-size: 18px;
  }

  .news-list ul li {
    font-size: 16px;
    height: auto;
    white-space: normal;
    line-height: 1.5;
  }

  
  .about-xiamen h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .about-xiamen h2::before {
    font-size: 36px;
  }

  .about-xiamen ul {
    flex-direction: column;
  }

  .about-xiamen ul li {
    width: 100%;
    margin-bottom: 20px;
  }

  .about-xiamen ul li p {
    font-size: 18px;
  }

  
  .investment-and-services {
    padding: 30px 0;
  }

  .investment-inner .item {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
  }

  .investment-inner .item img {
    top: 40px;
  }

  .investment-inner .item .title {
    bottom: 40px;
    font-size: 18px;
  }

  .services-inner {
    flex-direction: column;
  }

  .services-inner > div {
    width: 100%;
    margin-bottom: 15px;
  }

  .services-inner ul {
    height: auto;
    padding-bottom: 15px;
  }

  
  .quick-links {
    height: auto;
    padding-bottom: 30px;
    background-size: 100% auto;
  }

  .tab-content ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-content ul li {
    float: none;
    width: 45%;
    height: 180px;
    margin: 0 2.5% 15px;
  }

  .tab-content ul li a {
    font-size: 16px;
  }

  .tab-content ul li a img {
    margin: 15px 0;
    max-width: 80%;
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .tab-content ul li {
    width: 90%;
    margin: 0 5% 15px;
  }
}