@import url('https://fonts.googleapis.com/css2?family=Saira+Stencil+One&display=swap');



body {
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: #fffef6;
  position: relative;
  overflow-x: hidden;
}


.container {
  max-width: 1200px;
  margin: 0 auto; 
  padding: 20px;
}

@media (max-width: 991px) {
  #video-wrapper{
      width: 888px;
      height: 500px;
  }
}

#video-wrapper {
  position: relative;
  width: 100%;
  height: auto; /* Will be set by padding-bottom */
  /* padding-bottom: 56.25%;  */
  overflow: hidden;
  background-color: black; 
  
}

#video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.welcome {
  color: whitesmoke;
  font-family: "Saira Stencil One", sans-serif;
  font-style: normal;
  font-size: 50px;
  letter-spacing: 10px;
  padding-top: 90px;
  margin-bottom: 0px;
  text-align: center;
  align-items: center;
  position: relative;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(255, 255, 255, 0.8),
    0 0 30px #00A8A8,
    0 0 40px #00A8A8,
    0 0 45px #00A8A8;
  animation: pulsate 3s infinite alternate;
}


.black {
  position: relative;
  overflow: hidden;
  background-color: black;
  padding-top: 20px; 
  padding-bottom: 10vw; 
}


.welcome{
color: whitesmoke;
font-family: "Saira Stencil One", sans-serif;
font-weight: 300;
font-style: normal;
font-size: 60px;
letter-spacing:9px;
padding-top:110px;
margin-bottom: 0px;
text-align: center;
align-items: center;
position: relative;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
0 0 15px rgba(255, 255, 255, 0.8),
0 0 30px #00A8A8,
0 0 40px #00A8A8,
0 0 45px #00A8A8;
animation: pulsate 3s infinite alternate;
}

@keyframes pulsate {
100% {
text-shadow: 0 0 7px rgba(255, 255, 255, 0.6),
  0 0 15px rgba(255, 255, 255, 0.8),
  0 0 30px #00A8A8,
  0 0 40px #00A8A8,
  0 0 50px #00A8A8;
}
0% {
text-shadow: 0 0 3px rgba(255, 255, 255, 0.8),
  0 0 10px rgba(255, 255, 255, 0.8),
  0 0 15px #00A8A8,
  0 0 20px #00A8A8,
  0 0 35px #00A8A8;
}
}
@media (max-width: 769px) {
.welcome{
  padding-top:60px;
  padding-bottom: 60px;
  font-size:45px;
  letter-spacing: 4px;
}
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
  animation: bounce 2s infinite;
}

.scroll-indicator .material-symbols-outlined {
  font-size: 70px;
  font-weight: 200;
  color: #e9e7e13e;
  text-shadow: 0 0 5px#FFCC00,
             0 0 10px #FFCC00,
             0 0 15px #FFCC00;
             margin-bottom: 60px;
             padding-bottom: 20px;
}
@media (max-width: 769px) {
  .scroll-indicator  .material-symbols-outlined {
    font-size: 58px;
  }}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}



h1{
font-size: 1.7em;
text-align: center;
letter-spacing:5px;
font-weight:800;
}
.container {
  padding: 0 50px;
}

.black{
  position: relative;
  overflow: hidden;
  background-color: black;
  padding-top: 20px;
  padding-bottom: 10vw;
}

.title {
  font-family: 'Noto Sans TC', sans-serif;
  padding-top:9dvh;
  padding-bottom: 5vh;
  color: #f1ece8;
  font-weight:800;
  font-size: clamp(2rem, 8vw, 50px);
  letter-spacing: clamp(2px, 1.5vw, 10px);
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
             0 0 10px rgba(255, 255, 255, 0.3),
             0 0 15px rgba(255, 255, 255, 0.2);
}

.title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 145px;
  height: 5px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #f4c951 20%, 
    #ffdd66 50%, 
    #f4c951 80%, 
    transparent 100%);
  border-radius: 2px;
}

.black h1.title::before {
  content: "Leadership Training";
  position: absolute;
  font-size: clamp(3rem, 12vw, 7rem); 
  font-weight:300;
  opacity: 0.18;
  color: #e9e5e5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  white-space: nowrap;
  z-index: 0;
  letter-spacing: clamp(1px, 0.3vw, 2px); 
  font-family: "Saira Stencil One", sans-serif;
  padding-top: clamp(15vh, 20vw, 30vh);
}

/* 平板 */
@media (max-width: 1024px) {
  .title {
    padding-top: 7vh;
    padding-bottom: 4vh;
  }
  .title::after {
    width: 120px;
    height: 4px;
    bottom: -10px;
  }
  .black h1.title::before {
    transform: translate(-50%, -70%);
    padding-top: clamp(10vh, 15vw, 25vh);
  }
}

