/* I used a lot of '! important' to overwrite the styles fixed in the bootstrap */
strong {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 630 !important;
}

* {
  font-family: Figtree;
}

.hero-text {
    text-align: center;
    z-index: 3;
    position: relative;
    padding-top: 0 !important;
}

.hero-text h2 {
    font-size: 4rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
    font-weight: 700;
    min-height: 80px; /* 防止布局跳动 */
}

/* 打字机光标效果 */
.typing-cursor::after {
    content: "|";
    animation: blink 1s infinite;
    color: #FFD700;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2.5rem;
        min-height: 60px;
    }
}

/* ------------------------------------------------------------------------------------------------------------------------ */

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}


.container {
  position: relative;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 9px;
  opacity: 0;
  margin-left: 0% !important;
}

.animate-me {
  font-size: 25px;
  box-sizing: border-box;
  padding: 5%;
  padding-left: 0 !important;
  width: 100%;
  text-align: left;
  perspective: 500px;
  font-family: Figtree;
}

#index_part1 {
  background: #161617;
  padding-left: 192px;
  padding-bottom: 12%;
}

body.light-mode #index_part1{
  background-color: #e4e4e4;
  color: #161617;
}

body.light-mode #index_part1 strong{
  color: #ffffff;
}

#index_part1_main {
  display: flex;
  flex-direction: row;
  margin-top: 5%;
  margin-left: 50px;
}

#index_part1 h2 {
  padding-top: 7%;
  font-size: 56px;
  line-height: 1.0714285714;
  font-weight: 600;
  letter-spacing: -0.005em;
}

#index_part1 h5 {
  font-size: 35px;
  line-height: 1.0834933333;
  font-weight: 600;
  letter-spacing: -0.003em;
  color: #868686;
}

.circle-card {
  border-radius: 100%;
  height: 350px;
  width: 350px;
  margin-left: -50px;
  display: block;
  background-color: #000000;
}

.card-text-index1 p{
  color: #c6c6c6;
  height: 70%;
  margin: 28% auto;
  text-align: center;
}

.card-img-1 {
  background-image: url(../images/photos.jpg);
  width: 350px;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.card-img-2 {
  background-image: url(../images/girl.jpg);
  width: 350px;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {

  #index_part1 {
    background: #161617;
    padding-left: 0;
    padding-bottom: 12%;
  }

  #index_part1 .container{
    text-align: left;
  }

  #index_part1_main {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    margin-left: 25%;
  }

  .circle-card {
    height: 300px;
    width: 300px;
    margin-top: -50px;
    display: block;
    background-color: #000000;
  }

  .card-text-index1 {
    width: 70%;
    height: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28%;
    margin-top: 20%;
    text-align: center;
  }

  #index_part1 h2 {
    padding-top: 7%;
    font-size: 28px;
    line-height: 1.0714285714;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-align: center;
  }

  #index_part1 h5 {
    font-size: 18px;
    line-height: 1.0834933333;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #868686;
    text-align: center;
    margin-bottom: 5%;
  }
}



/* ------------------------------------------------------------------------------------------------------------------------------- */


#index_part2 {
  position: relative;
  z-index: 10;
  padding-top: 10%;
  padding-bottom: 7%;
}

.carousel {
  perspective: 1200px;
}

.carousel-inner {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-item {
  position: absolute !important;
  top: 50%;
  left: 49%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 26% !important;
  opacity: 0.3;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
  display: block !important;
  /* work with the width and height so that the whole card will become more clear and organized */
  visibility: visible !important;
  /* made it visible */
}

/* Bootstrap active */
.carousel-item.active {
  position: absolute !important;
  z-index: 3 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 1 !important;
  left: 49% !important;
}

/* previous card */
.carousel-item.show-left {
  z-index: 2 !important;
  transform: translate(-50%, -50%) translateX(-280px) scale(0.85) !important;
  opacity: 0.7 !important;
}

/* next card */
.carousel-item.show-right {
  z-index: 2 !important;
  transform: translate(-50%, -50%) translateX(280px) scale(0.85) !important;
  opacity: 0.7 !important;
}

/* card style */
.carousel-item .card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  background: #000000;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: none;
}

body.light-mode .carousel-item .card {
  background-color: rgb(239, 239, 239);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-item .card .card-title {
  font-size: 2em;
  font-family: Figtree;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 15px;
}

body.light-mode .carousel-item .card .card-title {
  color: #000000;
}

.carousel-item .card .card-text {
  color: #86868b;
  line-height: 1.5;
  font-size: 21px;
}

body.light-mode .carousel-item .card .card-text {
  color: rgb(65, 65, 65);
}

.circle-image {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 20px;
}

#red-img {
  border-width: 2px;
  border-style: solid;
  border-color: #a90000;
}

/* Bootstrap button  */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-control-prev {
  left: 80px;
}

