/* ============================================
   Teaching Page Styles - Using Real Images
   ============================================ */

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  overflow: hidden;
}

.teaching-page-hero {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.hero-photo-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 50%, rgba(245, 67, 54, 0.6) 100%);
}

.page-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-hero .hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.teaching-page-hero .shape-1 {
  width: 350px;
  height: 350px;
  background: var(--color-yellow-light);
  top: -80px;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.teaching-page-hero .shape-2 {
  width: 280px;
  height: 280px;
  background: var(--color-red-light);
  top: 40%;
  left: 5%;
  animation: float 10s ease-in-out infinite 1s;
}

.teaching-page-hero .shape-3 {
  width: 220px;
  height: 220px;
  background: var(--color-blue-light);
  bottom: 5%;
  right: 30%;
  animation: float 7s ease-in-out infinite 2s;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-content .badge {
  font-size: 14px;
  padding: 8px 18px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

.page-hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero-content p {
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.page-hero .hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
}

.page-hero .hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ---------- Section Tag ---------- */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--color-red);
  background: var(--color-red-bg);
}

.section-tag.blue { color: var(--color-blue); background: var(--color-blue-bg); }
.section-tag.green { color: var(--color-green); background: var(--color-green-bg); }
.section-tag.yellow { color: var(--color-yellow-dark); background: var(--color-yellow-bg); }
.section-tag.red { color: var(--color-red); background: var(--color-red-bg); }

/* ---------- Sections Base ---------- */
.section {
  padding: 40px 0;
  position: relative;
}

/* ---------- 6T Teaching Method Section - Code drawn cards ---------- */
.t6-section {
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%);
}

.t6-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.t6-card-item {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--t6-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.t6-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--t6-color);
  opacity: 0.06;
  border-radius: 0 0 0 100%;
  transition: all 0.4s ease;
}

.t6-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.t6-card-item:hover::before {
  width: 160px;
  height: 160px;
  opacity: 0.1;
}

.t6-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--t6-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.t6-card-icon svg {
  width: 28px;
  height: 28px;
}

.t6-card-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--t6-color);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.t6-card-num {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 4px;
}

.t6-card-item h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.t6-card-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ---------- 4+3 Thinking Model Section ---------- */
.thinking-model-section {
  background: var(--color-gray-50);
}

.thinking-model-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.thinking-model-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.thinking-model-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.thinking-model-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding: 24px;
  background: var(--color-white);
  border-left: 4px solid var(--color-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.thinking-model-desc strong {
  color: var(--color-blue);
}

.thinking-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.th-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.th-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.th-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  background: var(--color-blue-bg);
}

.th-item:nth-child(2) .th-icon {
  background: var(--color-yellow-bg);
}

.th-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.th-item p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
}

.thinking-model-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.thinking-model-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.thinking-model-image:hover img {
  transform: scale(1.02);
}

/* ---------- Education Goal Pyramid Section ---------- */
.pyramid-section {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.pyramid-image-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s ease;
}

.pyramid-image-wrap:hover {
  transform: translateY(-6px);
}

.pyramid-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 1+X Quality Education Section ---------- */
.quality-edu-section {
  background: var(--color-gray-50);
}

.quality-edu-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.quality-edu-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.quality-edu-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.quality-edu-image:hover img {
  transform: scale(1.02);
}

.quality-edu-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.quality-edu-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.quality-edu-desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.quality-edu-desc p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.quality-edu-desc strong {
  color: var(--color-red);
  font-weight: 700;
}

.quality-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.qf-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.qf-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.qf-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
  color: var(--color-white);
}

.qf-item:nth-child(2) .qf-num {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
}

.qf-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.qf-item p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.4;
}

/* ---------- Stereoscopic Service Section ---------- */
.service-full-section {
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%);
}

.service-image-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s ease;
}

.service-image-wrap:hover {
  transform: translateY(-6px);
}