/* 手機 */
@media (max-width: 768px) {
  .title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    letter-spacing: clamp(1px, 1vw, 5px);
    padding-top: 0vh;
    padding-bottom:1vh;
  }
  .title::after {
    width: 80px;
    height: 3px;
    bottom: -10px;
  }
  .black h1.title::before {
    font-size: clamp(2.5rem, 10vw, 4rem);
    transform: translate(-50%, -60%);
    padding-top: 0vh;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    /* 在小屏幕上可能需要換行，所以移除 white-space: nowrap */
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }
}

 

.tabs-wrapper {
  position: relative;
  height: 80px;
  margin-bottom: 10px;
  z-index: 20;
}

.tabs {
  position: absolute;
  display: flex;
  height: 60px;
  transition: all 0.3s ease;
  margin-top: 30px;
  left: 50%;
  transform: translateX(-50%);
  gap: 2px;

}


.tab {
  position: relative;
  width: 105px;
  height: 50px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 15px;
  line-height: 16px;
  letter-spacing: 0.07em;
  cursor: pointer;
  margin-right: -5px;
  transition: all 0.3s ease;
  border-radius: 15px;
  backdrop-filter: blur(20px);
  color: white;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: none;
  border: 2px solid;
}


.tab:nth-child(1) {
  border-color: #6c8dc4;
  text-shadow: 0 0 5px rgba(108, 141, 196, 0.3);
  box-shadow: 0 0 5px rgba(108, 141, 196, 0.5);
}

.tab:nth-child(2) {
  border-color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  color: #fff;
}

.tab:nth-child(3) {
  border-color: #f4c951;
  text-shadow: 0 0 5px rgba(244, 201, 81, 0.3);
  box-shadow: 0 0 5px rgba(244, 201, 81, 0.5);
}

.tab:nth-child(4) {
  border-color: #e07255;
  text-shadow: 0 0 5px rgba(224, 114, 85, 0.3);
  box-shadow: 0 0 5px rgba(224, 114, 85, 0.5);
}

.tab:hover {
  transform: scale(1.1);
  z-index: 10;
}

.tab:nth-child(1):hover {
  box-shadow: 0 0 10px rgba(108, 141, 196, 0.8), 
            0 0 20px rgba(108, 141, 196, 0.5), 
            inset 0 0 10px rgba(108, 141, 196, 0.3);
}

.tab:nth-child(2):hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 
            0 0 20px rgba(255, 255, 255, 0.5), 
            inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.tab:nth-child(3):hover {
  box-shadow: 0 0 10px rgba(244, 201, 81, 0.8), 
            0 0 20px rgba(244, 201, 81, 0.5), 
            inset 0 0 10px rgba(244, 201, 81, 0.3);
}

.tab:nth-child(4):hover {
  box-shadow: 0 0 10px rgba(224, 114, 85, 0.8), 
            0 0 20px rgba(224, 114, 85, 0.5), 
            inset 0 0 10px rgba(224, 114, 85, 0.3);
}

.tab.active {
  transform: scale(1.1);
  transition: all 0.3s ease;
  font-weight: bold;
  border: none;
}

.tab-content.active {
  display: block; 
  padding-top: 50px;
  padding-bottom: 50px;
}

.tab:nth-child(1).active {
  background-color: #6c8dc4;
  box-shadow: 0 0 5px #6c8dc4, 
            0 0 10px #6c8dc4, 
            0 0 15px #6c8dc4, 
            0 0 25px #6c8dc4,
            inset 0 0 15px rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 5px black, 0 0 10px black;
}

.tab:nth-child(2).active {
  background-color: rgb(245, 245, 245);
  box-shadow: 0 0 5px #ffffff, 
            0 0 10px #ffffff, 
            0 0 15px #ffffff, 
            0 0 25px #ffffff,
            inset 0 0 15px rgba(200, 200, 255, 0.8);
  color: #000;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.tab:nth-child(3).active {
  background-color: #f4c951;
  box-shadow: 0 0 5px #f4c951, 
            0 0 10px #f4c951, 
            0 0 15px #f4c951, 
            0 0 25px #f4c951,
            inset 0 0 15px rgba(255, 255, 200, 0.8);
  color: #000;
  text-shadow: 0 0 5px rgba(184, 184, 184, 0.888);
}

