body { 
  padding-top: 75px;
  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;

}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* outline: solid 1px; */
}

.z-1000{
  z-index: 1000;
}

img{
	vertical-align: middle;
	max-width:100%;
	height:auto;
}
.img-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

@font-face {
  font-family: 'Ephesis';
  src: url('https://static.igem.wiki/teams/5898/fonts/ephesis-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'NotoSans',sans-serif;
    src: url('https://static.igem.wiki/teams/5898/fonts/notosans/notosans-regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Times New Roman';
    src: url('https://static.igem.wiki/teams/5898/fonts/times.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* 移除點擊後的 show 類別效果（可選） */
.dropdown-menu {
  transition: all 0.3s ease;
}


.home-logo{
  max-width: 55px;
}
.left-aligned { margin-left: auto; }
.bg-light { background-color: rgba(251, 251, 253, 0) 0%, !important; }
.bg-hero { background-color: #45b06cff; }
.bg-dark { background-color: rgb(133, 163, 203) !important; }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* 文字大小語意化命名 */
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size:18px }
.text-lgb { font-size:18px; font-weight: bold;}
.text-24 { font-size: 24px; font-weight: bold;}
.text-20 { font-size: 20px;}
.text-30{
  font-size: 30px; font-weight: bold;
}
.text-xl { 
  font-weight: bold;
}

.text-b{
  font-weight: bold;
}
.text-xl	{ font-size: 36px; }
.text-2xl	{ font-size: 48px; }

.main-color { color: #0443a9; }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }

.navbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(47, 137, 210, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.navbar-toggler{
  border: none;
}
.navbar:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
}

.nav-link{
  color:white;
  background:rgb(133, 163, 203) ;
}
@media(max-width:992px){
  .nav-link{
    padding: 15px;
    text-align: center;
  }
  .navbar-nav{
    backdrop-filter: blur(20px);
  }
}

.dropdown-menu{
      --bs-dropdown-link-active-bg: #689ded;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color:#c0d9ff;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}


/* home */
:root {
  --cr-main-1: #5bc3d0;
  --cr-main-2: #deabed;
  --cr-1: color-mix(in srgb, var(--cr-main-1), var(--cr-main-2) 20%);
  --cr-2: color-mix(in srgb, var(--cr-main-1), var(--cr-main-2) 35%);
  --cr-3: color-mix(in srgb, var(--cr-main-1), var(--cr-main-2) 50%);
  --cr-4: color-mix(in srgb, var(--cr-main-1), var(--cr-main-2) 65%);
  --cr-5: color-mix(in srgb, var(--cr-main-1), var(--cr-main-2) 80%);
}

html,
body {
  font-family: 'NotoSans',sans-serif;
  scroll-padding-top: 80px;
}

body {
  background: rgb(216, 236, 241);
}


.blobs {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; 
  pointer-events: none;
  filter: blur(140px);
}

.blob {
  width: max(240px, 28vw);
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.blob:nth-of-type(1) {
  background: var(--cr-main-1);
}

.blob:nth-of-type(2) {
  background: var(--cr-main-2);
}

.blob:nth-of-type(3) {
  background: var(--cr-1);
}

.blob:nth-of-type(4) {
  background: whitesmoke;
}

.blob:nth-of-type(5) {
  background: var(--cr-3);
}

.blob:nth-of-type(6) {
  background: var(--cr-4);
}

.blob:nth-of-type(7) {
  background: var(--cr-2);
}

.hero-section{
  position:relative;
}

/* hero */
.hero{
  height:calc(100vh);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  overflow-x: hidden;
}

.hero-content{
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-content p{
  font-size: clamp(18px, 2vw, 25px);
  color:#2b668b;
  font-family:'Times New Roman', serif;
  text-align: center;
}
.hero-content img{
  max-width: 70%;
  width: 100%;
  height: auto;
}
.hero-img{
  perspective:1000px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out;
}
.hero-img img{
  height: 250px;
  transition:all .15s ease; 
}
.hero-img img:hover{
  transform:translateZ(40px) scale(1.1);
}

.d1{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.mask-top {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        to bottom, 
        rgba(251, 251, 253, 0) 0%,
        rgba(251, 251, 253, 0.05) 15%,
        rgba(251, 251, 253, 0.15) 25%,
        rgba(251, 251, 253, 0.3) 35%,
        rgba(251, 251, 253, 0.5) 45%,
        rgba(251, 251, 253, 0.7) 55%,
        rgba(251, 251, 253, 0.85) 65%,
        rgba(251, 251, 253, 0.95) 75%,
        rgba(251, 251, 253, 1) 85%
    );
    pointer-events: none; 

}


.bg-lighter {
    background-color: #fbfbfd;
}

.about_problem{
  overflow-x: hidden;
}
.home-title{
  font-weight: bold;
  font-size:clamp(30px, 3vw, 48px);
}


.introduce1-container {
  opacity: 0;
  transform: translateX(120px);
  transition: all 0.8s ease-out;
}

.introduce1-container.animate {
  animation: slideInLeft 1s forwards;
  animation-delay: 0.5s;
}


.introduce1{
  min-height:calc(100vh - 80px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e6e7e8;
  position: relative;
  padding: 40px 0px; /* 加上內距，避免內容緊貼邊緣 */
}

.mask-top1 {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(
        to top, 
        rgba(251, 251, 253, 0) 0%,
        rgba(251, 251, 253, 0.05) 15%,
        rgba(251, 251, 253, 0.15) 25%,
        rgba(251, 251, 253, 0.3) 35%,
        rgba(251, 251, 253, 0.5) 45%,
        rgba(251, 251, 253, 0.7) 55%,
        rgba(251, 251, 253, 0.85) 65%,
        rgba(251, 251, 253, 0.95) 75%,
        rgba(251, 251, 253, 1) 85%
    );
    pointer-events: none; /* 讓遮罩不會阻擋點擊事件 */
    z-index: -1;
}
.introduce1box{
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-img{
  max-width: 250px;
  height: auto;
}
.frame {
  position: relative;
  display: inline-block; 
  max-width: 480px;    
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 文字容器：絕對定位在圖片內 */
.caption1 {
  position: absolute;
  left: 13%;
  top: 22%;
  right: 12%;
  text-align: left;
  line-height: 1.2;
  color:#111827;
}


.line1 {
  display: block;
  font-size:clamp(18px, 2vw, 23px);
  font-family:'Times New Roman', serif;
  color:#072a62;
  text-align: justify;
}

#hill1,#hill2,#hill3,#hill4,#hill5,#hill6{
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    pointer-events:none;
    transition: transform 0.3s ease-out;
} 

.title1 {
  margin: 0 auto;        
  max-width: 900px;       
  text-align: left;       
  color:#072a62;

}


.homefont1 {
  font-family:'Times New Roman', serif;
  font-size: 40px;
}

.homefont2 {
  font-family: 'Ephesis', cursive;
  font-weight: 400;
  font-size: 75px;
  font-style: normal;
}

.home-p{
  font-size:clamp(14px, 2vw, 18px);
}


#content1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  margin: 0 20px;
}


@media (max-width: 768px) {

  .hero-content p{
    margin:10px 30px 10px 30px;
  }
  .hero-content img{
    max-width: 88%;
    
  }
  #content1 {
    flex-direction: column;   
    gap: 0px;               
    margin: 0 0px;
  }

  .title1 {
    text-align: center;
    
  }

  .homefont1 {
    font-size: 30px;
  }

  .homefont2 {
    font-size: 40px;
  }

  .frame {
    max-width: 80%;          
  }
  .problem-img{
    display: flex;
    justify-content: center;
  }
  .problem-img img{
    max-width: 70%;           
    height: auto;
  }
  
}


@media (max-width: 480px) {
  .frame {
    max-width: 100%;         
  }
}


.home-p{
  font-size:clamp(18px, 2vw, 28px);
  text-align: center;
}

.introduce2-container {
  opacity: 0;
  transform: translateX(120px);
  transition: all 0.8s ease-out;
}

.introduce2-container.animate {
  animation: slideInRight 1s forwards;
  animation-delay: 0.5s;
}

.introduce2{
  min-height:calc(100vh - 80px);
  color: #072a62;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e6e7e8;
  
}
.introduce2-container{
  max-width: 1000px;
}


.title2{
  position: relative;
  margin-bottom: 30px;
  text-align: right;
  height: 90px; 
  margin-right: 20px; 
  
}

.introduce2box{
  font-size:clamp(18px, 2vw, 23px);
  font-family:'Times New Roman', serif;
  color:#072a62;
  text-align: justify;
  margin: 20px 30px;
}

.introduce2-content{
  margin:0 20px 0 20px;
  text-align: left;
  
}
.introduce2-font1{
  font-family: 'Ephesis', cursive;
  font-weight: 400;
  font-size: 80px;
  font-style: normal;
  position: absolute;
  right: 80px;
}
.introduce2-font2{
  font-family:'Times New Roman', serif;
  font-size: 35px;
  position: absolute;
  top: 80px;
  right: 0;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .introduce2-font1 {
    font-size: 60px;
  }

  .introduce2-font2 {
    font-size: 25px;      
  }
  .introduce1,
  .introduce2 {
    padding: 50px 0px; 
  }
  
}

  .reveal-scale {
      opacity: 0;
      transform: scale(0.5);
      transition: all 0.8s ease;
  }
  .reveal-scale.animate {
      opacity: 1;
      transform: scale(1);
      transition-delay: 0.3s;
  }

    .reveal-scale2 {
      opacity: 0;
      transform: scale(0.6);
      transition: all 0.8s ease;
  }
  .reveal-scale2.animate {
      opacity: 1;
      transform: scale(1);
      transition-delay: 0.4s;
  }

.introduce3{
  min-height:calc(100vh - 80px);
  color: #072a62;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #e6e7e8 ;
  background-image: url("https://static.igem.wiki/teams/5898/img/map-img.webp");
  background-size: contain;    
  background-position: center;
  transition: background-image 0.5s ease; 
  background-repeat: no-repeat;
  padding-bottom:50px ;
  position: relative;
  
}


.introduce3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(
    to bottom,
    rgba(87, 128, 192, 0) 0%,        
    rgba(87, 128, 192, 0.1) 30%,     
    rgba(87, 128, 192, 0.4) 60%,     
    rgba(87, 128, 192, 0.8) 85%,     
    rgb(87, 128, 192) 100%         
  );
}



.introduce3-container{
  margin:0 20px;
  
}

.title3{
  text-align: center;
  position: relative;
}

.introduce3-content{
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.introduce3-content1{
  width: 70%;
}

@media (max-width: 768px) {
  .introduce3-content1{
    width: 90%;
  }

  .introduce3-content2{
    width: 90%;
  }
  
}
.introduce3-content2{
  width: 60%;
}
.introduce3-content p{
  text-align: center;
  font-family:'Times New Roman', serif;
  font-size:clamp(18px, 2vw, 23px);
}


.introduce3-font1{
  font-family: 'Ephesis', cursive;
  font-weight: 400;
  font-size: clamp(50px, 5vw, 80px);
  font-style: normal;
  padding-right: 20px;
}
.introduce3-font2{
  font-family:'Times New Roman', serif;
  font-size: clamp(25px, 5vw, 35px);
  padding-right: 20px;
}

.decoration3{
  max-width: 90px;
  height: auto;
  position: absolute;
  top:-60px;
  right: 0px;
}


@keyframes fadeInUp4 {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.introduce4-container{
  opacity: 0;
  transform: translateY(-100px);
  transition: all 0.5s ease;
}

.introduce4-container.animate {
  animation: fadeInUp4 1s forwards;
  animation-delay: 0.7s;
}


.introduce4{
 background: #5780c0;
  margin-top: -1px;
  letter-spacing: 1px;
  
}

.introduce4-container{
  margin: 0 auto;
  max-width: 870px;
  padding: 70px 20px 60px 20px;
  font-family:'Times New Roman', serif;
  color:white;
  font-size:clamp(18px, 2vw, 23px);
}

.introduce4-content{
  margin: 40px 50px;
}


.treatments-title{
  display: flex;
  justify-content: center;
}



@media (max-width: 768px) {
  .introduce4-content {
    margin: 30px 20px;
  }
}


.introduce5{
  margin: 0 auto;
  position: relative;
  background:#e6e7e8;
  background: #5780c0;
  color: white;
  display: flex;
  align-items: center;
}

.cards-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 0 auto;
  list-style-type: none;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 400px;
  perspective: 1000px;
}

.card-title {
  font-size: 1.5em;
  font-weight: 900;
  padding: 20px 0 0 20px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0,0,0,0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  
}

.flip-card-front {
  background: linear-gradient(to bottom,#9a3661,#ff9d88);
  color:white;
  
}

.flip-card-back {
  background: linear-gradient(to bottom,#9a3661,#ff9d88);
  color: white;
  transform: rotateY(180deg);
  
  
}

.card-img{
  width: 100%;
  height: auto;  
  display: block; 
}

.card-bg{
  background-image: linear-gradient(to bottom right, #5680e4, #dcf0fc);
}


@media (max-width: 768px) {
    .treatment-cards {
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
        gap: 0;
    }

    .cards-container {
        display: flex;
        gap: 20px;
        padding: 0 20px;
        width: max-content;
    }

    .treatment-cards li {
        flex: none;
        scroll-snap-align: start;
    }

    /* 滑動指示器 */
    .treatment-cards::after {
        content: '← click and Swipe to see more  →';
        display: block;
        text-align: center;
        color: white;
        font-size: 14px;
        margin-top: 15px;
        animation: fadeInOut 3s infinite;
    }
}



@media (max-width: 480px) {
    .card-title {
        font-size: 20px;
    }

    .home-p {
        font-size: 14px;
        padding: 15px;
    }
}

/* 滾動條樣式 */
.treatment-cards::-webkit-scrollbar {
    height: 8px;
}

.treatment-cards::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.treatment-cards::-webkit-scrollbar-thumb {
    background: #c4c6c7;
    border-radius: 10px;
}

.treatment-cards::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.box6 {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.5s ease;
}

.box6.animate {
  animation: slideInLeft 1s forwards;
}


@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.introduce6{
  color:white;
  background: #5780c0;
  margin: 0;
  text-align: right;
  position: relative; 
}

.introduce6-container{
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding: 0 60px;

}


.introduce6-container {
  opacity: 0;
  transform: translateX(120px);
  transition: all 0.8s ease-out;
}

.introduce6-container.animate {
  animation: slideInRight 1s forwards;
  animation-delay: 0.3s;
}


.introduce6-content{
  max-width: 700px;
  font-family:'Times New Roman', serif;
  font-size:clamp(18px, 2vw, 23px);
  letter-spacing: 1px;
}


.introduce6-font1{
  font-family: 'Ephesis', cursive;
  font-weight: 400;
  font-size: clamp(60px, 6vw, 90px);
  font-style: normal;
  padding-right: 20px;
}
.introduce6-font2{
  font-family:'Times New Roman', serif;
  font-size: clamp(25px, 5vw, 35px);
  padding-right: 20px;
}



@media (max-width: 480px) {
   .introduce6-container {
        padding: 0 50px 0 30px;
    }

    .introduce6-font2 {
        padding-right: 0px;
    }
}

.introduce7{
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden; 
  background: 
    url("https://static.igem.wiki/teams/5898/img/goal-background.webp"),
    linear-gradient(to bottom,#5780c0,white);
  background-size: contain;    /* 填滿容器 */
  background-position: center;
  transition: background-image 0.5s ease; /* 平滑過渡 */
  background-repeat: no-repeat;
  color:#072a62;
  font-family: 'Times New Roman', serif;

}

.mask7 {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom, 
        rgba(251, 251, 253, 0) 0%,
        rgba(251, 251, 253, 0.05) 15%,
        rgba(251, 251, 253, 0.15) 25%,
        rgba(251, 251, 253, 0.3) 35%,
        rgba(251, 251, 253, 0.5) 45%,
        rgba(251, 251, 253, 0.7) 55%,
        rgba(251, 251, 253, 0.85) 65%,
        rgba(251, 251, 253, 0.95) 75%,
        rgba(251, 251, 253, 1) 85%
    );
    pointer-events: none; 
    z-index: 1;
}
.goal{
  font-weight: bold;
  position: absolute;
  top: 30%;
  transition: font-size 0.05s linear;
  white-space: pre-line; 
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.2;
  max-width: 95vw;
  font-size: 500px;

}


@media (max-width: 768px) {
    .goal {
        font-size: 120px;
        top: 40%;
    }
    
    
}


@media (max-width: 480px) {
    .goal {
        font-size: 80px;
        top: 42%;
    }
    

}

  @keyframes smooth-pulse {
      0%, 100% {
          transform: scale(1);
          opacity: 1;
      }
      50% {
          transform: scale(1.08);
          opacity: 0.9;
      }
  }

.pulse-element {
    animation: smooth-pulse 2s ease-in-out infinite;
}

.introduce8{
  display: flex;
  justify-content: center;
  position: relative;
}

.decoration8{
  position: absolute;
  top:-60px;
  z-index: 6;
  
}
.mask8 {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(
        to top, 
        rgba(251, 251, 253, 0) 0%,
        rgba(251, 251, 253, 0.05) 15%,
        rgba(251, 251, 253, 0.15) 25%,
        rgba(251, 251, 253, 0.3) 35%,
        rgba(251, 251, 253, 0.5) 45%,
        rgba(251, 251, 253, 0.7) 55%,
        rgba(251, 251, 253, 0.85) 65%,
        rgba(251, 251, 253, 0.95) 75%,
        rgba(251, 251, 253, 1) 85%
    );
    pointer-events: none; 
    z-index: -1;
}

.frame8 {
  margin-top: 40px;
  position: relative;
  display: inline-block; 
  max-width: 600px;
  
}
.line8{
  display: block;
  font-size:clamp(18px, 3vw, 30px);
  font-family:'Times New Roman', serif;
  color:#072a62;
  text-align: center;
  line-height: 1.5;
}
.frame8 img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.caption8 {
  position: absolute;
  left: 13%;
  top: 31%;
  right: 13%;

}

@media (max-width: 768px) {
  
  .frame8 {
    max-width: 90%;         
  }

}


.introduce9 {
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin: 50px 0 80px 0;
  justify-content: center;
  
}

.introduce9 img{
  max-width: 600px;
}
.introduce9-content {
  max-width: 700px;          
  margin: 0 40px;            
  text-align: center;        
  font-family: 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: 1px;
  color: #072a62;
}

@media (max-width: 768px) {
  .introduce9-content {
    margin: 0 30px; 
  }
  .introduce9 img{
    max-width: 400px;
  }
  .introduce2 {
    padding:0 10px;
  }

}


.video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}


.video-frame {
  width: 100%;
  width: 560px;
  aspect-ratio: 16 / 9;
}


.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


@media (max-width: 768px) {
  .video-frame {
    margin: 0 30px;
  }
}


/* footer */
.footer_heading{
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons{
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 40px 0;
}
.icon{
  width: 50px;
  height: 50px;
  display:inline-flex;
  align-items: center;
  justify-content: center;
  color:#fff;
  border-radius: 50%;
  
  outline:3px solid #fff;
  transition-property: outline-offset,outline-color,background-color;
  transition-duration: .25s;
}
.icon:hover{
  outline-offset:7px;
}
.icon:hover img{
  animation: shake .25s;
}

.instagram:hover{
  background-image: radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285a3b 90%);
  outline-color:#a02d76;
}

.gmail:hover{
  background-image:  linear-gradient(to right, #5bba28, #7bfe97);
  outline-color:#2da055;
}

.home:hover{
  background-image:  linear-gradient(to right, #2854ba, #7beafe);
  outline-color:#3955c4;
}
@keyframes shake{
  10%{transform:rotate(15deg)}
  20%{transform:rotate(15deg)}
  30%{transform:rotate(15deg)}
  40%{transform:rotate(15deg)}
}



.main-container {
  display: flex;
  position: relative;
}

.side-nav {
  width: 280px;
  padding: 20px;
  position: sticky;
  top: 80px;
  height: fit-content;
  overflow-y: auto;
  z-index: 100;
}

.list-container {
  position: relative;
  list-style: none;
  padding: 0;
  transition-property: all;
  transition-duration: 1s;
  margin-top: 20px;
}

.side-title{
  margin-left:8px ;
  font-weight: bold;
  
}
.side-nav li {
  height: 4rem;
  border-left: 5px solid #b0b0b0;
  display: flex;
  align-items: center;
}

.side-nav a,
.offcanvas-body a { 
  text-decoration: none;
  width: 100%;
  color: #333;
  padding: 9px 18px;
  display: inline-block;
  transition: 0.3s;
}

.offcanvas-header{
  background: #4a90e2;
}
.side-nav a:hover,
.offcanvas-body a:hover {
  background: #b5d0f8;
}


.offcanvas-title{
  color:white;
  font-weight: bold ;
}

.list a.active {
  color: #09967f;  
  font-weight: bold;
  background: #ffffff;
  border-radius: 0 20px 20px 0;
}

#indicator {
  position: absolute;
  width: 4px;
  height: 4rem;
  background: #09967f;
  border-radius: 30px;
  top: 0;
  left:2px;
  transform: translateX(-50%);
  transition: top 0.3s ease, height 0.3s ease;
}

.btn-primary {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  padding: 0;
  background: #4a90e2;
}

.side-btn-fixed {
  position: fixed;
  top: 100px;
  left: 10px;
  z-index: 200;
}


#mobileSidebar {
  width: 280px;
  background-color: #f8f9fa;
  border-radius: 0 10px 10px 0;
}


.accordion-button {
  background-color: #c1d6f3; 
}


.accordion-button:hover {
  background-color: #ececec;
}


.accordion-button:not(.collapsed) {
  background-color: #4a90e2; 
  color: #fff; 
  box-shadow: none; 
}


/* 內容區塊 */
.content {
  flex: 1;
  padding: 45px;
  background: white;
  border-radius: 30px 30px 0 0;
  margin-left: 20px;
  margin-right: 20px;
  min-height: calc(100vh - 320px);
  padding: 45px;
}


@media (max-width: 768px) {
  .content {
    margin-left: 0;
    margin-right: 0;
    padding: 35px;
  }
}

section {
  min-height: 20vh;
  height: auto;     
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
}





/* human-practices */

.human-practices-ul li {
  margin-bottom: 10px; 
  background-image: linear-gradient(315deg, #7ab1ef, #cee3ff);
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  border-radius: 20px;
  padding: 10px 20px;
}

.human-practices-ul li:hover {
  background-image: linear-gradient(315deg, #a1c5f3 0%, #7ab1ef 74%);
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.2),
   4px 4px 5px 0px rgba(0,0,0,.2);
}

.table-container {
    padding: 20px 20px 20px 0;
    margin-right: 20px;
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.table-container thead tr {
    background: linear-gradient(135deg, #4facfe 0%, #8ad6da 100%);
    color: white;
    font-weight: 600;
}

.table-container th, td {
    padding: 15px 20px;
    border-bottom: 1px solid #e8ecf0;
    transition: all 0.3s ease;
}

.table-container th {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-container tbody tr {
    transition: all 0.3s ease;
}

.table-container tbody tr:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table-container tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.table-container tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}


:root {
      --gutter: 16px;
      --card-radius: 14px;
      --shadow: 0 8px 30px rgba(0,0,0,.08);
      --brand: #2F6FEB;
      --muted: #8FA1B7;
      --bg: #f6f7f9;
    }

    .engineering-header {
      width: 100%;
      position: relative;
      overflow: hidden;
    }


  /* 滾動指示器 */
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: #072a62;
        text-align: center;
        animation: bounce 2s infinite;
    }

    .scroll-indicator i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: block;
    }


        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }
    


/* engineering */
   /* 主容器 - 水平滾動 */
    .horizontal-container {
      height: 400vh; 
      position: relative;
    }
    .project-aim{
      padding: 20px 20px 10px 20px;
      margin: 10px 35px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(80px);
      -webkit-backdrop-filter: blur(40px);
      box-shadow: 0 7px 30px rgba(0, 0, 0, 0.2);
      border: 1px solid white;
    }


    @media (max-width: 480px) {
      .project-aim{
        margin: 10px 10px;
      }

    }
    .project-aim h3{
      font-weight: bold;
    }

    .layout {
      position: sticky;
      top: 80px;
      height: calc(100vh - 80px);
      display: grid;
      grid-template-columns: 380px 1fr;
      gap: var(--gutter);
      padding: 16px 16px 16px 16px;
      overflow: visible;
    }
    

    
   
    .left svg {
      width: 100%;
      height: 100%;
      display: block;
      position: relative;
    }
   
    .label {
      font: 700 14px/1.2 "NotoSans",sans-serif;
      fill: #4a5568;
    }
    
    .word {
      font: 600 14px/1 "NotoSans",sans-serif;
      fill: #415066;
    }
  
    .viewport {
      position: relative;
      height: 100%;
      overflow: hidden;
    }
    

    .btn-engineering {
      border: 0;
      padding: 10px 14px;
      border-radius: 10px;
      background: #111827;
      color: #fff;
      cursor: pointer;
      font-weight: 600;
      transition: opacity 0.3s ease;
    }
  
    
    /* Footer */
    footer {
      padding: 40px 20px;
      background: #111827;
      color: #fff;
      text-align: center;
    }
    
    @media (max-width: 768px) {
      .layout {
        grid-template-columns: 1fr;
      }
      

    }

  

    .engineering-img {
      width: 100%;                
      
      display: flex;
      justify-content: center;       
      align-items: center;           
    }

 
    .engineering-img img {
      width: 100%;
      object-fit: contain;          
      object-position: center;
      display: block;
      max-width: 500px;
    }
   

    .engineering-box {
      display: flex;
      min-height: 100vh;
      gap: 2rem;
      padding: 2rem;
    }

    .left {
      position: sticky;
      top: 90px;
      flex: 0 0 400px;
      height: calc(100vh - 100px);
      background: white;
      border-radius: 1rem;
      padding: 1.5rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    
    .left h3 {
      margin-top: 1rem;
      color: var(--brand);
      font-size: 1.5rem;
      position:absolute;
      top:10px;
      left: 5%;
      font-weight: bold;
    }
    
    .left svg {
      width: 100%;
      height: auto;
    }
    
    .label {
      fill: #1f2937;
      font-size: 16px;
      font-weight: 500;
      pointer-events: none;
    }
    
    #trackBase {
      stroke: #e5e7eb; 
      stroke-width: 20;
    }
    
    #trackProgress {
      stroke: #4797ff;
      stroke-width: 10;
      stroke-dasharray: 0 10000;
      transition: stroke-dasharray 0.1s linear;
    }
    
    .node {
      cursor: pointer;
      transition: all 0.3s;
      fill: white;
      stroke: var(--brand);
      stroke-width: 2;
      pointer-events: all;
    }
    
    .node:hover {
      fill: #5cd2f6;
      r: 11;
      filter: drop-shadow(0 0 8px #5ca6f6);  
      transition: all 0.3s ease;
    }
    
    .node.active {
      animation: pulse 1.5s ease-in-out infinite;
    }
    
    @keyframes pulse {
      0%, 100% {
        fill: white;
        filter: drop-shadow(0 0 0 transparent);
      }
      50% {
        fill: var(--glow);
        filter: drop-shadow(0 0 8px var(--glow));
      }
    }
    
    .right {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    
    .section {
      min-height: 100vh;
      background: white;
      border-radius: 1rem;
      padding: 2.5rem;
      margin-bottom: 2rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .section figure{
      display: flex;
      align-items: center;
      flex-direction: column;
    }

    .section figure img{
      max-width: 500px;
    }

    .section h2 {
      color: var(--brand);
      margin-bottom: 1.5rem;
      font-size: 2.5rem;
    }
    
    .section h4 {
      color: #0443a9;
      font-weight: bold;
    }
    

    .section p {
      line-height: 1.8;
      margin-bottom: 1.5rem;
      color: #4b5563;
      font-size: 1.1rem;
    }
    
    .section ul {
      margin-left: 2rem;
      margin-bottom: 1.5rem;
      color: #4b5563;
    }
    
    .section li {
      margin-bottom: 0.8rem;
      line-height: 1.8;
      font-size: 1.05rem;
    }
    
    @media (max-width: 1024px) {
      .engineering-box {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
      }
      
      .left {
        position: relative;
        top: 0;
        flex: 0 0 auto;
        height: auto;
        max-height: none;
        padding: 1rem;
      }
      
      .left svg {
        max-height: 300px;
      }
      
      .left h3 {
        font-size: 1.2rem;
      }
      
      .section {
        min-height: auto;
        margin-bottom: 1rem;
      }
      
      .section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
      }
      
      .section h3 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
      }
      
      .section p {
        font-size: 1rem;
        margin-bottom: 1rem;
      }
      
      .section ul {
        margin-left: 1.5rem;
      }
      
      .section li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
      }
    }
    
    @media (max-width: 768px) {
      .engineering-box {
        padding: 0.5rem;
        gap: 0.5rem;
      }
      
      .left {
        padding: 0.8rem;
      }
      
      .left svg {
        max-height: 250px;
      }
      
      .left h3 {
        font-size: 1rem;
        margin-top: 0.5rem;
      }
      
      .label {
        font-size: 20px;
      }
      
      .section {
        padding: 2rem 3rem;
        margin-bottom: 0.8rem;
      }
      
      
      .section h3 {
        font-size: 1.1rem;
      }
      
      
    }
    
    @media (max-width: 480px) {
      .engineering-box {
        padding: 0.25rem;
        gap: 0.5rem;
      }
      
      .left {
        padding: 0.5rem;
        border-radius: 0.5rem;
      }
      
      .left svg {
        max-height: 200px;
      }
      
      .left h3 {
        font-size: 0.9rem;
      }
      
      .label {
        font-size: 8px;
      }
      
      .node {
        r: 7;
      }
      
      .node:hover {
        r: 9;
      }
      
      .section {
        padding: 1rem 2rem;
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
      }
      
      .section h2 {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
        margin-top: 20px;
      }
      
      .section h3 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
      }
      
      .section p {
        line-height: 1.6;
        margin-bottom: 0.8rem;
      }
      
      .section ul {
        margin-left: 1.2rem;
        margin-bottom: 0.8rem;
      }
      
      .section li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
      }
    }

.page-header{
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 90px;
  
}
.header-content {
  position: relative;   
  display: inline-block; 
}

.header-img {
  display: block;
  height: 400px;
  border-radius: 500px;
}

/* team-member */
.about-title {
  font-size: 7.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  position: absolute;
  bottom: -30px;        
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgb(8 42 123 / 55%) 30%,
    rgb(255 255 255 / 0%) 80%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.carousel-container {
	width: 100%;
	max-width: 1200px;
	height: 450px;
	position: relative;
	perspective: 1000px;
  margin: 0 auto;
  margin-bottom: 180px;
  
}

.carousel-track {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: 20px 0;
  overflow-x: hidden;
}

.card {
	position: absolute;
  max-width: 307px;        
  aspect-ratio: 307 / 384; 
  height: 384px;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
	object-fit: cover;
  display: block;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.card.center img {
	filter: none;
}

.card.left-2 {
	z-index: 1;
	transform: translateX(-400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.left-2 img {
	filter: grayscale(100%);
}

.card.left-1 {
	z-index: 5;
	transform: translateX(-200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.left-1 img {
	filter: grayscale(100%);
}

.card.right-1 {
	z-index: 5;
	transform: translateX(200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.right-1 img {
	filter: grayscale(100%);
}

.card.right-2 {
	z-index: 1;
	transform: translateX(400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.right-2 img {
	filter: grayscale(100%);
}

.card.hidden {
	opacity: 0;
	pointer-events: none;
}

.member-info {
	text-align: center;
	margin-top: 10px;
	transition: all 0.5s ease-out;
}

.member-name {
	color: rgb(8, 42, 123);
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 10px;
	position: relative;
	display: inline-block;
}

.member-name::before,
.member-name::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 90px;
	height: 2px;
	background: rgb(8, 42, 123);
  overflow-x: hidden;
}

.member-name::before {
	left: -120px;
}

.member-name::after {
	right: -120px;
}

.member-role {
	color: #848696;
	font-size: 1.2rem;
	font-weight: 500;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 10px 0;
	margin-top: -15px;
	position: relative;
}
.dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(8, 42, 123, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: rgb(8, 42, 123);
	transform: scale(1.2);
}

.nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(8, 42, 123, 0.6);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
	font-size: 1.5rem;
	border: none;
	outline: none;
	
}

.nav-arrow:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
	left: 20px;

}

.nav-arrow.right {
	right: 20px;
	padding-left: 3px;
}

@media (max-width: 768px) {
  .carousel-track{
    margin: 0px;
    height: 80%;
  }
	.about-title {
		font-size: 4.5rem;
	}

	.card {
		width: 224px;
		height: 280px;
    
	}

	.card.left-2 {
		transform: translateX(-250px) scale(0.8) translateZ(-300px);
	}

	.card.left-1 {
		transform: translateX(-120px) scale(0.9) translateZ(-100px);
	}

	.card.right-1 {
		transform: translateX(120px) scale(0.9) translateZ(-100px);
	}

	.card.right-2 {
		transform: translateX(250px) scale(0.8) translateZ(-300px);
	}

	.member-name {
		font-size: 2rem;
	}

	.member-role {
		font-size: 1.2rem;
	}

	.member-name::before,
	.member-name::after {
		width: 50px;
	}

	.member-name::before {
		left: -70px;
	}

	.member-name::after {
		right: -70px;
	}
}


/* nootbook */
/* TIMELINE */
.timeline {
    margin: 0 auto;
}

.timeline ul {
    
    padding: 80px 0;
    border-radius: 20px;
    position: relative;
}

.timeline ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.05"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.03"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.timeblock {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.timeblock::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, #e2e8f0);
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 3px solid #fff;
}

.timeblock.in-view::after {
    background: linear-gradient(135deg, #5b7ff4, #6bcbff);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(91, 117, 244, 0.4);
}

.notebook-content {
    position: relative;
    bottom: 0;
    width: 550px;
    padding: 25px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.notebook-content::before {
    content: "";
    position: absolute;
    bottom: 12px;
    width: 0;
    height: 0;
    border-style: solid;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.timeblock:nth-child(odd) .notebook-content {
    left: 35px;
    transform: translate3d(250px, 0, 0) rotateY(15deg);
}

.timeblock:nth-child(odd) .notebook-content::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #fff transparent transparent;
}

.timeblock:nth-child(even) .notebook-content {
    left: -579px;
    transform: translate3d(-250px, 0, 0) rotateY(-15deg);
}

.timeblock:nth-child(even) .notebook-content::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #fff;
}

.timeblock.in-view .notebook-content {
    transform: none;
    visibility: visible;
    opacity: 1;
}

time {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeblock p {
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.timeblock ul {
    background: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.timeblock ul li {
    list-style: none;
    padding: 8px 0;
    color: #718096;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
    
}

.timeblock ul li::before {
    content: '•';
    color: #003cff;
    font-weight: bold;
    position: absolute;
    left: 0;
}
.timeblock ul li ul li::before {
  content: '○';         
  color: #003cff;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.timeblock ul li ol {
  list-style-type: decimal; 
}


.timeblock b {
    color: #45454e;
}

.notebook-table {
    overflow-x: auto;
    overflow-y: visible;
    margin: 15px 0;
    border-radius: 8px;
    max-width: 100%;
    width: 100%;
    position: relative;
    /* 強制顯示滾動條 */
    scrollbar-width: auto;
    scrollbar-color: #9eb2c4 #f0f4f8;
}

/* Webkit 滾動條樣式 */
.notebook-table::-webkit-scrollbar {
    height: 12px;
    width: 12px;
}

.notebook-table::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.notebook-table::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.notebook-table::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.notebook-table table {
    min-width: 470px; 
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.notebook-table thead tr {
    background: linear-gradient(135deg, #4facfe 0%, #8ad6da 100%);
    color: white;
    font-weight: 600;
}

.notebook-table th, 
.notebook-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e8ecf0;
    white-space: nowrap;
    font-size: 16px;
}

.notebook-table th {
    
    letter-spacing: 0.5px;
    font-size: 12px;
}

.notebook-table tbody tr {
    transition: all 0.3s ease;
}

.notebook-table tbody tr:hover {
    background-color: #eff0f1;
}

/* Hover Effects */
.notebook-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.timeblock:nth-child(odd) .notebook-content:hover {
    transform: translateY(-5px) scale(1.01);
}

.timeblock:nth-child(even) .notebook-content:hover {
    transform: translateY(-5px) scale(1.01);
}

/* Enhanced Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(91, 109, 244, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(244, 91, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 91, 105, 0); }
}

.timeblock.in-view::after {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media screen and (max-width: 1000px) {
    .notebook-content {
        width: 350px;
    }
    .timeblock:nth-child(even) .notebook-content {
        left: -399px;
    }
}

@media screen and (max-width: 800px) {
    .notebook-content {
        width: 280px;
    }
    .timeblock:nth-child(even) .notebook-content {
        left: -329px;
    }
}

@media screen and (max-width: 600px) {
    .timeline ul {
        padding: 20px 15px;
    }
    
    .timeblock {
        margin-left: 15px;
    }
    
    .notebook-content {
        width: calc(100vw - 90px);
        max-width: 310px;
    }
    
    .timeblock:nth-child(even) .notebook-content {
        left: 35px;
    }
    
    .timeblock:nth-child(even) .notebook-content::before {
        left: -15px;
        right: auto;
        border-width: 8px 16px 8px 0;
        border-color: transparent #fff transparent transparent;
    }

    .timeblock:nth-child(odd) .notebook-content,
    .timeblock:nth-child(even) .notebook-content {
        transform: translate3d(0, 50px, 0);
    }
    .timeblock:nth-child(odd) .notebook-content:hover{
      transform: none;
    }

    .timeblock:nth-child(even) .notebook-content:hover{
      transform: none;
    }
  
    .timeblock.in-view .notebook-content {
        transform: none;
    }
}

/* Additional Visual Enhancements */
.notebook-content {
    position: relative;
    overflow: hidden;
}

.notebook-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.notebook-content:hover::after {
    left: 100%;
}

/* Loading Animation */
.timeline {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

caption {
  caption-side: top;
  font-weight: bold;
  margin-bottom: 10px; 
}

.carousel-container.card img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.carousel-container.card:hover img {
  transform: rotateY(180deg);
  opacity: 0.7;
}

.notebook-figure{
  margin: 30px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notebook-figure img{
  margin-bottom: 20px;
}

figcaption{
  color:#000000;
  text-align: center;
}


.Clinical-Insight-img{
  display: flex;
  flex-direction: column; 
  align-items: center;   
}

.gdimg-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap:20px
}
.gdimg-grid figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gdimg-grid figure img{
  max-width: 250px;
  max-height:140px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.gdimg-grid h4{
  font-weight: bold;
  font-size: 20px;
}


.kgsh-content{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.kgsh-content img{
  max-width: 360px;
  max-height:200px;
  border-radius: 15px;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .kgsh-content img{
    max-width: 300px;
  }

}
.general-img{
  max-width: 350px; 
  border-radius: 10px;
  margin: 0 10px 10px 10px;
}

@media (max-width: 768px) {
  .general-img{
    max-width: 300px;
  }
}

.elementary-content{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.elementary-content img{
  max-width: 450px;
  max-height:200px;
  border-radius: 15px;
  
}
.club-fair{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;

}
.club-fair img{
  max-width: 350px;
  max-height:150px;
  border-radius: 15px;
}

#collapse2-1 ul{
  margin-bottom: 2rem;
  list-style-type: disc;
}

.contribution{
  margin:10px 60px 0 60px;
}

@media(min-width:1400px){
  .container{
    max-width:1720px;
  }
}

.contribution a {
  color: #0443a9;         
  text-decoration: none;  
}

.contribution a:hover {
  color: #48b5bd !important;       
  text-decoration: underline; 
  z-index: 6;
}

.controbution-img{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 30px;
}

.controbution-img img{
  width: 600px;
}

@media (max-width: 768px) {
  .contribution{
    margin:10px 0 0 0;
  }
}

.contribution-table thead tr th{
  font-size: 16px;
}

.contribution-table td {
  white-space: wrap;
}
.con-td3{
  text-align: left;
  max-width: 700px;
}

.attributions-container{
  margin: 0 50px 50px 50px;
  padding: 0px 20px 10px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 7px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid white;
}

@media (max-width: 768px) {
  .attributions-container{
    margin:0 10px 20px 10px;
  }
}
.model ol{
  margin-bottom: 20px;
}

.model li{
  margin-bottom: 12px;
}


.description li{
  margin-bottom: 10px;
}

.ol-color section li::marker{
  color:#1b8acf;
  font-weight: bold;
  font-size: 20px;
}

.results-img{
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 30px 20px 30px 20px;
}
.results-img img{
  max-height: 300px;
}

.results-img img{
  margin-bottom: 10px;
}



.sequence1-color{
  background-color: #ece997;
  border-radius: 5px;
}

.sequence2-color{
  background-color: #97e3ec;
  border-radius: 5px;
}
.model-img{
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 30px 20px 20px 20px;
}
.model-img iframe{
  max-width: 560px;
  margin: 30px 20px 20px 20px;
}

.video-box {
  max-width: 560px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 比例 */
  height: 0;
  overflow: hidden;
  
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.colored-list > li::marker {
  color: #0443a9; 
  font-weight: bold;
}

.Subheading{
  color:#0443a9;
}

.application-ol> li::marker{
  color: #0443a9; 
  font-weight: bold;
  font-size: 18px;
}

.li-bold > li::marker{
  font-weight: bold;
}



.carousel-wrapper {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    max-height:200px;
}

.carousel-container-footer {
    overflow: hidden;
    position: relative;
}

.carousel-track2 {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}


.carousel-track2:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}




.logo-item {
    flex: 0 0 250px;
    height: 130px;
    margin: 10px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.logo-item img {
    max-width: 100%;     
    max-height: 100%;    
    object-fit: contain; 
}
.logo-item:hover {
    border-color: #2473b9;
}

/* 手機上加快速度 */
@media (max-width: 768px) {
    .carousel-track2 {
        animation: scroll 17s linear infinite;
    }
    .logo-item {
        flex: 0 0 140px;
        height: 100px;
        margin: 0 15px;
    }
}

.big-container{
  overflow-x: hidden;
}



.exploremore {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; 
  gap: 20px;
  padding: 30px 0;
}

.explore-item {
  text-align: center;
  text-decoration: none;
  color: white;
  width: 22%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.explore-item p {
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 20px;
  color:#09419c;
  font-family:'Times New Roman', serif;
}


.explore-item:hover img {
  transform: scale(1.1);
}


@media (max-width: 1024px) {
  .explore-item {
    width: 45%; 
  }
}

@media (max-width: 600px) {
  .explore-item {
    width: 50%; 
  }
}

.a-link{
  color:#0D6EFD !important;
}




/* 滑鼠互動粒子的樣式 */
.mouse-particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none; /* 不阻擋滑鼠事件 */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                0 0 30px rgba(255, 255, 255, 0.4);
    animation: mouseSparkle 1s ease-out forwards;
}

@keyframes mouseSparkle {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}


.image-sparkle-container{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 70px);
}
.image-sparkle-container img{
  max-width: 62%;
}


.awards-box{
  background:#121a31;
  overflow-x: hidden;
}


.sparkle-color {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
}

.sparkle-colored {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: sparkleColor 3s ease-in-out infinite;
}

@keyframes sparkleColor {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.sparkle-colored:nth-child(1) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 25%; left: 6%; 
    animation-delay: 0s; 
}
.sparkle-colored:nth-child(2) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 75%; left: 80%; 
    animation-delay: 0.4s; 
}
.sparkle-colored:nth-child(3) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 52%; left: 12%; 
    animation-delay: 0.8s; 
}
.sparkle-colored:nth-child(4) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 15%; right: 20%; 
    animation-delay: 1.2s; 
}
.sparkle-colored:nth-child(5) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 84%; left: 17%; 
    animation-delay: 1.6s; 
}
.sparkle-colored:nth-child(6) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 40%; right: 10%; 
    animation-delay: 2s; 
}

.sparkle-colored:nth-child(7) { 
    background: #f5dd7f; 
    box-shadow: 0 0 20px #ffd93d;
    top: 45%; left: 25%; 
    animation-delay: 2.3s; 
}


@media (max-width: 768px) {
  .image-sparkle-container img {
    max-width: 100%;
  }

  .sparkle-colored {
      width: 8px;
      height: 8px;
  }

  .image-sparkle-container{
    padding: 40px 0 20px 0;
  } 
}

@media (max-width: 480px) {
  .image-sparkle-container img {
    max-width: 105%;
    margin: 20px 0;
  }
}






.group-photo{
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, #fff 0%, #5092c7 70%, #0b375c 100%);
  margin: 40px 0 40px 0;
}

.group-photo img{
  border-radius: 15px;
  max-width: 50%;
  margin: 40px 0;
}


@media (max-width: 1024px) {
  .group-photo img {
    max-width: 70%;
  }
}


@media (max-width: 768px) {
  .group-photo img {
    max-width: 85%;
  }
  .group-photo{
    margin: 20px 0 40px 0;
  }
}


@media (max-width: 480px) {
  .group-photo img {
    max-width: 90%;
    margin: 20px 20px;
  }
}

:root {
    --bg-primary: #0a1628;
    --bg-secondary: #112240;
    --accent: #64b5f6;
    --accent-glow: rgba(100, 181, 246, 0.3);
    --overlay: rgba(10, 22, 40, 0.85);

    --bg-card: #112240;
    --bg-highlight: #1a2f4d;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --border: rgba(100, 181, 246, 0.2);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}
.judge-comment{
    padding: 0px 30px 100px 30px;
}
 
  .comments-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
  }

  .comment-card {
      background: var(--bg-card);
      border: 2px solid var(--border);
      border-radius: 16px;
      padding: 25px;
      position: relative;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 0.6s ease forwards;
      overflow: hidden;
  }

  @keyframes fadeInUp {
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .comment-card:nth-child(1) { animation-delay: 0.1s; }
  .comment-card:nth-child(2) { animation-delay: 0.2s; }
  .comment-card:nth-child(3) { animation-delay: 0.3s; }
  .comment-card:nth-child(4) { animation-delay: 0.4s; }
  .comment-card:nth-child(5) { animation-delay: 0.5s; }
  .comment-card:nth-child(6) { animation-delay: 0.6s; }

  /* 發光效果背景 */
  .comment-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
      opacity: 0;
      transition: opacity 0.4s;
      pointer-events: none;
  }

  .comment-card:hover::before {
      opacity: 1;
  }

  .comment-card:hover {
      transform: translateY(-8px);
      border-color: var(--accent);
      box-shadow: 0 20px 40px rgba(100, 181, 246, 0.2);
  }

  
  .quote-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--accent), #60a7e0);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 1.3rem;
      color: white;
      position: relative;
      z-index: 1;
  }

  
  .comment-text {
      color: var(--text-primary);
      font-size: 1rem;
      line-height: 1.7;
      position: relative;
      z-index: 1;
      font-weight: 400;
  }

  
  .comment-text strong {
      color: var(--accent);
      font-weight: 600;
  }

  
  .comment-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), transparent);
      transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .comment-card:hover::after {
      width: 100%;
  }

 
  @media (max-width: 768px) {
    
      .section-header {
          margin-bottom: 30px;
      }

      .comments-grid {
          grid-template-columns: 1fr;
          gap: 20px;
      }

      .comment-card {
          padding: 25px;
      }

      .comment-text {
          font-size: 0.95rem;
      }
  }


  
.photo-container {
    width: 100%;
    padding: 30px 60px 60px 60px;
    background: linear-gradient(to top, #fff 0%, #5092c7 70%, #0b375c 100%);
}

.award-title {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.award-title h2 {
    font-family: 'Times New Roman';
    font-size: clamp(2.5rem, 1vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #64b5f6 50%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}




.photo-grid {
    columns: 3;
    column-gap: 30px;
    perspective: 1000px;
    padding-bottom:40px ;
}

.photo-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-secondary);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;

    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    box-shadow:   
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(100, 181, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.photo-item:nth-child(1) { height: 450px; animation-delay: 0.1s; }
.photo-item:nth-child(2) { height: 350px; animation-delay: 0.15s; }
.photo-item:nth-child(3) { height: 280px; animation-delay: 0.2s; }
.photo-item:nth-child(4) { height: 520px; animation-delay: 0.25s; }
.photo-item:nth-child(5) { height: 390px; animation-delay: 0.3s; }
.photo-item:nth-child(6) { height: 300px; animation-delay: 0.35s; }
.photo-item:nth-child(7) { height: 370px; animation-delay: 0.4s; }
.photo-item:nth-child(8) { height: 320px; animation-delay: 0.45s; }
.photo-item:nth-child(9) { height: 480px; animation-delay: 0.5s; }
.photo-item:nth-child(10) { height: 360px; animation-delay: 0.55s; }
.photo-item:nth-child(11) { height: 290px; animation-delay: 0.6s; }
.photo-item:nth-child(12) { height: 420px; animation-delay: 0.65s; }
.photo-item:nth-child(13) { height: 340px; animation-delay: 0.7s; }
.photo-item:nth-child(14) { height: 390px; animation-delay: 0.75s; }
.photo-item:nth-child(15) { height: 390px; animation-delay: 0.7s; }
.photo-item:nth-child(16) { height: 300px; animation-delay: 0.75s; }


.photo-item img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s;
    display: block;
    vertical-align: middle; /* 防止底部空隙 */
}

.photo-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(115, 188, 248, 0.4);
    z-index: 10;
}

.photo-item:hover img {
    transform: scale(1.1) rotate(2deg);
}


.photo-item.hidden {
    display: none;
}



@media (max-width: 768px) {
    .photo-container {
        padding: 40px 30px;
    }

    .photo-grid {
        columns: 2;
        column-gap: 20px;
    }

    .photo-item {
        margin-bottom: 12px;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        columns: 1;
    }
}

/* 平板尺寸 - 強制修正 */
@media (max-width: 1200px) and (min-width: 769px) {
    .photo-grid {
        columns: 3;
        column-gap: 20px;
    }
    
    
    .photo-item {
        transform: none !important;
        min-height: 250px;
    }
    
    
    .photo-item:nth-child(6),
    .photo-item:nth-child(12) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        overflow: hidden; 
    }
}

.silver-shine {
    background: linear-gradient(
        110deg,
        #7a7a7a 0%,
        #b8b8b8 20%,
        #ffffff 40%,
        #f5f5f5 50%,
        #ffffff 60%,
        #b8b8b8 80%,
        #7a7a7a 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.thank-word{
  padding:30px 0 0 0;
}

.glass-card {
    background: linear-gradient(
        135deg,
        rgba(17, 34, 64, 0.5) 0%,
        rgba(17, 34, 64, 0.3) 100%
    );
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1.5px solid rgba(100, 181, 246, 0.3);
    border-radius: 28px;
    padding: 40px 45px;
    box-shadow: 
        0 20px 60px rgba(25, 25, 25, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease 0.3s forwards;
    margin: 40px 80px 100px 80px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 頂部高光 - 增強立體感 */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 100%
    );
    border-radius: 28px 28px 0 0;
    pointer-events: none;
}

/* 底部陰影 - 增強深度 */
.glass-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    border-radius: 0 0 28px 28px;
    pointer-events: none;
}


.glass-content {
    position: relative;
    z-index: 1;
}

/* 卡片懸浮效果  */
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(47, 47, 47, 0.25),
        inset 0 -1px 1px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(100, 181, 246, 0.2);
    border-color: rgba(100, 181, 246, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.glass-content p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.glass-content p:last-child {
    margin-bottom: 0;
}


.glass-content strong {
    color: var(--accent);
    font-weight: 600;
}


.signature {
    margin-top: 40px;
    text-align: right;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.signature strong {
    color: var(--accent);
    font-size: 1.2rem;
    display: block;
    margin-top: 10px;
}


@media (max-width: 768px) {
    .glass-card {
        padding: 35px 25px;
        margin: 30px 30px 80px 30px;
    }

    .glass-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .signature {
        margin-top: 30px;
        font-size: 0.95rem;
    }

    .signature strong {
        font-size: 1.1rem;
    }
}

