/* ============================================
   子博艺术培训中心 - 官网公共样式
   配色：橙色 #ff8c00 + 黑色 #1a1a1a
   ============================================ */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #333; line-height: 1.6; background: #fff; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Color Variables */
:root {
  --primary: #ff8c00;
  --primary-dark: #e67e00;
  --primary-light: #ffb347;
  --dark: #1a1a1a;
  --dark-light: #333;
  --gray: #666;
  --gray-light: #999;
  --bg-light: #f8f8f8;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  border-bottom: 2px solid var(--primary);
}
.nav-container {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; height: var(--nav-height);
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-logo-text { font-size: 24px; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.nav-logo-text span { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 10px 20px; font-size: 17px; font-weight: 700;
  color: var(--dark-light); border-radius: 10px;
  transition: all 0.3s ease; position: relative;
  letter-spacing: 0.5px;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary); background: rgba(255,140,0,0.08);
}
.nav-menu a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 32px; height: 4px;
  background: var(--primary); border-radius: 2px;
}
.nav-cta {
  padding: 12px 28px !important; background: var(--primary) !important;
  color: var(--white) !important; border-radius: 50px !important;
  font-weight: 700 !important; font-size: 17px !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(255,140,0,0.35);
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,140,0,0.45) !important; }

/* Mobile Menu */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--dark);
  border-radius: 2px; transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--dark) 0%, #2a1a00 50%, var(--primary-dark) 100%);
}
.hero-bg-pattern {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255,140,0,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,140,0,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,140,0,0.08) 0%, transparent 40%);
  z-index: 1;
}
.hero-floating {
  position: absolute; border-radius: 50%; opacity: 0.1;
  background: var(--primary); animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
.hero-content {
  max-width: var(--max-width); margin: 0 auto; padding: 80px 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2;
}
.hero-text h1 {
  font-size: 52px; font-weight: 800; color: var(--white);
  line-height: 1.2; margin-bottom: 20px;
}
.hero-text h1 span { color: var(--primary); }
.hero-text p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  line-height: 1.8; margin-bottom: 36px; max-width: 500px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-outline {
  padding: 14px 36px; border-radius: 50px; font-size: 16px;
  font-weight: 600; cursor: pointer; transition: all 0.3s ease;
  border: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,140,0,0.5); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero-image-wrapper {
  width: 420px; height: 420px; border-radius: 30px; overflow: hidden;
  border: 4px solid rgba(255,140,0,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.hero-image-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--primary); color: var(--white);
  padding: 16px 24px; border-radius: 16px;
  font-weight: 700; font-size: 18px;
  box-shadow: 0 8px 24px rgba(255,140,0,0.4);
  z-index: 3;
}
.hero-badge small { display: block; font-size: 12px; font-weight: 400; opacity: 0.9; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--dark); padding: 40px 30px;
}
.stats-container {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 42px; font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: 8px;
}
.stat-number span { font-size: 24px; }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ============ SECTIONS ============ */
.section {
  padding: 90px 30px;
}
.section-header {
  text-align: center; max-width: 650px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: 36px; font-weight: 800; color: var(--dark);
  margin-bottom: 12px;
}
.section-header .en-title {
  font-size: 16px; color: var(--gray-light);
  font-style: italic; letter-spacing: 2px; margin-bottom: 16px;
}
.section-header p {
  font-size: 16px; color: var(--gray); line-height: 1.8;
}
.section-header .accent-line {
  width: 50px; height: 4px; background: var(--primary);
  border-radius: 2px; margin: 16px auto 0;
}

/* ============ FEATURES / ADVANTAGES ============ */
.features-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  border: 1px solid #eee;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px; background: var(--primary);
  transform: scaleX(0); transition: transform 0.4s ease;
  transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 70px; height: 70px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 30px; color: var(--white);
}
.feature-card h3 {
  font-size: 18px; font-weight: 700; color: var(--dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px; color: var(--gray); line-height: 1.7;
}

/* ============ COURSE PREVIEW CARDS ============ */
.course-preview-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.course-preview-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid #eee;
  transition: all 0.4s ease;
}
.course-preview-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-preview-img {
  height: 200px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
}
.course-preview-img i { font-size: 56px; color: rgba(255,255,255,0.9); }
.course-preview-body { padding: 28px; }
.course-preview-body h3 {
  font-size: 20px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.course-preview-body .course-tag {
  display: inline-block; padding: 3px 12px;
  background: rgba(255,140,0,0.1); color: var(--primary);
  border-radius: 20px; font-size: 12px; font-weight: 600;
  margin-bottom: 12px;
}
.course-preview-body p {
  font-size: 14px; color: var(--gray); line-height: 1.7;
  margin-bottom: 16px;
}
.course-preview-body .card-link {
  font-size: 14px; color: var(--primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.3s ease;
}
.course-preview-body .card-link:hover { gap: 10px; }

/* ============ TEACHER PREVIEW ============ */
.teacher-preview-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.teacher-preview-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center;
  border: 1px solid #eee; transition: all 0.4s ease;
}
.teacher-preview-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.teacher-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
  border: 3px solid var(--primary); padding: 3px;
  background: #f5f5f5;
}
.teacher-preview-card h3 {
  font-size: 17px; font-weight: 700; color: var(--dark);
  margin-bottom: 6px;
}
.teacher-preview-card .teacher-role {
  font-size: 13px; color: var(--primary); font-weight: 600;
  margin-bottom: 10px;
}
.teacher-preview-card .teacher-desc {
  font-size: 13px; color: var(--gray); line-height: 1.6;
}

