/* -------------------------------------------------------------
   ED-Eng English - Main Stylesheet
   Designed by: World-Class UX/UI & Branding Team
   Fonts: Plus Jakarta Sans & Noto Sans Thai
------------------------------------------------------------- */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Variables & Theme Configuration */
:root {
  /* HSL Colors for precision scaling */
  --h-primary: 222;
  --s-primary: 60%;
  
  --primary-dark: hsl(var(--h-primary), 50%, 11%);    /* #0A1128 */
  --primary-blue: hsl(var(--h-primary), var(--s-primary), 20%);  /* #142850 */
  --accent-blue: hsl(217, 91%, 56%);                  /* #2563EB */
  --accent-cyan: hsl(190, 90%, 50%);                  /* #06B6D4 */
  --accent-green: hsl(150, 84%, 37%);                 /* #10B981 */
  --accent-green-hover: hsl(150, 84%, 30%);
  
  --bg-light: hsl(210, 40%, 98%);                     /* #F8FAFC */
  --bg-white: hsl(0, 0%, 100%);
  --bg-card: hsl(0, 0%, 100%);
  
  --text-dark: hsl(215, 28%, 17%);                    /* #1E293B */
  --text-muted: hsl(215, 16%, 47%);                   /* #64748B */
  --text-light: hsl(210, 40%, 98%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(12px);
  
  /* Borders and Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(10, 17, 40, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 17, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 17, 40, 0.12);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  
  /* Transition speed */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Shared Components & Layout Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: 6rem 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), hsl(217, 91%, 48%));
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* STICKY NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-blue);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  background: radial-gradient(circle at 80% 20%, hsl(200, 100%, 94%) 0%, var(--bg-light) 60%);
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(10, 17, 40, 0.08);
  padding-top: 2rem;
}

.hero-stat-item h4 {
  font-size: 2rem;
  color: var(--accent-blue);
}

.hero-stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 4px solid var(--bg-white);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: translateY(-8px);
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* ABOUT SECTION & TIMELINE */
.about-teacher {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 4rem;
  align-items: center;
}

.teacher-img-box {
  position: relative;
}

.teacher-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-left: 5px solid var(--accent-cyan);
}

