/* ==========================================================================
   DESIGN SYSTEM - OPTION B: WARM YOUTH CLUB
   BeOne Class Showcase Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root variables & Reset
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #fdfbf7;      /* Warm cream background */
  --bg-secondary: #f6f2eb;    /* Slightly darker cream shadow */
  --bg-white: #ffffff;
  
  --text-main: #3c3935;       /* Dark charcoal for high contrast */
  --text-muted: #6e6a64;      /* Soft brown-gray for helper text */
  --text-light: #9c978f;
  
  --primary: #ff7e5f;         /* Warm Orange-Coral */
  --primary-hover: #e66848;
  --primary-light: #fff0eb;
  
  --secondary: #76c7c0;       /* Soft Mint Teal */
  --secondary-hover: #5bb3ac;
  --secondary-light: #edfbf9;
  
  --accent-yellow: #fbc02d;   /* Sunshine Yellow */
  --accent-blue: #4a90e2;     /* Sky Blue */
  --accent-purple: #9b5de5;   /* Creative Violet */
  
  --border-color: #ede9e2;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  /* Shadows */
  --shadow-sm: 0 4px 10px rgba(90, 88, 84, 0.04);
  --shadow-md: 0 10px 25px rgba(90, 88, 84, 0.08);
  --shadow-lg: 0 20px 40px rgba(90, 88, 84, 0.12);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

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

a:hover {
  color: var(--primary-hover);
}

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

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. Utility classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.badge-accent {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-primary-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ffa38a);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(255, 126, 95, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 126, 95, 0.45);
  color: var(--bg-white);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dot-online {
  width: 10px;
  height: 10px;
  background-color: #2ec4b6;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 196, 182, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 196, 182, 0); }
}

/* Custom Section Header */
.section-header {
  margin-bottom: 60px;
}
.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
}
.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}
.header-line {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent-yellow));
  margin: 15px auto 0;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   3. Header / Navbar
   -------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(237, 233, 226, 0.5);
  transition: all var(--transition-normal);
}

#header.scrolled {
  padding: 10px 0;
  background-color: rgba(253, 251, 247, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: all var(--transition-normal);
}

#header.scrolled .header-container {
  height: 65px;
}

.logo {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.logo-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent-yellow));
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: 12px;
  margin-right: 8px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 5px;
  transition: var(--transition-normal);
}

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

.upcoming-badge::before {
  content: 'New';
  position: absolute;
  top: -8px;
  right: -24px;
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 160px;
  padding-bottom: 120px;
  background: radial-gradient(circle at 80% 20%, #ffe9e3 0%, var(--bg-primary) 60%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
}

/* Custom Premium Video Card */
.video-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(237, 233, 226, 0.8);
  transform: rotate(1.5deg);
  transition: all var(--transition-normal);
  max-width: 330px;
  margin: 0 auto;
  width: 100%;
}

.video-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(90, 88, 84, 0.18);
}