/* ============ VIDEO SECTION ============ */
.video-section { background: var(--bg-light); }
.video-wrapper {
  max-width: 900px; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 3px solid var(--dark);
}
.video-wrapper video {
  width: 100%; display: block; background: #000;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--dark), #2a1a00);
  text-align: center;
}
.cta-section h2 {
  font-size: 36px; font-weight: 800; color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px; color: rgba(255,255,255,0.7);
  margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-phone {
  font-size: 28px; font-weight: 800; color: var(--primary);
  margin-bottom: 28px; letter-spacing: 1px;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 60px 30px 30px;
}
.footer-container {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-col h4 {
  font-size: 16px; font-weight: 700; color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.6);
  margin-bottom: 10px; transition: color 0.3s;
}
.footer-col a:hover { color: var(--primary); }
.footer-col .contact-info-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 14px;
}
.footer-col .contact-info-item i {
  color: var(--primary); font-size: 16px; margin-top: 3px;
}
.footer-bottom {
  max-width: var(--max-width); margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  padding: 160px 30px 80px;
  background: linear-gradient(135deg, var(--dark) 0%, #2a1a00 50%, var(--primary-dark) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255,140,0,0.15) 0%, transparent 60%);
}
.page-hero h1 {
  font-size: 42px; font-weight: 800; color: var(--white);
  margin-bottom: 12px; position: relative;
}
.page-hero .en-title {
  font-size: 16px; color: rgba(255,255,255,0.5);
  font-style: italic; letter-spacing: 3px; position: relative;
}

/* ============ ABOUT PAGE ============ */
.about-intro {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 3px solid var(--dark);
}
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-text h3 {
  font-size: 28px; font-weight: 800; color: var(--dark);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px; color: var(--gray); line-height: 1.9;
  margin-bottom: 16px;
}

/* Philosophy Cards */
.philosophy-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.philosophy-card {
  text-align: center; padding: 40px 30px;
  border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid #eee; transition: all 0.4s ease;
}
.philosophy-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.philosophy-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 34px; color: var(--white);
}
.philosophy-card h3 {
  font-size: 20px; font-weight: 700; color: var(--dark);
  margin-bottom: 12px;
}
.philosophy-card p {
  font-size: 14px; color: var(--gray); line-height: 1.8;
}

/* Timeline */
.timeline {
  max-width: 700px; margin: 0 auto;
  position: relative; padding-left: 40px;
}
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0;
  width: 3px; height: 100%; background: var(--primary);
  border-radius: 2px;
}
.timeline-item {
  position: relative; margin-bottom: 36px; padding: 24px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #eee; transition: all 0.3s ease;
}
.timeline-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 28px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item .time {
  font-size: 14px; font-weight: 700; color: var(--primary);
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 17px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 14px; color: var(--gray); line-height: 1.7;
}

/* ============ COURSES PAGE ============ */
.course-detail-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.course-detail-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid #eee;
  transition: all 0.4s ease;
}
.course-detail-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-detail-header {
  padding: 30px; display: flex; align-items: center; gap: 20px;
}
.course-detail-header .icon-box {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--white);
}
.course-detail-header h3 {
  font-size: 22px; font-weight: 700; color: var(--dark);
}
.course-detail-header .course-subtitle {
  font-size: 14px; color: var(--gray-light); margin-top: 2px;
}
.course-detail-body {
  padding: 0 30px 30px;
}
.course-detail-body p {
  font-size: 15px; color: var(--gray); line-height: 1.8;
  margin-bottom: 16px;
}
.course-features { margin-top: 16px; }
.course-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--dark-light); padding: 6px 0;
}
.course-features li i { color: var(--primary); font-size: 14px; }