.experience-badge h3 {
  color: var(--accent-cyan);
  font-size: 2.25rem;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.teacher-details h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.teacher-details .lead {
  font-size: 1.15rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.teacher-details p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px dashed rgba(37, 99, 235, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  border: 4px solid var(--bg-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.timeline-year {
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 0.9rem;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* KEY FEATURES (จุดเด่น) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(10, 17, 40, 0.02);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* COURSES SECTION */
.courses-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid rgba(10, 17, 40, 0.08);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--accent-blue);
  color: var(--bg-white);
  border-color: var(--accent-blue);
}

.search-bar-wrapper {
  max-width: 500px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(10, 17, 40, 0.1);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.course-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(10, 17, 40, 0.03);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course-img-wrapper {
  height: 200px;
  position: relative;
  background-color: var(--primary-dark);
}

.course-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

.course-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--bg-white);
  color: var(--accent-blue);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.course-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-level {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(10, 17, 40, 0.06);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-blue);
}

/* BOOKS SECTION */
.books-container {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 4rem;
  align-items: center;
}

.book-display {
  display: flex;
  justify-content: center;
  position: relative;
}

.book-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  transform: rotate(-3deg);
  transition: var(--transition);
}

.book-img:hover {
  transform: rotate(0deg) scale(1.03);
}

.book-details h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.book-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.book-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.book-original-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.book-features {
  margin-bottom: 2.5rem;
}

.book-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.book-feature-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.book-actions {
  display: flex;
  gap: 1rem;
}

/* TESTIMONIAL CAROUSEL */
.testimonials-section {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.testimonials-section .section-title {
  color: var(--bg-white);
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.carousel-slide {
  display: none;
  text-align: center;
  padding: 2rem 0;
  animation: fadeEffect 0.6s ease;
}

.carousel-slide.active {
  display: block;
}

.testimonial-rating {
  color: #FBBF24;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
}

.testimonial-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carousel-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--bg-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background-color: var(--accent-blue);
}

/* TIMELINE (ขั้นตอนการเรียน) */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-timeline::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  z-index: 1;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 70px;
  height: 70px;
  background-color: var(--bg-white);
  border: 4px solid var(--accent-blue);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-item:hover .step-num {
  transform: scale(1.1);
  background-color: var(--accent-blue);
  color: var(--bg-white);
  box-shadow: var(--shadow-glow);
}

.step-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0 1rem;
}

/* STATS WITH ANIMATIONS */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: var(--bg-white);
  padding: 5rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card h3 {
  font-size: 3.5rem;
  color: var(--accent-cyan);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* FAQ ACCORDION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(10, 17, 40, 0.02);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
  transition: var(--transition);
}

.faq-header:hover {
  background-color: rgba(37, 99, 235, 0.02);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-blue);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 2rem;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-content {
  padding-bottom: 1.5rem;
}

/* CONTACT SECTION & MAPS */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(37, 99, 235, 0.05);
  color: var(--accent-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-text-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid rgba(10, 17, 40, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.social-link:hover {
  background-color: var(--accent-blue);
  color: var(--bg-white);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
}

.contact-form-box {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 17, 40, 0.1);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* MAP MOCKUP */
.map-mockup {
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #E2E8F0;
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  background: radial-gradient(circle, #F1F5F9 20%, #E2E8F0 100%);
}

.map-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-blue);
}

/* BLOG SECTION */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-img-box {
  height: 200px;
  position: relative;
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent-blue);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.blog-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-readmore:hover {
  color: var(--primary-dark);
}

/* AI ASSISTANT PAGE STYLES */
.ai-assistant-container {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 3rem;
}

.ai-controls {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ai-mode-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(10, 17, 40, 0.08);
  background-color: var(--bg-light);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.ai-mode-btn:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.ai-mode-btn.active {
  background-color: var(--accent-blue);
  color: var(--bg-white);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
}

.ai-mode-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ai-chat-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.ai-chat-header {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-bot-avatar {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chat-title h3 {
  color: var(--bg-white);
  font-size: 1.15rem;
}

.ai-chat-title p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.ai-chat-messages {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #F8FAFC;
}

.message {
  max-width: 80%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  line-height: 1.5;
  font-size: 0.95rem;
  animation: fadeEffect 0.3s ease;
}

.message-bot {
  background-color: var(--bg-white);
  color: var(--text-dark);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  border-bottom-left-radius: 0;
  border-left: 4px solid var(--accent-blue);
}

.message-user {
  background-color: var(--accent-blue);
  color: var(--bg-white);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.ai-chat-input-area {
  padding: 1.5rem;
  background-color: var(--bg-white);
  border-top: 1px solid rgba(10, 17, 40, 0.06);
  display: flex;
  gap: 1rem;
}

.ai-chat-input {
  flex-grow: 1;
  border: 1px solid rgba(10, 17, 40, 0.1);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

.ai-chat-input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.ai-chat-send-btn {
  background-color: var(--accent-blue);
  color: var(--bg-white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ai-chat-send-btn:hover {
  background-color: hsl(217, 91%, 48%);
}

.grammar-feedback {
  background-color: #FEF2F2;
  border-left: 4px solid #EF4444;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.grammar-feedback-correct {
  background-color: #ECFDF5;
  border-left: 4px solid #10B981;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* FLOATING WIDGETS */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.float-line {
  background-color: #06C755; /* LINE Brand Green */
}

.float-messenger {
  background: linear-gradient(135deg, #00B2FE 0%, #006AFF 50%, #9F01EA 100%); /* Messenger Gradient */
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-blue);
  transform: translateY(-3px);
}

/* FOOTER */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.925rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* MODALS */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeEffect 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (Mobile First Rules)
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .about-teacher, .books-container, .contact-grid, .ai-assistant-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-badge, .hero-actions, .hero-stats-row {
    justify-content: center;
  }
  
  .teacher-img-box {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .book-display {
    order: -1;
  }
  
  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-timeline::after {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .steps-timeline {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* -------------------------------------------------------------
   SEMINAR SECTION STYLES (English Education 2026)
------------------------------------------------------------- */
.seminar-section {
  background: linear-gradient(135deg, hsl(222, 55%, 7%) 0%, hsl(222, 45%, 13%) 100%);
  color: rgba(255, 255, 255, 0.95);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Background elements for rich aesthetics */
.seminar-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.seminar-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.seminar-section .container {
  position: relative;
  z-index: 2;
}

.seminar-badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.seminar-tag-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #F59E0B;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.seminar-tag-blue {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #60A5FA;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.seminar-hero-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem;
}

.seminar-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.seminar-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #F59E0B;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.seminar-quote-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #F59E0B;
  padding: 1.25rem 2rem;
  border-radius: 4px;
  max-width: 750px;
  margin: 2rem auto 0;
  text-align: left;
}

.seminar-quote-text {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.seminar-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.seminar-intro-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.seminar-intro-text p:last-child {
  margin-bottom: 0;
}

.teacher-quote-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.teacher-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #F59E0B;
  flex-shrink: 0;
}

.teacher-quote-content {
  position: relative;
}

.teacher-quote-content .quote-icon {
  font-size: 2.5rem;
  color: rgba(245, 158, 11, 0.3);
  position: absolute;
  top: -1.2rem;
  left: -0.5rem;
  font-family: Georgia, serif;
}

.teacher-quote-content p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}

.teacher-quote-content .quote-author {
  display: block;
  font-size: 0.9rem;
  color: #F59E0B;
  font-weight: 600;
}

.seminar-section-heading {
  font-size: 2rem;
  color: #ffffff;
  text-align: center;
  margin-top: 4.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.seminar-section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #F59E0B;
  border-radius: 2px;
}

/* Objectives Styles */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.objective-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.objective-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.objective-icon {
  width: 54px;
  height: 54px;
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.objective-card h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.objective-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Modules Styles */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.module-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--transition);
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.module-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.25);
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.module-content {
  flex: 1;
}

.module-content h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.module-tag {
  font-size: 0.8rem;
  color: #F59E0B;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.module-content ul {
  padding: 0;
  list-style: none;
}

.module-content li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.module-content li::before {
  content: '•';
  color: #F59E0B;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

/* Format Info Box */
.seminar-format-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin: 4.5rem auto 3rem;
  max-width: 900px;
}

.format-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.format-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.04);
  color: #F59E0B;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.format-info h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.format-info p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Pricing Section */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.price-card.active-promo {
  background: rgba(245, 158, 11, 0.04);
  border: 2px solid #F59E0B;
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15);
  transform: scale(1.05);
  z-index: 5;
}

.badge-active {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0a1128;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.price-tier {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.price-date {
  font-size: 0.9rem;
  color: #60A5FA;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.price-amount .currency {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 0.25rem;
}

.price-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Audience grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.audience-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.audience-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.audience-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Steps Section */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.step-flow-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.25rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-flow-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.step-flow-badge {
  width: 36px;
  height: 36px;
  background: #F59E0B;
  color: #0a1128;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.step-flow-item h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.step-flow-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.step-btn {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #F59E0B;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.step-btn:hover {
  background: #F59E0B;
  color: #0a1128;
  transform: translateY(-2px);
}

/* CTA Footer Styles */
.seminar-cta-footer {
  text-align: center;
  margin-top: 5rem;
  padding: 4rem 2rem;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border-radius: var(--radius-lg);
}

.cta-note {
  font-size: 1.35rem;
  color: #F59E0B;
  font-weight: 600;
  margin-bottom: 2.25rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0a1128;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #0a1128;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.15rem;
}

/* Responsive adjustments for Seminar Section */
@media (max-width: 1100px) {
  .objectives-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .seminar-title {
    font-size: 2.75rem;
  }
  .seminar-subtitle {
    font-size: 1.5rem;
  }
  .seminar-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .seminar-format-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 450px;
    gap: 2.5rem;
  }
  .price-card.active-promo {
    transform: none;
  }
  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .teacher-quote-card {
    flex-direction: column;
    text-align: center;
  }
  .teacher-quote-content .quote-icon {
    left: 50%;
    transform: translateX(-50%);
    top: -2rem;
  }
}

@media (max-width: 550px) {
  .seminar-title {
    font-size: 2.25rem;
  }
  .objectives-grid {
    grid-template-columns: 1fr;
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .steps-flow {
    grid-template-columns: 1fr;
  }
  .btn-lg {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
  }
}

/* SKILLLANE CUSTOM STYLES */
.btn-skilllane {
  background: linear-gradient(135deg, #00532a, #008744);
  color: var(--bg-white) !important;
  border: 1px solid #00532a;
  box-shadow: 0 4px 15px rgba(0, 83, 42, 0.25);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-skilllane:hover {
  background: linear-gradient(135deg, #003d1f, #006b36);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 83, 42, 0.4);
  color: var(--bg-white) !important;
}

.course-tag.tag-skilllane {
  background: linear-gradient(135deg, #00532a, #008744);
  color: var(--bg-white);
}

.skilllane-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 83, 42, 0.08);
  color: #00532a;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(0, 83, 42, 0.2);
  margin-bottom: 1rem;
}

/* LINE BUTTON */
.btn-line {
  background: #06C755;
  color: #ffffff !important;
  border: 1px solid #06C755;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-line:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);
  color: #ffffff !important;
}

/* LIVE COURSES & ON-SITE TRAINING STYLES */
.live-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.live-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 17, 40, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.live-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.live-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}

.live-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.live-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.live-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.live-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.live-card-list li svg {
  color: #06C755;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.live-cta-box {
  background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(224, 76%, 48%));
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-top: 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.live-cta-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}




/* Parent portal login button (KruBall English progress system) */
.nav-portal {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--primary-blue);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-portal:hover {
  background: var(--accent-blue);
  color: var(--bg-white);
  transform: translateY(-1px);
}
.nav-portal:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-menu { gap: 1.25rem; }
  .nav-portal { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
}
/* Tablet: use the same slide-in menu as phones so 9 items never wrap */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.active { left: 0; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
  .nav-portal { padding: 0.75rem 1.5rem; font-size: 1rem; }
}
@media (max-width: 768px) {
  .nav-portal { padding: 0.75rem 1.5rem; font-size: 1rem; }
}

/* ───────────── Blog article pages (/blog/<slug>) ───────────── */
.article-hero { padding: 130px 0 40px; background: radial-gradient(circle at 10% 20%, hsl(200, 100%, 96%) 0%, var(--bg-light) 60%); border-bottom: 1px solid rgba(10,17,40,0.06); }
.article-hero-inner { max-width: 780px; }
.article-hero h1 { color: var(--primary-dark); font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.3; margin: 0.8rem 0 0.9rem; }
.article-breadcrumb { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.article-breadcrumb a { color: var(--accent-blue); }
.article-breadcrumb a.article-cat { color: var(--bg-white); font-weight: 700; font-size: 0.8rem; padding: 0.2rem 0.75rem; border-radius: 999px; }
.article-meta { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.article-layout { max-width: 780px; padding-top: 2.5rem; padding-bottom: 4rem; }
.article-body { font-size: 1.075rem; line-height: 1.9; color: var(--text-dark); }
.article-body > * + * { margin-top: 1.1rem; }
.article-body .lead { font-size: 1.2rem; line-height: 1.8; color: var(--text-dark); }
.article-body h2 { font-size: 1.5rem; margin-top: 2.6rem; color: var(--primary-dark); line-height: 1.35; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.8rem; color: var(--primary-blue); }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: 0.45rem; }
.article-body a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body code { background: var(--bg-light); border: 1px solid rgba(10,17,40,0.08); border-radius: 6px; padding: 0.1rem 0.4rem; font-size: 0.95em; }
.article-body .table-wrap { overflow-x: auto; border: 1px solid rgba(10,17,40,0.08); border-radius: var(--radius-sm); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.97rem; line-height: 1.6; }
.article-body th, .article-body td { padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(10,17,40,0.07); text-align: left; vertical-align: top; }
.article-body thead th { background: var(--bg-light); color: var(--primary-dark); }
.article-body tbody tr:last-child th, .article-body tbody tr:last-child td { border-bottom: 0; }
.article-body .callout { background: rgba(37,99,235,0.06); border-left: 4px solid var(--accent-blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; }
.article-body .callout p { margin: 0.5rem 0 0; }
.article-body .callout-secret { background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(217,119,6,0.06)); border-left-color: #D97706; }
.article-body .callout-secret strong:first-child { color: #B45309; }
.article-body .prompt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92rem; line-height: 1.65; background: var(--primary-dark); color: #E2E8F0; padding: 1rem 1.25rem; border-radius: var(--radius-sm); white-space: pre-wrap; }
.article-body details.quiz { border: 1px solid rgba(10,17,40,0.1); border-radius: var(--radius-sm); padding: 0.8rem 1.1rem; background: var(--bg-white); }
.article-body details.quiz summary { cursor: pointer; font-weight: 600; }
.article-body details.quiz summary::after { content: '  (แตะเพื่อดูเฉลย)'; font-weight: 400; color: var(--text-muted); font-size: 0.9rem; }
.article-body details.quiz[open] summary::after { content: ''; }
.article-body details.quiz p { margin: 0.6rem 0 0; }
.article-cta { margin-top: 3rem; padding: 2rem; border-radius: var(--radius-lg); background: var(--primary-dark); color: var(--bg-white); }
.article-cta h2 { color: var(--bg-white); font-size: 1.4rem; margin-bottom: 0.6rem; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.article-related { margin-top: 3rem; }
.article-related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.related-card { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(10,17,40,0.08); border-radius: var(--radius-md); background: var(--bg-white); color: var(--text-dark); transition: var(--transition); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card strong { line-height: 1.45; }
.related-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; color: var(--accent-blue); background: rgba(37,99,235,0.08); padding: 0.1rem 0.55rem; border-radius: 999px; }
.related-meta { font-size: 0.85rem; color: var(--text-muted); }
.article-back { margin-top: 2.5rem; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--accent-blue); }
@media (max-width: 640px) {
  .article-hero { padding: 110px 0 36px; }
  .article-body { font-size: 1.02rem; }
  .article-cta { padding: 1.5rem; }
  .article-cta-actions .btn { width: 100%; }
}

