/* index-about */

.cd-section-about {
  background-color: #f4f1e6;
  position: relative;
}

.cd-section-about-bg {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../../img/index/index-about-bg.png');
  background-attachment: fixed !important;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.15;
}

.cd-section-about-content {
  padding-top: 105px;
  padding-bottom: 105px;
  position: relative;
  z-index: 1;
}

.cd-section-about-content>h2 {
  font-size: 55px;
  line-height: 1.2;
  font-family: 'ZCOOLXiaoWei-Regular', serif;
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}

.cd-section-about-content>h3 {
  margin-bottom: 20px;
  font-size: 40px;
}

.cd-section-about-content>p {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.007em;
  color: var(--primary-color);
  font-family: 'ZCOOLXiaoWei-Regular', serif;
}

/* index-news */

.cd-index-news {
  position: relative;
}

.cd-index-news-bg {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../../img/index/index-bg-news.png');
  /* background-attachment: fixed !important; */
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cd-index-news > .container {
  position: relative;
  z-index: 1;
}

.cd-index-news-card>h3>a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* index-project-card */
#currentLists {
  position: relative;
}

#currentLists::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/img/index/index-projects-bg.jpg');
  background-size: cover;
  opacity: 0.3;
  z-index: 11;
  background-attachment: fixed !important;
}

.cd-currentLists-container {
  position: relative;
  z-index: 99;
}

.cd-project-item-container-left {
  display: flex;
  justify-content: flex-start;
  padding: 30px;
  position: relative;
  z-index: 99;
}

.cd-project-item-container-right {
  display: flex;
  justify-content: flex-end;
  padding: 30px;
  position: relative;
  z-index: 99;
}

.cd-project-item {
  width: 70%;
  position: relative;
  cursor: pointer;
}

.cd-project-item-img {
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.8);
}

.cd-project-item-container-left>.cd-project-item {
  padding-left: 5%;
}

.cd-project-item-container-right>.cd-project-item {
  padding-right: 5%;
}

.cd-project-item>a>img {
  width: 100%;
  border-radius: 30px;
}

.cd-project-item-a {
  display: block;
  position: relative;
}

.cd-project-item-button {
  border-radius: 30px;
  color: #fff !important;
  text-align: center;
  transition: .4s all;
  font-weight: 600;
  border: 2px solid #fff;
  display: block;
  padding: 25px 25px;
}

.cd-project-item-button-left {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(40%, -35%);
  padding: 15px 15px;
  font-size: 25px;
  text-align: center;
  border-radius: 30px;
  transition: all 0.4s;
}

.cd-project-item-button-left:hover {
  background-color: var(--secondary-color);
}

.cd-project-item-button-right {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(-40%, -35%);
  padding: 15px 15px;
  font-size: 25px;
  text-align: center;
  border-radius: 30px;
  transition: all 0.4s;
}

.cd-project-item-button-right:hover {
  background-color: var(--secondary-color);
}

/* index-introduce*/

.cd-index-introduce-item {
  display: flex;
  justify-content: flex-start;
}

.cd-index-introduce-item-left {
  flex-shrink: 0;
  height: 100%;
  margin-right: 20px;
}

.cd-index-introduce-item-left>img {
  width: 100px;
}

.cd-index-introduce-item-right {
  overflow: hidden;
}

.cd-index-introduce-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cd-index-introduce-title {
  text-align: center;
}

.cd-index-introduce-item-content {
  max-width: 80%;
  max-height: 216px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  display: -webkit-box;
}

/* index-footer */

.cd-index-footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cd-index-footer-form-container {
  width: 51.9%;
  display: block;
  position: relative;
  background-color: var(--secondary-color);
  padding: 4.588vw 4.375vw;
  ;
  border-top-right-radius: 20vw;
  border-top-left-radius: 20vw;
  z-index: 2;
}

.cd-index-footer-form-container:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--primary-color);
  margin: -10px;
  border-bottom: none;
  margin: -0.625vw;
  border-bottom: none;
  border-top-right-radius: 20vw;
  border-top-left-radius: 20vw;
}

.cd-index-footer-form-container>h2 {
  text-align: center;
}

.cd-index-footer-form-container>form {
  position: relative;
  z-index: 3;
}

.cd-index-footer-content {
  width: 40%;
}

.cd-index-footer-content>p {
  color: var(--primary-color);
}

