
/* --- 0. Shared Base Styles (Copied from talents.css) --- */
.services-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.services-hero-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.06);
}

.services-hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 80px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 2;
}

@media (max-width: 768px) { .services-hero-title { font-size: 36px; } }
@media (max-width: 480px) { .services-hero-title { font-size: 28px; letter-spacing: 1px; } }

.service-section { padding: 80px 0; background-color: #ffffff; }
.service-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.service-header { margin-bottom: 40px; text-align: center; }


/* --- 1. Hero Section (Adapted for Training) --- */
.talent-hero {
  height: 65vh;
  min-height: 520px;
}
.talent-hero .services-hero-img {
  height: 100%;       
  width: 100%;
  object-fit: cover;   
  object-position: center 60%; /* 裁剪比例 - 控制偏移 */
  filter: brightness(0.95) contrast(1.06); /*想再暗点：把 0.95 改成 0.92 ；想更“硬朗”一点：把 contrast(1.03) 拉到 1.06 */
}
@media (max-width: 768px) {
  .talent-hero { height: 42vh; min-height: 320px; }
  .talent-hero .services-hero-img { object-position: center 58%; }
}
@media (max-width: 480px) {
  .talent-hero { height: 38vh; min-height: 280px; }
  .talent-hero .services-hero-img { object-position: center 56%; }
}

/* --- 2. Leadership Section (Star Plan) --- */
.talents-leadership { 
    padding: 80px 0 ; /* Remove bottom padding */
    background-color: #ffffff;
}

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

.talents-leadership .leadership-title {
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 40px 0;
  letter-spacing: 1px;
  text-align: center;
}

.leadership-description {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: left; /* Aligned left as per recent changes */
}

/* Subtitle for Leadership - Visual Hierarchy */
.leadership-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-left: 8px;
    border-left: 4px solid #FFB800;
    display: inline-block;
}

.leadership-description p {
  font-size: 18px;
  line-height: 1.8;
  color: #5f5f5f;
  margin: 0;
}

