/* =========================================================
 * TABLE OF CONTENTS:
 * 1. HERO BANNER SECTION
 * 2. MISSION & VISION SECTION
 * 3. SCALE OBJECTIVES SECTION
 * 4. TEACHING PRINCIPLES SECTION
 * 5. LEARNING TOOLS SECTION
 * 6. EDUCATOR REQUIREMENTS SECTION
 * 7. UTILITY COMPONENTS
 * 8. RESPONSIVE STYLES
 * 
 * ========================================================= */

/* =========================================================
 * 1. HERO BANNER SECTION
 * ========================================================= */

.hero__banner {
  background-color: #eab44f;
  color: white;
  padding: 0 0;
  text-align: center;
  max-height: 845px;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 100%;
}

.slider {
  display: flex;
  width: 400%;
  height: 850px;
  transition: transform 1s ease;
}

.slider-item {
  width: calc(100% / 4);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  font-size: 20px;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  text-align: center;
}

.slider-item:first-child {
  background: url('../images/homepage.jpg') no-repeat center center;
  background-size: cover;
}

.slider-item .language-content {
  text-align: center;
  color: white;
  width: 100%;
}

.slider-item h1 {
  color: white;
  text-align: center;
  margin: 10px 0;
}

.control-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: #01060c;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
  display: block;
}

.hero__banner:hover .control-btn {
  opacity: 1;
  pointer-events: auto;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}



/* =========================================================
 * 2. MISSION & VISION SECTION
 * ========================================================= */

.vision-section {
  padding: 80px 0;
  background-color: #fcfcfb;
  text-align: center;
}

.mission-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.mission-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin-bottom: 20px;
}

.mission-image img {
  width: 50%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.mission-text {
  text-align: center;
  max-width: 1100px;
}

.mission-title {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.mission-description {
  font-size: 25px;
  line-height: 1.7;
  color: #555;
}

.mission-description strong {
  color: #f2d551;
  font-weight: 600;
}



/* =========================================================
 * 3. SCALE OBJECTIVES SECTION
 * ========================================================= */

.scale-section-area {
  font-family: Arial, sans-serif;
  padding: 60px;
  background-color: #d5e9ee;
}

.feature-header {
  text-align: center;
  margin-bottom: 30px;
}

.feature-header h1 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.feature-header h5 {
  font-size: 18px;
  color: #555;
  font-weight: normal;
  line-height: 1.6;
  margin: 0 auto;
}

.scale-cards-container {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
}

.scale-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.scale-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.scale-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.scale-header img {
  flex-shrink: 0;
}

.scale-header h2 {
  font-size: 25px;
  color: #2c3e50;
  margin: 0;
}

.scale-card p {
  font-size: 20px;
  color: #555;
  line-height: 1.8;
  margin: 0;
  padding-left: 80px;
}



/* =========================================================
 * 4. TEACHING PRINCIPLES SECTION
 * ========================================================= */

.principles_area {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  background-color: #f4f4f2;
}

.principles-title {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 40px;
  position: relative;
}

.principles-content {
  display: flex;
  gap: 50px;
  margin-bottom: 45px;
}

.principles-text {
  flex: 1;
}

.intro-text {
  font-size: 23px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.detail-text {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

.text-side-image {
  float: left;
  width: 630px;
  margin: 0 25px 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.principles-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  object-fit: cover;
  max-height: 400px;
}



/* =========================================================
 * 5. LEARNING TOOLS SECTION
 * ========================================================= */

.tools-section {
  padding: 50px 0;
  background-color: #fff;
}

.tools-container {
  width: 100%;
  margin: 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tools-item {
  text-align: center;
  transition: all 0.3s ease;
}

.tools-title {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.tools-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #3498db;
}

.tools-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  text-align: center;
}

.tools-img-container {
  text-align: center;
  margin-bottom: 10px;
}

.tools-img {
  max-width: 500px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
  transition: transform 0.3s ease;
}



/* =========================================================
 * 6. EDUCATOR REQUIREMENTS SECTION
 * ========================================================= */

.htc__introduction__area {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  background-color: #f8f8f8;
}

.features-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 10px;
}

.feature-box {
  width: 550px;
  padding: 30px;
  margin-bottom: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-box:nth-child(3) {
  width: 100%;
  margin: 0 auto;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.image-center-only {
  text-align: center;
  margin: 20px 0;
}

.feature-box-image {
  width: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: inline-block;
  text-align: center;
}

.feature-box h3 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
}

.feature-box p {
  font-size: 18px;
  color: #7f8c8d;
  line-height: 1.8;
  text-align: left;
}



/* =========================================================
 * 7. UTILITY COMPONENTS
 * ========================================================= */

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #363d48;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn:hover {
  background-color: #d7e0f6;
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  color: #363d48;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.arrow-up {
  font-style: normal;
  line-height: 1;
}

.language-content {
  width: 100%;
}

.lang-content[data-lang="zh"] {
  display: none;
}



/* =========================================================
 * 8. RESPONSIVE STYLES
 * ========================================================= */

@media (max-width: 1200px) {
  .scale-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .scale-card p {
    padding-left: 0;
    margin-top: 15px;
  }
  
  .feature-header h1 {
    font-size: 30px;
  }
  
  .feature-header h5 {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .tools-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tools-container {
    grid-template-columns: 1fr;
  }
  
  .tools-item {
    padding: 25px 15px;
  }

  .text-side-image {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
  
  .principles-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .mission-description {
    font-size: 20px;
  }
  
  .mission-title {
    font-size: 28px;
  }
  
  .intro-text {
    font-size: 18px;
  }
}