.index-footer-info-list {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.index-footer-info>h4 {
  font-size: 16px;
}

.index-footer-info>i {
  color: var(--tj-color-theme-primary);
  font-size: 30px;
  margin-right: 12px;
  position: relative;
  top: -2px;
}

.index-footer-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  width: 100%;
}

/* ccc */

.cd-index-footer-form-row {
  display: block;
  position: relative;
}

.cd-index-footer-form-col {
  display: block;
  width: 100%;
  position: relative;
}

.cd-index-footer-form-col input:not([type=submit]),
.cd-index-footer-form-col textarea {
  width: 100%;
  height: 50px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0.100em;
  line-height: normal;
  text-transform: uppercase;
  color: #F4F3F2;
}

.cd-index-footer-form-col:not(:last-child) {
  margin-bottom: 30px;
}

.cd-index-footer-form-col textarea {
  height: 120px;
  padding: 20px 0;
  resize: none;
  padding-right: 50px;
  overflow: hidden;
}

.cd-index-footer-submit {
  position: absolute;
  bottom: 20px;
  right: 0;
}

.cd-index-footer-submit>img {
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.cd-index-footer-submit button {
  background-color: transparent;
  font-size: 35px;
  padding: 0;
  border: none;
  color: var(--primary-color);
  color: #fff;
  -webkit-transition: 0.4s all ease-in-out;
  -o-transition: 0.4s all ease-in-out;
  transition: 0.4s all ease-in-out;
}

.cd-index-footer-submit button:hover {
  color: #cfc9b4;
}

::placeholder {
  color: #F4F3F2;
}

.cdc77-form-control-wrap your-message textarea:focus {
  border-color: red;
}

.cdc77-textarea:focus {
  outline: none;
}

.cd-connections {
  margin-top: 20px;
}

.cd-connections>a {
  margin-right: 16px;
}

.copy-right {
  margin-top: 14px;
}

.cd-carousel-inner {
  width: 100vw;
  height: 100vh;
}

.cd-carousel-item {
  height: 100%;
}

.cd-carousel-item>img {
  width: 100%;
  height: 100%;
  object-position: center center;
  object-fit: cover;
}

@media only screen and (max-width: 992px) {
  .cd-section-about-content>h2 {
    font-size: 40px;
  }

  .cd-section-about-content {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .cd-index-footer-form-container {
    width: 100%;
    max-width: 567px;
    margin: 0 auto;
  }

  .cd-index-footer-content {
    width: 100%;
    text-align: center;
    margin-top: var(--bs-gutter-x, .75rem);
  }

  .cd-index-footer-form-container>h2 {
    font-size: 50px;
  }

  .cd-project-item-imgContainer-hover {
    display: none !important;
  }
}

@media only screen and (min-width: 992px) {

  .cd-project-item-holder:hover .cd-project-item-imgContainer-hover {
    opacity: 1;
    z-index: 1;
  }

  .cd-project-item-holder:hover .cd-project-item-imgContainer-default {
    opacity: 0;
    z-index: -1;
  }

  .cd-project-item-holder:hover .cd-project-item-imgContainer-default>img {
    transform: scale(0, 0);
  }
}

@media only screen and (max-width: 550px) {
  #currentLists::before {
    background-size: cover;
  }

  .cd-section-about-bg {
    background-size: contain;
  }

  .cd-index-news-bg {
    background-image: none;
  }

  .cd-carousel-inner {
    height: auto;
  }

  .cd-carousel-item {
    height: auto;
  }

  .cd-carousel-item>img {
    object-position: center center;
    object-fit: contain;
    margin-top: 107.08px;
  }

  .cd-index-introduce-item-right > h3 {
    max-width: 80%;
  }
}

@media only screen and (max-width: 992px) {
  .cd-index-introduce-content>.cd-index-introduce-item:nth-of-type(1) {
    margin-bottom: 60px;
  }
}

@media only screen and (max-width: 992px) {
  .cd-index-introduce-title {
    font-size: 40px;
  }

  .cd-project-item {
    max-width: 720px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: auto;
    width: 100%;
  }

  .cd-project-item-button {
    display: none;
  }

  .cd-project-item-h4 {
    display: block !important;
    text-align: center;
    margin-top: 20px;
  }

  .cd-project-item-container-right {
    padding: 10px;
  }

  .cd-project-item-container-left {
    padding: 10px;
  }
}

@media only screen and (max-width: 800px) {
  .cd-project-item-img {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
  }
}