.tab:nth-child(4).active {
  background-color: #e07255;
  box-shadow: 0 0 5px #e07255, 
            0 0 10px #e07255, 
            0 0 15px #e07255, 
            0 0 25px #e07255,
            inset 0 0 15px rgba(255, 200, 200, 0.8);
  text-shadow: 0 0 5px black, 0 0 10px black;
}


/* 平板調整 (768px - 1024px) */
@media (max-width: 1024px) {
  .tab-container {
    padding-top: 80px;
    padding-bottom: 150px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  
  .tab.active {
    transform: scale(1.15);
  }
  
  .tab:hover {
    transform: scale(1.08);
  }
  .tab-container {
    padding-top: 90px;
    padding-bottom: 120px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  } 
  
  .tabs-wrapper {
    height: 60px;
    margin-bottom: 10px;
  }
  
  .tab {
    font-size: 14px;
    line-height: 16px;
    margin-right: 0;
    border-radius: 10px;
    flex-shrink: 1;
    min-width: 60px;
    padding: 5px 10px;
  }
  
  .tab.active {
    transform: scale(1.05); /* 減少放大倍數 */
    max-width: 75px; /* 限制最大寬度 */
  }
  
  .tab:hover {
    transform: scale(1.02);
  }
  
  .tab:nth-child(1).active,
  .tab:nth-child(2).active,
  .tab:nth-child(3).active,
  .tab:nth-child(4).active {
    transform: scale(1.05);
    max-width: 75px;
  }
}

/* 針對手機螢幕強制不允許水平滾動 */
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
  }
  
  .tabs {
    max-width: calc(100vw - 10px);
    flex-wrap: nowrap;
    overflow: visible;
    gap: 5px;
  }
  
  .tab {
    width: 70px;
    height: 38px;
    font-size: 10px;
    line-height: 12px;
    border-radius: 8px;
    min-width: 50px;
    padding: 2px 4px;
    margin-right: 0;
  }
  
  .tab.active {
    transform: scale(1.0);
    max-width: none;
  }
  
  .tab:hover {
    transform: scale(1.0);
  }
  
  .tab:nth-child(1).active,
  .tab:nth-child(2).active,
  .tab:nth-child(3).active,
  .tab:nth-child(4).active {
    transform: scale(1.0);
    max-width: none;
  }
  
  .tab-content {
    padding: 20px 10px;
    margin-top: -5px;
  }
  .tabs{
    gap: 0px;

  }
}


@keyframes flicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
    opacity: 1;
  }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
    opacity: 0.8;
  }
}

.tab.active {
  animation: flicker 5s infinite alternate;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 通用的Tab 內容區域布局 */
.tab-content {
  color: #fff;
  background-color: rgba(35, 35, 35, 0.8);
  padding: 50px;
  border-radius:10px;
  margin-top: -10px;
  margin-bottom: 20px;
  display: none;
  animation: fadeIn 0.7s ease forwards;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(233, 226, 226, 0.807);
  z-index: -20;
}

/* 通用內容區域的 flex 布局 */
.tab-content-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.tab-image {
  flex: 0 0 auto;
  max-width: 800px;
  min-width: 500px;
  display: flex;
  justify-content: center;
}

.tab-image img {
  width: 100%;
  height: auto;
  max-width: 450px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.tab-text {
  flex: 1;
  min-width: 300px;
}

.tab-text h2 {
  font-size: 28px;
  font-weight: 800 !important;
  margin-bottom: 20px;
  letter-spacing: 3px;
  margin-top: 0;
}

.tab-text p {
  letter-spacing: 2px;
  font-size: 20px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .tab-content-layout {
    flex-direction: column;
    gap: 20px;
  }
  .tab-content{
    margin-top: -17px;
    z-index: -100;
  }
  
  .tab-image {
    max-width: 100%;
    min-width: auto;
    width: 100%;
    align-self: center;
    justify-content: center;
  }
  
  .tab-image img {
    max-width: 100%; 
    width: 100%; 
    height: auto; 
    min-width: auto;   }
  
  .tab-text {
    min-width: auto;
    width: 100%;  
  }
  .tab-text h2 {
    font-size: 25px;}

  .tab-text p{
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .tab-content {
    padding: 20px 15px;
  }
  
  .tab-image img {
    border-radius: 10px; 
  }
  
  .tab-text h2 {
    font-size: 20px; 
    letter-spacing: 2px;
  }
  
  .tab-text p {
    font-size: 14px; 
    letter-spacing: 1px;
  }
}

#tm-video-container {
  max-height: 720px;
  overflow: hidden;
  background-color: #333;
  width: 100%; /* Ensure it takes full width */
  display: flex; /* Add flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

#tm-video {
  width: 100%;
  height: auto;
  object-fit: cover; /* Crop to fit */
}
@media (max-width: 991px) {

#tm-video {
  width: 888px;
  height: 500px;
}
}

@media (max-width: 768px) {
  #tm-video-container {
    max-height: 400px; /* Adjust height for smaller screens */
  }
}