.carousel-control-next {
  right: 80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

body.light-mode .carousel-control-prev,
body.light-mode .carousel-control-next {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .carousel-control-prev:hover,
body.light-mode .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Bootstrap indicators */
.carousel-indicators {
  bottom: -60px;
  margin-bottom: 0;
  left: 0;
  margin-left: 13% !important;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 25%;
  margin: 0 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 3vh !important;
  width: 3vw !important;
}


body.light-mode .carousel-indicators button,
body.light-mode .carousel-control-prev-icon,
body.light-mode .carousel-control-next-icon {
  filter: invert(1) brightness(0.8);
}

/* media - query */
@media (max-width: 1024px) {

  #index_part2 {
    position: relative;
    z-index: 10;
    padding-top: 15%;
    padding-bottom: 20%;
  }

  .carousel-item {
    width: 220px !important;
    height: 350px !important;
  }

  .carousel-item .card {
    height: 100%;
    padding: 20px 15px;
    width: 100%;
    margin: auto;
  }

  .carousel-item.show-left {
    transform: translate(-50%, -50%) translateX(-220px) scale(0.8) !important;
  }

  .carousel-item.show-right {
    transform: translate(-50%, -50%) translateX(220px) scale(0.8) !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: auto !important;
    transform: none !important;


    bottom: -60px;
    width: 40px;
    height: 40px;

    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .carousel-control-prev {
    left: 30px;
  }

  .carousel-control-next {
    left: 90px;
  }

  /* hovering */
  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
  }

  body.light-mode .carousel-control-prev,
  body.light-mode .carousel-control-next {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.2);
  }

  body.light-mode .carousel-control-prev:hover,
  body.light-mode .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.25);
  }


  .carousel-item .card .card-body {
    overflow: scroll;
  }

  .carousel-item .card .card-title {
    font-size: 1em;
    font-family: Figtree;
    font-weight: 620;
    margin-bottom: 5px;
  }

  .carousel-item .card .card-text {
    line-height: 1.3;
    font-size: 0.85em;
  }

  .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 100%;
    margin: 0 5px !important;
  }

  .carousel-indicators {
    margin-left: 60% !important;
    margin-right: 0 !important;
  }

}


#index_part3 {
  height: 140vh;
  background:
    #161617;
  padding-top: 100px;
}

body.light-mode #index_part3 {
  background-color: #ffffff;
}

body.light-mode #card_index_3 {
  background-color: rgb(245, 245, 247);
}

body.light-mode #index_part3 p {
  color: rgb(65, 65, 65)
}

body.light-mode #index_part3_description {
  color: rgb(65, 65, 65)
}

#card_index_3 {
  margin: auto;
  background: rgb(0, 0, 0);
  color: aliceblue;
  padding-top: 140px;
  padding-left: 132px;
  padding-right: 132px;
  padding-bottom: 10%;
  display: block;
  height:fit-content;
  align-items: center;
  max-width: 80%;
  border-radius: 30px;
}


#index_part3_huge {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.015em;
  max-width: 800px;
  background: linear-gradient(160deg, rgb(214, 162, 78), #ff5b3e, rgba(255, 0, 0, 0.8), rgba(219, 95, 132, 0.914));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

body.light-mode #index_part3_huge {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.015em;
  max-width: 800px;
  background: linear-gradient(160deg, rgb(225, 90, 0), #b30000, rgb(184, 0, 37), rgba(249, 76, 127, 0.914));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

#index_part3_description {
  font-size: 21px;
  line-height: 1.381002381;
  font-weight: 600;
  letter-spacing: .011em;
  max-width: 60%;
  color: #86868b;
}

.index_part3_content {
  display: flex;
  justify-content: space-between;
  /*average distributed the area*/
  margin-top: 60px;
  flex-direction: row;
  /*make the 3 blocks to be in 1 row */
  gap: 100px;
  /*space between the 3 blocks */
}

.column {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  text-align: left;
  font-size: 21px;
  line-height: 1.381002381;
  font-weight: 600;
  letter-spacing: .011em;
  color: #86868b;
}

.icon_index_3 {
  max-width: 45px;
  max-height: 45px;
  min-width: 35px;
  min-height: 35px;
  margin-bottom: 2.5vh;
}

body.light-mode .icon_index_3 {
  filter: invert(1) brightness(0.8);
}

#icon-firework {
  padding-bottom: 0.8vh;
  margin-bottom: 1.8vh;
}



@media (max-width: 1024px) {

  #index_part3 {
    height: fit-content !important;
    padding-bottom: 25%;
  }

  #card_index_3 {
    width: 90%;
    margin: auto;
    padding-top: 40px;
    padding-left: 30px;
    padding-right: 0px;
    display: block;
    align-items: center;
    height: fit-content !important;
    margin-bottom: 0;
  }

  #index_part3_huge {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0em;
    max-width: 90% !important;
  }

  body.light-mode #index_part3_huge {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0em;
    max-width: 90% !important;
  }

  #index_part3_description {
    font-size: 20px;
    line-height: 1.4211026316;
    font-weight: 600;
    letter-spacing: .012em;
    max-width: 90%;
    margin-bottom: 12%;
  }

  .index_part3_content {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    flex-direction: column;
    gap: 30px;
  }

  .column {
    font-size: 18px;
    max-width: 90%;
  }
}