.leadership-images {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.leadership-image-frame {
  flex: 1;
  max-width: 100%; /* Changed from 380px to 100% to allow larger images */
  aspect-ratio: 16 / 10;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.leadership-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.leadership-image-frame:hover .leadership-img {
  transform: scale(1.03);
}

/* Responsive Leadership */
@media (max-width: 1023px) {
  .leadership-images { gap: 20px; }
  /* .leadership-image-frame { max-width: 320px; } Removed restriction */
}

@media (max-width: 767px) {
  .talents-leadership .leadership-title { font-size: 42px; }
  .leadership-description { margin-bottom: 32px; }
  .leadership-description p { font-size: 16px; }
  .leadership-images { flex-direction: column; gap: 16px; }
  .leadership-image-frame { max-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
  .talents-leadership .leadership-title { font-size: 42px; }
  .leadership-description p { font-size: 15px; }
}


/* --- 3. Tech Sharing Section (Tuto Classroom) --- */
.talents-tech-sharing { 
    background: #ffffff; 
    padding: 0 0; 
}

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

.talents-tech-sharing .service-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.talents-tech-sharing .tech-sharing-title { 
  font-size: 42px; 
  font-weight: 700; 
  color: #000000;
  margin: 0;
  letter-spacing: 1px;
}

.tech-sharing-block { margin-bottom: 48px; }
.tech-sharing-block:last-child { margin-bottom: 0; }

.tech-sharing-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
  padding-left: 8px;
  border-left: 4px solid #FFB800;
}

.tech-sharing-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.tech-sharing-content { color: #111; }
.tech-sharing-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

.tech-sharing-media .media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-sharing-media .media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.tech-sharing-img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.tech-sharing-img2 {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.tech-sharing-media .media-frame:hover .tech-sharing-img,
.tech-sharing-media .media-frame:hover .tech-sharing-img2 {
  transform: scale(1.03);
}

/* Responsive Tech Sharing */
@media (max-width: 1023px) {
  .tech-sharing-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .tech-sharing-subtitle { font-size: 22px; }
  .tech-sharing-content p { font-size: 15px; }
}

@media (max-width: 767px) {
  .talents-tech-sharing { padding: 48px 0; }
  .tech-sharing-title { font-size: 32px; }
  .tech-sharing-grid { grid-template-columns: 1fr; gap: 24px; }
  .tech-sharing-subtitle { font-size: 20px; margin-bottom: 16px; }
  .tech-sharing-content p { font-size: 15px; line-height: 1.8; }
  .tech-sharing-block { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .tech-sharing-title { font-size: 28px; }
  .tech-sharing-content p { font-size: 14px; }
}

/* --- 4. Growth Axis Section (New Star Growth Journey) --- */
.growth-axis-section {
    padding: 0 0 60px 0;
    margin-top: 0;
    background-color: #fff;
}

.growth-axis-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
    /* Use Grid Layout */
    display: grid;
    grid-template-columns: 1fr; /* Single column */
    grid-template-areas: 
        "header"
        "content"
        "timeline";
    row-gap: 30px; /* Space between rows */
    align-items: center;
}

.service-header {
    grid-area: header;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}

.growth-axis-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding-left: 8px;
    border-left: 4px solid #FFB800;
    display: inline-block;
    letter-spacing: normal;
    text-align: left;
}

/* Timeline Styles */
.growth-timeline {
    grid-area: timeline;
    position: relative;
    margin-bottom: 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 58px; /* 38px (center of 76px) + 20px (padding-top) */
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #f0f0f0;
    z-index: 1;
}

.timeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.timeline-node {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    opacity: 1;
    padding: 0;
}

.timeline-node:hover .node-icon {
    transform: scale(1.1);
}

.node-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #fff;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 10px;
}

.timeline-node.active .node-icon {
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
    border-color: #FFB800;
    background-color: #FFF8E1;
}

.node-label {
    font-size: 16px;
    font-weight: 600;
    color: #999;
    transition: all 0.3s ease;
}

.timeline-node.active .node-label {
    color: #333;
    font-weight: 700;
}

/* Content Display Styles */
.growth-content-display {
    grid-area: content;
    display: grid; /* Stack content */
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-self: center; /* Center horizontally */
    width: 100%;
    max-width: 800px; /* Limit width */
    margin: 0 auto;
    overflow: hidden; /* Clip sliding animations */
    min-height: 120px; /* Prevent collapse */
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.growth-stage-content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    display: none; /* Default hidden */
    align-items: center;
    gap: 20px;
    flex-direction: row;
    /* Initial state for animation */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* Active State */
.growth-stage-content.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

/* Animation States */
.growth-stage-content.animating {
    display: flex;
    z-index: 1;
}

/* Slide Out to Left */
.growth-stage-content.slide-left-out {
    transform: translateX(-100%);
    opacity: 0;
}

/* Slide Out to Right */
.growth-stage-content.slide-right-out {
    transform: translateX(100%);
    opacity: 0;
}

/* Prepare for Slide In (Initial States) */
.growth-stage-content.prepare-right {
    transform: translateX(100%);
    opacity: 0;
}

.growth-stage-content.prepare-left {
    transform: translateX(-100%);
    opacity: 0;
}

.stage-image-container {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stage-main-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.stage-text-container {
    flex: 1;
    text-align: left;
}

.stage-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.stage-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #FFB800;
    border-radius: 2px;
}

.stage-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .growth-axis-container {
        display: block; /* Stack on mobile */
        text-align: center;
    }
    
    .service-header {
        margin-bottom: 40px;
        text-align: center;
    }

    .growth-axis-title {
        text-align: center;
        margin-bottom: 40px;
    }

    .growth-timeline {
        margin-bottom: 40px;
    }

    .timeline-line {
        display: none;
    }
    
    .timeline-nodes {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .timeline-node {
        width: 45%;
    }

    .growth-content-display {
        padding: 20px;
        background-color: #f9f9f9; /* Restore card look on mobile */
        border-radius: 12px;
        margin-bottom: 40px;
    }

    .growth-stage-content {
        flex-direction: column;
        gap: 20px;
    }

    .growth-stage-content.active {
        flex-direction: column;
        text-align: center;
    }

    .stage-image-container {
        flex: 0 0 auto;
    }

    .stage-main-img {
        width: 120px;
        height: 120px;
    }

    .stage-text-container {
        text-align: center;
    }
    
    .stage-title {
        padding-left: 0;
        font-size: 24px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .stage-title::before {
        display: none;
    }
}

/* --- 4. Training System Section --- */
.training-system-section {
    padding-top: 0;
    margin-top: 0;
}

.training-system-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
    text-align: center;
}

@media (max-width: 768px) {
    .training-system-title {
        font-size: 28px;
    }
}

/* Training System Content Styles */
.training-module {
    margin-bottom: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.training-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-left: 8px;
    border-left: 4px solid #FFB800;
    display: inline-block;
    letter-spacing: normal;
    text-align: left;
}

.training-text {
    margin-bottom: 24px;
    max-width: 100%;
}

.training-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.training-images {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.training-image-frame {
    flex: 1;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.training-image-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.training-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.training-image-frame:hover .training-img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .training-images {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- 6. Vocational Training Specific Styles (Scoped) --- */
#vocational-training-module {
    margin-top: 80px;
}

#leadership-training-module {
    margin-top: 60px;
}

#vocational-training-module .vocational-training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 24px;
}

#vocational-training-module .vocational-item {
    display: flex;
    flex-direction: column;
}

#vocational-training-module .vocational-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

#vocational-training-module .vocational-item-text {
    margin-bottom: 24px;
}

#vocational-training-module .vocational-item-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

#vocational-training-module .vocational-image {
    width: 100%;
    margin-top: auto;
}

/* Responsive adjustments for Vocational Training */
@media (max-width: 768px) {
    #vocational-training-module .vocational-training-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