#gls {
  background-color: rgba(108, 141, 196, 0.2);
  border: 1px solid #6c8dc4;
  box-shadow: 0 0 15px rgba(108, 141, 196, 0.5);
  color: #aac5f3;
}


#gls-plus {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

#gls-plus h2, #gls-plus p {
  color: #fff;
}

#gls-partner {
  background-color: rgba(244, 201, 81, 0.2);
  border: 1px solid #f4c951;
  box-shadow: 0 0 15px rgba(244, 201, 81, 0.5);
}

#gls-partner h2 {
  color: #f4c951;
}

#changer {
  background-color: rgba(224, 114, 85, 0.2);
  border: 1px solid #e07255;
  box-shadow: 0 0 15px rgba(224, 114, 85, 0.5);
}

#changer h2 {
  color: #e07255;
}

/*  了解更多CTA 按鈕追光效果 */
.cta-button {
  position: relative;
  display: inline-block;
  background-color: transparent;
  border: 2px solid #f4c951;
  color: #f4c951;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 0;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(244, 201, 81, 0.5);
  box-shadow: 0 0 10px rgba(244, 201, 81, 0.3);
  overflow: hidden;
  z-index: 1;
}

/* 追光效果的偽元素 */
.cta-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(244, 201, 81, 0.8) 50%, 
    transparent 70%);
  border-radius: 32px;
  animation: chasing-light 2.5s linear infinite;
  z-index: -1;
}

/* 這個是按鈕內容 */
.cta-button::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: rgba(35, 35, 35, 0.737);
  border-radius: 28px;
  z-index: -1;
}

/* 這裡是追光動畫 */
@keyframes chasing-light {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-button:hover {
  background-color: #f4c951;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 0 20px #f4c951, 0 0 40px rgba(244, 201, 81, 0.6);
  text-shadow: none;
}

.cta-button:hover::before {
  animation-duration: 1s; /* 懸停時加速追光效果 */
}


#gls .cta-button::before {
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(108, 141, 196, 0.8) 50%, 
    transparent 70%);
}

#gls .cta-button {
  border-color: #6c8dc4;
  color: #aac5f3;
  text-shadow: 0 0 5px rgba(108, 141, 196, 0.5);
  box-shadow: 0 0 10px rgba(108, 141, 196, 0.3);
}

#gls .cta-button:hover {
  background-color: #6c8dc4;
  color: #fff;
  box-shadow: 0 0 20px #6c8dc4, 0 0 40px rgba(108, 141, 196, 0.6);
}

#gls-plus .cta-button::before {
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.8) 50%, 
    transparent 70%);
}

#gls-plus .cta-button {
  border-color: #ffffff;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

#gls-plus .cta-button:hover {
  background-color: #ffffff;
  color: #f4c951;
  box-shadow: 0 0 20px #ffffff, 0 0 40px rgba(255, 255, 255, 0.6);
}

#gls-partner .cta-button::before {
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(244, 201, 81, 0.8) 50%, 
    transparent 70%);
}

#gls-partner .cta-button {
  border-color: #f4c951;
  color: #f4c951;
  text-shadow: 0 0 5px rgba(244, 201, 81, 0.5);
  box-shadow: 0 0 10px rgba(244, 201, 81, 0.3);
}

#gls-partner .cta-button:hover {
  background-color: #f4c951;
  color: #f8f6f6;
  box-shadow: 0 0 20px #f4c951, 0 0 40px rgba(244, 201, 81, 0.6);
}

#changer .cta-button::before {
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(224, 114, 85, 0.8) 50%, 
    transparent 70%);
}

#changer .cta-button {
  border-color: #e07255;
  color: #f5b5a3;
  text-shadow: 0 0 5px rgba(224, 114, 85, 0.5);
  box-shadow: 0 0 10px rgba(224, 114, 85, 0.3);
}

#changer .cta-button:hover {
  background-color: #e07255;
  color: #fff;
  box-shadow: 0 0 20px #e07255, 0 0 40px rgba(224, 114, 85, 0.6);
}
.date{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: small;
  color: rgba(0, 0, 0, 0.478);
}

.contact{
  border-radius: 10px;
  box-shadow: 2px 2px 5px #ffffff;
}

.contact-title{
  margin-top: 3em;
  margin-bottom:1em;
}

.contact-text{
  line-height: 30px;
  text-align: center;
  letter-spacing:3px;
}