.service-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Classroom Scene Photo Section ---------- */
.classroom-scene-section {
  background: var(--color-gray-50);
}

.classroom-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 500px;
}

.classroom-photo-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.classroom-photo-item.large {
  grid-row: span 2;
}

.classroom-photo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.classroom-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.classroom-photo-item:hover img {
  transform: scale(1.06);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.photo-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--color-white);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-light) 50%, var(--color-yellow) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-features span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .thinking-model-grid,
  .quality-edu-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .t6-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .classroom-photo-grid {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .classroom-photo-item.large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .classroom-photo-item.large img {
    height: 300px;
  }

  .classroom-photo-item img {
    height: 220px;
  }

  .quality-edu-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .thinking-model-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-features {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .page-hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .page-hero-content h1 {
    font-size: 36px;
  }

  .page-hero-content p {
    font-size: 18px;
  }

  .thinking-model-content h2,
  .quality-edu-content h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .t6-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .t6-card-item {
    padding: 28px 24px;
  }

  .t6-card-icon {
    width: 52px;
    height: 52px;
  }

  .t6-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .classroom-photo-grid {
    grid-template-columns: 1fr;
  }

  .classroom-photo-item.large {
    grid-column: span 1;
  }

  .classroom-photo-item.large img,
  .classroom-photo-item img {
    height: 240px;
  }

  .t6-image-wrap,
  .pyramid-image-wrap,
  .service-image-wrap,
  .thinking-model-image,
  .quality-edu-image {
    border-radius: var(--radius-lg);
  }

  .quality-features {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 32px;
  }

  .quality-features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Small Class Interactive Teaching
   ============================================ */
.small-class-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.sc-item-large {
  grid-row: span 2;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.sc-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sc-item-large:hover .sc-img img {
  transform: scale(1.05);
}

.sc-content {
  padding: 32px;
}

.sc-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sc-badge.red { background: var(--color-red-bg); color: var(--color-red); }

.sc-content h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sc-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.sc-item {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.sc-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.sc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.sc-icon.blue { background: linear-gradient(135deg, var(--color-blue), #6bc5ff); }
.sc-icon.green { background: linear-gradient(135deg, var(--color-green), #86efac); }

.sc-icon svg {
  width: 26px;
  height: 26px;
}

.sc-item h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.sc-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   Classroom Photo Section
   ============================================ */
.cp-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cp-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.cp-item-large {
  grid-row: span 2;
  height: 100%;
  min-height: 420px;
}

.cp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cp-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.cp-item:hover img {
  transform: scale(1.06);
}

.cp-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
}

/* ============================================
   Teachers Section
   ============================================ */
.teachers-section {
  background: #fff;
}

.teacher-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 56px;
}

.thl-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--color-gray-50);
  border-radius: 16px;
}

.thl-num {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-green), var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.thl-num span {
  font-size: 24px;
}

.thl-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.teacher-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.tf-card {
  background: var(--color-gray-50);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.tf-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.tf-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-green), var(--color-teal));
  color: #fff;
}

.tf-icon svg {
  width: 30px;
  height: 30px;
}

.tf-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.tf-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   Responsive Additions
   ============================================ */
@media (max-width: 1024px) {
  .small-class-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .sc-item-large {
    grid-column: span 2;
    grid-row: auto;
  }

  .cp-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cp-item-large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 300px;
  }

  .teacher-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  .teacher-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .small-class-grid {
    grid-template-columns: 1fr;
  }
  .sc-item-large {
    grid-column: span 1;
  }
  .sc-content {
    padding: 24px;
  }
  .sc-content h3 {
    font-size: 20px;
  }

  .cp-grid {
    grid-template-columns: 1fr;
  }
  .cp-item-large {
    grid-column: span 1;
    min-height: 240px;
  }

  .teacher-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .thl-item {
    padding: 20px 12px;
  }
  .thl-num {
    font-size: 32px;
  }

  .teacher-features {
    grid-template-columns: 1fr;
  }
}