.video-header {
  background-color: var(--bg-secondary);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.video-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.video-header .dot.red { background-color: #ff5f56; }
.video-header .dot.yellow { background-color: #ffbd2e; }
.video-header .dot.green { background-color: #27c93f; }

.video-title {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 9/16;
  background-color: #000;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 43, 41, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition-normal);
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary);
  border: none;
  color: var(--bg-white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 25px rgba(255, 126, 95, 0.4);
}

.video-overlay:hover .play-btn {
  transform: scale(1.1);
  background-color: var(--primary-hover);
  box-shadow: 0 15px 30px rgba(255, 126, 95, 0.6);
}

.overlay-text {
  color: var(--bg-white);
  margin-top: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.video-footer {
  padding: 10px 20px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.video-control-btn {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.video-control-btn:hover {
  color: var(--primary);
}

.video-timeline-bar {
  flex-grow: 1;
  height: 6px;
  background-color: rgba(90, 88, 84, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.video-progress {
  width: 0%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.wave-bottom .shape-fill {
  fill: var(--bg-secondary);
}

/* --------------------------------------------------------------------------
   5. Teacher's Reflection (LinkedIn Post)
   -------------------------------------------------------------------------- */
.reflection-section {
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.reflection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.reflection-text-card {
  background-color: var(--bg-white);
  padding: 45px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid rgba(237, 233, 226, 0.4);
}

.quote-icon {
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 5rem;
  color: rgba(255, 126, 95, 0.08);
}

.reflection-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.author-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.author-name {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.reflection-content p {
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.reflection-content p strong {
  font-weight: 700;
  color: var(--primary);
}

.reflection-content em {
  display: block;
  padding-left: 15px;
  border-left: 4px solid var(--secondary);
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-weight: 700;
  color: #0077b5;
}

.linkedin-link:hover {
  color: #005582;
}

/* Slider gallery mockup */
.reflection-gallery-card {
  position: relative;
}

.slider-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--bg-white);
  aspect-ratio: 1/1;
  position: relative;
}

.linkedin-slider {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(44, 43, 41, 0.85));
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(253, 251, 247, 0.9);
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

.slider-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(253, 251, 247, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 24px;
  border-radius: 5px;
  background-color: var(--primary);
}

/* --------------------------------------------------------------------------
   6. Student Showcase Gallery
   -------------------------------------------------------------------------- */
.showcase-section {
  background-color: var(--bg-primary);
}

.showcase-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: var(--bg-white);
  color: var(--text-muted);
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 8px 15px rgba(255, 126, 95, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.gallery-item {
  transition: transform var(--transition-slow);
}

.gallery-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(237, 233, 226, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 126, 95, 0.2);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.card-img-wrapper img, .card-img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.pdf-indicator, .video-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(44, 43, 41, 0.85);
  color: var(--bg-white);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(5px);
}

.pdf-indicator {
  background-color: rgba(233, 78, 90, 0.9);
}

.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 126, 95, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  color: var(--bg-white);
}

.gallery-card:hover .card-hover-overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  transform: scale(0.8);
  transition: transform var(--transition-normal);
}

.gallery-card:hover .zoom-icon {
  transform: scale(1);
}

.view-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
}

.badge-canva {
  background-color: rgba(74, 144, 226, 0.1);
  color: var(--accent-blue);
}

.badge-video {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-capcut {
  background-color: rgba(155, 93, 229, 0.1);
  color: var(--accent-purple);
}

.card-student-name {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.card-achievement {
  color: var(--secondary-hover);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Past Course Curriculum Roadmap
   -------------------------------------------------------------------------- */
.curriculum-section {
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.curriculum-section .wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.curriculum-section .wave-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.curriculum-section .wave-top .shape-fill {
  fill: var(--bg-primary);
}

.roadmap-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  background-color: rgba(90, 88, 84, 0.05);
  padding: 8px;
  border-radius: 50px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-tab-btn {
  flex-grow: 1;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.roadmap-tab-btn:hover {
  color: var(--text-main);
}

.roadmap-tab-btn.active {
  background-color: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.roadmap-content {
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-block {
  display: none;
}

.roadmap-block.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.roadmap-timeline {
  position: relative;
  padding-left: 45px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 17px;
  width: 4px;
  height: 100%;
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 10px;
}

.timeline-card {
  position: relative;
  margin-bottom: 40px;
}

.timeline-card:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: -45px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-card:hover .timeline-badge {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: scale(1.1);
}

.timeline-card-content {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(237, 233, 226, 0.4);
  transition: all var(--transition-normal);
}

.timeline-card-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.card-header-with-img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.timeline-title-wrap h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.time-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-preview-placeholder {
  width: 140px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--bg-white);
  font-family: 'Outfit', sans-serif;
}

.timeline-preview-placeholder.color-1 { background: linear-gradient(135deg, #ff7e5f, #ffb39e); }
.timeline-preview-placeholder.color-2 { background: linear-gradient(135deg, #76c7c0, #a9e0db); }
.timeline-preview-placeholder.color-3 { background: linear-gradient(135deg, #4a90e2, #8db5e7); }
.timeline-preview-placeholder.color-4 { background: linear-gradient(135deg, #fbc02d, #fdd835); }
.timeline-preview-placeholder.color-5 { background: linear-gradient(135deg, #9b5de5, #c29bf5); }
.timeline-preview-placeholder.color-6 { background: linear-gradient(135deg, #ff7e5f, #ffb39e); }
.timeline-preview-placeholder.color-7 { background: linear-gradient(135deg, #76c7c0, #a9e0db); }
.timeline-preview-placeholder.color-8 { background: linear-gradient(135deg, #4a90e2, #8db5e7); }
.timeline-preview-placeholder.color-9 { background: linear-gradient(135deg, #9b5de5, #c29bf5); }

.timeline-card-content ul {
  padding-left: 20px;
  list-style-type: disc;
}

.timeline-card-content ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline-card-content ul li strong {
  color: var(--text-main);
}

.timeline-card-content ul li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. Upcoming Adobe Premiere Pro Course
   -------------------------------------------------------------------------- */
.upcoming-section {
  background-color: var(--bg-primary);
}

.premiere-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}

.highlight-box {
  background-color: var(--bg-white);
  padding: 35px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(237, 233, 226, 0.6);
  text-align: center;
  transition: all var(--transition-normal);
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 144, 226, 0.2);
}

.highlight-box .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.highlight-box:nth-child(2) .icon-wrap {
  background-color: var(--primary-light);
  color: var(--primary);
}

.highlight-box:nth-child(3) .icon-wrap {
  background-color: rgba(74, 144, 226, 0.1);
  color: var(--accent-blue);
}

.highlight-box h5 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* Premiere 8 sessions grid */
.premiere-curriculum-wrap {
  background-color: var(--bg-secondary);
  padding: 50px;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(237, 233, 226, 0.5);
}

.curriculum-subtitle {
  font-size: 1.6rem;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.curriculum-subtitle i {
  color: var(--primary);
}

.premiere-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.p-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--accent-purple);
  transition: all var(--transition-normal);
}

.p-card:nth-child(even) {
  border-left-color: var(--primary);
}

.p-card:nth-child(3n+1) {
  border-left-color: var(--secondary);
}

.p-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.p-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.p-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
}

.p-card:hover .p-num {
  color: var(--primary);
}

.p-header h4 {
  font-size: 1.15rem;
  color: var(--text-main);
}

.p-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Contact / Consultant Section
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-container {
  max-width: 1100px;
}

.contact-box {
  background: linear-gradient(135deg, var(--bg-white) 0%, #fffbf2 100%);
  border-radius: var(--border-radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(237, 233, 226, 0.8);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-item i {
  font-size: 1.3rem;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-item div {
  display: flex;
  flex-direction: column;
}

.method-item strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.method-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cta-card {
  background-color: var(--bg-primary);
  border: 2px dashed var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.cta-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.social-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--bg-white);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.cta-btn .icon {
  font-size: 1.2rem;
}

.zalo-btn {
  background-color: #0068ff;
}

.zalo-btn:hover {
  background-color: #0050c7;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 104, 255, 0.35);
}

.messenger-btn {
  background: linear-gradient(135deg, #0084ff, #a43ffb);
}

.messenger-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(164, 63, 251, 0.35);
}

.consultation-note {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.consultation-note p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.consultation-note i {
  color: var(--accent-yellow);
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
#footer {
  background-color: var(--text-main);
  color: #c9c5be;
  padding: 60px 0;
  border-top: 4px solid var(--primary);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.footer-logo {
  color: var(--bg-white);
  margin-bottom: 10px;
  justify-content: center;
}

.footer-col-brand p {
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #c9c5be;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  width: 100%;
  padding-top: 25px;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   11. Modal Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 43, 41, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(253, 251, 247, 0.1);
  color: var(--bg-white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  background-color: var(--primary);
  transform: rotate(90deg);
}

.lightbox-content {
  width: 90%;
  max-width: 1000px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-media-container {
  background-color: #000;
  flex-grow: 1;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 60vh;
}

.lightbox-media-container.active {
  display: flex;
}

#lightboxImage {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

#lightboxVideo {
  width: 100%;
  max-height: 60vh;
  outline: none;
}

#lightboxIframe {
  width: 100%;
  height: 60vh;
  border: none;
  background-color: #fff;
}

.lightbox-meta {
  padding: 30px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

#lightboxStudentName {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

#lightboxAchievement {
  color: var(--secondary-hover);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.lightbox-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.lightbox-actions {
  display: flex;
  gap: 15px;
}

/* --------------------------------------------------------------------------
   12. Responsive adaptation (Media Queries)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .video-card {
    max-width: 330px;
    margin: 0 auto;
  }
  
  .reflection-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .reflection-gallery-card {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  
  .premiere-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .premiere-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-box {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Mobile Menu */
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .upcoming-badge::before {
    position: relative;
    top: -5px;
    right: 0;
    margin-left: 8px;
    display: inline-block;
  }
  
  .header-actions .btn {
    display: none; /* Hide header btn on small mobile, show in menu or just rely on footer */
  }
  
  .timeline-card-content {
    padding: 20px;
  }
  
  .card-header-with-img {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .timeline-preview-placeholder {
    width: 100%;
  }
  
  .premiere-curriculum-wrap {
    padding: 25px;
  }
}