/* Steps / Process */
.process-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 40px; left: 12%; right: 12%;
  height: 3px; background: linear-gradient(to right, var(--primary), var(--primary-light));
  z-index: 0;
}
.process-step {
  text-align: center; position: relative; z-index: 1;
}
.process-step .step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}
.process-step h4 {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px; color: var(--gray); line-height: 1.6;
}

/* ============ TEACHERS PAGE ============ */
.teacher-detail-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.teacher-detail-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid #eee;
  transition: all 0.4s ease;
}
.teacher-detail-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.teacher-detail-top {
  display: flex; gap: 24px; padding: 30px; align-items: flex-start;
}
.teacher-detail-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--primary); background: #f5f5f5;
}
.teacher-detail-info h3 {
  font-size: 22px; font-weight: 700; color: var(--dark);
  margin-bottom: 6px;
}
.teacher-detail-info .teacher-tag {
  display: inline-block; padding: 4px 14px;
  background: rgba(255,140,0,0.1); color: var(--primary);
  border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 10px;
}
.teacher-detail-info p {
  font-size: 14px; color: var(--gray); line-height: 1.8;
}
.teacher-detail-body {
  padding: 0 30px 30px; border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}
.teacher-detail-body h4 {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 12px;
}
.teacher-detail-body ul li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray); padding: 4px 0;
}
.teacher-detail-body ul li i { color: var(--primary); font-size: 12px; }

/* ============ GALLERY PAGE ============ */
.gallery-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  aspect-ratio: 4/3; background: #f0f0f0;
  border: 2px solid #eee; transition: all 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.02); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white); font-size: 14px; font-weight: 600;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Achievements */
.achievements-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.achievement-card {
  text-align: center; padding: 30px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #eee; transition: all 0.3s ease;
}
.achievement-card:hover { box-shadow: var(--shadow); }
.achievement-card i {
  font-size: 36px; color: var(--primary); margin-bottom: 16px;
}
.achievement-card h4 {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.achievement-card p {
  font-size: 14px; color: var(--gray); line-height: 1.6;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; background: var(--white);
  border-radius: var(--radius); border: 1px solid #eee;
  transition: all 0.3s ease;
}
.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.contact-card .icon-box {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white); flex-shrink: 0;
}
.contact-card h4 {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px; color: var(--gray);
}

/* Form */
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid #eee;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 22px; font-weight: 700; color: var(--dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--dark-light); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd;
  border-radius: 10px; font-size: 15px;
  font-family: inherit; transition: all 0.3s ease;
  background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 50px;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}
.form-submit:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,0,0.4);
}

/* Business Hours */
.hours-card {
  background: var(--bg-light); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.hours-card h4 {
  font-size: 18px; font-weight: 700; color: var(--dark);
  margin-bottom: 16px;
}
.hours-card .hours-list li {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid #eee;
  font-size: 14px; color: var(--gray);
}
.hours-card .hours-list li:last-child { border-bottom: none; }
.hours-card .hours-list li span:last-child {
  font-weight: 600; color: var(--dark);
}

/* Modal */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.85);
  z-index: 9999; justify-content: center; align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px; text-align: center; max-width: 360px;
  position: relative;
}
.modal-box img {
  width: 200px; height: 200px; object-fit: contain;
  margin: 0 auto 16px; border-radius: 8px;
}
.modal-box p {
  font-size: 15px; color: var(--gray); margin-bottom: 20px;
}
.modal-close {
  padding: 10px 28px; background: var(--primary); color: var(--white);
  border: none; border-radius: 50px; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.modal-close:hover { background: var(--primary-dark); }

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}
.fade-in-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1; transform: translateX(0);
}
.fade-in-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1; transform: translateX(0);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  border: none; font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
  opacity: 0; visibility: hidden; z-index: 999;
  transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-image-wrapper { width: 300px; height: 300px; }
  .features-grid, .teacher-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .course-preview-grid, .gallery-grid, .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .about-intro, .contact-grid, .teacher-detail-grid, .course-detail-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0;
    width: 100%; background: var(--white);
    flex-direction: column; padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    z-index: 999;
    gap: 8px;
  }
  .nav-menu a { font-size: 18px; font-weight: 700; padding: 12px 20px; }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .hero-text h1 { font-size: 32px; }
  .hero-text p { font-size: 16px; }
  .hero-image-wrapper { width: 240px; height: 240px; }
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 32px; }
  .section { padding: 60px 20px; }
  .section-header h2 { font-size: 28px; }
  .features-grid, .teacher-preview-grid, .course-detail-grid,
  .teacher-detail-grid { grid-template-columns: 1fr; }
  .course-preview-grid, .gallery-grid, .achievements-grid,
  .philosophy-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .page-hero h1 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-badge { bottom: -10px; right: 10px; font-size: 14px; padding: 12px 18px; }
}
