/* ==========================================================================
   ICTS CONSULTING (SMC-PRIVATE) LIMITED
   Corporate & Language Portal — Luxury Warm Red, Gold & Charcoal Design System
   Light Palette: #FBFBF5 (Cream), #FFFFFF, #B91C1C (Crimson Red), #D0A823 (Gold)
   Dark Palette: #0D1117 (Dark Obsidian), #161B22, #B91C1C, #F7D327 (Sunshine Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Noto+Serif+SC:wght@500;700;900&family=Instrument+Serif:ital@1&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulseGlow 1.8s infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes livePulseGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

:root {
  /* ==========================================================================
     STRICT 5-COLOR PALETTE SYSTEM:
     1. #000000 (Black)
     2. #FFFCEF (Off-white / Cream)
     3. #F1CF54 (Light Yellow / Gold)
     4. #D9B29C (Muted Peach / Tan)
     5. #E54C44 (Red / Coral)
     ========================================================================== */
  --c-black: #000000;
  --c-cream: #FFFCEF;
  --c-yellow: #F1CF54;
  --c-peach: #D9B29C;
  --c-red: #E54C44;

  /* Red / Coral (#E54C44) */
  --brand-red: #E54C44;
  --brand-red-light: #FFFCEF;
  --brand-red-hover: #D03B33;
  --brand-red-dark: #000000;
  --brand-red-gradient: linear-gradient(135deg, #000000 0%, #E54C44 50%, #000000 100%);
  --brand-red-glow: rgba(229, 76, 68, 0.4);

  /* Light Yellow / Gold (#F1CF54) */
  --yellow-light: #FFFCEF;
  --yellow-main: #F1CF54;
  --yellow-hover: #F6D86B;
  --yellow-vibrant: #F1CF54;
  --gold-honey: #D9B29C;
  --gold-dark: #000000;

  /* Muted Peach / Tan (#D9B29C) */
  --tan-peach: #D9B29C;
  --border-subtle: #D9B29C;
  --border-card: #D9B29C;
  --border-gold: #F1CF54;
  --border-gold-strong: #F1CF54;

  /* Off-White / Cream (#FFFCEF) */
  --bg-cream: #FFFCEF;
  --bg-white: #FFFCEF;
  --surface-card: #FFFCEF;
  --surface-warm: #FFFCEF;
  --surface-banner: #FFFCEF;

  /* Black (#000000) */
  --umber-body: #000000;
  --charcoal-dark: #000000;
  --charcoal-deep: #000000;

  /* Accents */
  --crimson-seal: #E54C44;
  --crimson-light: #FFFCEF;
  --jade-green: #E54C44;
  --whatsapp: #E54C44;
  --whatsapp-hover: #D03B33;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-chinese: 'Noto Serif SC', 'PingFang SC', serif;
  --font-serif: 'Outfit', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --max-width: 1320px;
  --gutter: clamp(16px, 2.5vw, 32px);
  --section-pad: clamp(54px, 6vw, 90px);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  /* Transitions */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --e-flip: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 4px 18px -4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 14px 34px -8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.18);
  --shadow-frame: 0 16px 40px -10px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   SMOOTH TRANSITIONS & BASE RESETS (LIGHT THEME ONLY)
   ========================================================================== */

/* Smooth Theme Transitions */
body,
.site-header,
.site-footer,
.faq-item,
.service-feature-card,
.who-card,
.pillar-card,
.stat-banner-item,
.contact-channels-box,
.reg-form-card,
.table-card,
.program-card,
.gallery-card,
.nav-menu {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--umber-body);
  background-color: var(--bg-cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--e-out);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

/* Chinese Seal Badge */
.chinese-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--crimson-seal);
  color: var(--crimson-seal);
  background: var(--crimson-light);
  border-radius: 6px;
  font-family: var(--font-chinese);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER / NAVBAR (RICH RED LUXURY CORPORATE HEADER - ULTRA-VISIBLE DESKTOP)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #B91C1C;
  background: linear-gradient(135deg, #B91C1C 0%, #D03B33 50%, #A81B1B 100%);
  border-bottom: 3.5px solid var(--yellow-main);
  box-shadow: 0 10px 32px rgba(185, 28, 28, 0.45);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: #991B1B;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--yellow-main);
}

/* ==========================================================================
   ANIMATED MOVING WORDS BROADCAST BANNER (HIGH-VISIBILITY NEWS TICKER)
   ========================================================================== */
.live-workshop-bar {
  background: #050505;
  background: linear-gradient(90deg, #000000 0%, #161208 30%, #1a0808 50%, #161208 70%, #000000 100%);
  border-bottom: 2.5px solid var(--yellow-main);
  border-top: 1px solid rgba(241, 207, 84, 0.35);
  padding: 8px 0;
  position: relative;
  z-index: 990;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.live-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
}

.live-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marqueeScrollWords 30s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.live-marquee-container:hover .live-marquee-track,
.live-marquee-container:active .live-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScrollWords {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.marquee-divider {
  color: var(--yellow-main);
  opacity: 0.8;
  font-weight: 900;
  font-size: 16px;
  text-shadow: 0 0 8px rgba(241, 207, 84, 0.7);
}

.live-badge-glow {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid #F1CF54;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: liveBadgePulse 2s infinite ease-in-out;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

@keyframes liveBadgePulse {
  0% {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    border-color: #F1CF54;
  }
  50% {
    box-shadow: 0 0 24px rgba(239, 68, 68, 1), 0 0 12px #F1CF54;
    border-color: #FFFFFF;
  }
  100% {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    border-color: #F1CF54;
  }
}

.live-workshop-info {
  font-size: 14px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.live-workshop-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #F1CF54;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14.5px;
  text-shadow: 0 0 12px rgba(241, 207, 84, 0.6), 0 1px 3px rgba(0, 0, 0, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.live-workshop-schedule {
  color: #F8FAFC;
  font-weight: 600;
  font-size: 13.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.live-workshop-schedule b {
  color: #000000;
  background: #F1CF54;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 1px 6px rgba(241, 207, 84, 0.5);
  margin: 0 2px;
}

.live-badge-detail {
  background: rgba(0, 0, 0, 0.7);
  border: 1.5px solid rgba(241, 207, 84, 0.6);
  padding: 2.5px 9px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

.live-badge-detail:last-of-type {
  border-color: rgba(239, 68, 68, 0.8);
  color: #FCA5A5;
}

.live-marquee-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.live-join-btn {
  background: linear-gradient(135deg, #F1CF54 0%, #D4AC20 100%);
  color: #000000 !important;
  font-weight: 900;
  font-size: 12.5px;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #000000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(241, 207, 84, 0.6);
  text-decoration: none;
  cursor: pointer;
}

.live-join-btn:hover {
  background: #FFFFFF;
  color: #000000 !important;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.7);
  border-color: #F1CF54;
}

.live-agenda-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12px;
  padding: 4.5px 13px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.live-agenda-btn:hover {
  background: #E54C44;
  color: #FFFFFF !important;
  border-color: #F1CF54;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(229, 76, 68, 0.5);
}

.live-modal-btn {
  background: linear-gradient(135deg, #B91C1C 0%, #881337 100%);
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: 12px;
  padding: 4.5px 13px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--yellow-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.6);
  text-decoration: none;
  cursor: pointer;
}

.live-modal-btn:hover {
  background: #F1CF54;
  color: #000000 !important;
  border-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(241, 207, 84, 0.6);
}

.live-center-btn {
  background: transparent;
  color: #F1CF54 !important;
  font-weight: 800;
  font-size: 12px;
  padding: 4.5px 13px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #F1CF54;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.live-center-btn:hover {
  background: #F1CF54;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(241, 207, 84, 0.5);
}

.live-modal-btn:hover {
  background: var(--yellow-main);
  color: #000000 !important;
  border-color: #000000;
  transform: translateY(-1px);
}

.live-center-btn {
  background: #B91C1C;
  color: #FFFCEF !important;
  font-weight: 900;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--yellow-main);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4);
  text-decoration: none;
  white-space: nowrap;
}

.live-center-btn:hover {
  background: var(--yellow-main);
  color: #000000 !important;
  border-color: #000000;
  transform: translateY(-1px);
}

.live-contact-link {
  color: #FFFCEF;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  text-decoration: none;
}

.live-contact-link:hover {
  color: var(--yellow-main);
}

/* ==========================================================================
   LIVE WORKSHOP DETAILS MODAL DIALOG
   ========================================================================== */
.workshop-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.workshop-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.workshop-modal-card {
  background: #0F172A;
  background: linear-gradient(145deg, #111827 0%, #0F172A 100%);
  border: 2px solid var(--yellow-main);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(241, 207, 84, 0.2);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

.workshop-modal-backdrop.active .workshop-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #E54C44;
  border-color: #E54C44;
  transform: rotate(90deg);
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E54C44;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid var(--yellow-main);
}

.modal-title {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--yellow-main);
  line-height: 1.25;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 13.5px;
  color: #CBD5E1;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-grid-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.modal-info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
}

.modal-info-label {
  font-size: 11px;
  color: var(--yellow-main);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-info-val {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.modal-copy-btn {
  background: rgba(241, 207, 84, 0.2);
  border: 1px solid var(--yellow-main);
  color: var(--yellow-main);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-copy-btn:hover,
.modal-copy-btn.copied {
  background: var(--yellow-main);
  color: #000000;
}

.modal-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.modal-link-item:hover {
  background: rgba(241, 207, 84, 0.12);
  border-color: var(--yellow-main);
  color: var(--yellow-main);
  transform: translateX(4px);
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-actions-row .btn {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: clamp(10px, 1.5vw, 24px);
  width: 100%;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 56px;
  max-height: 56px;
  width: auto;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s var(--e-bounce);
}

.brand-lockup:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-tag-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--bg-cream) !important;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--yellow-main) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 14px);
  flex-wrap: nowrap;
}

/* Mobile drawer helper elements MUST be completely hidden on desktop navbar */
.mobile-drawer-header,
.mobile-drawer-divider,
.mobile-theme-row,
.mobile-register-cta,
.mobile-wa-cta {
  display: none !important;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--bg-cream) !important;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  position: relative;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow-main);
  border-radius: 2px;
  transition: width 0.25s var(--e-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--yellow-main) !important;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn-outline {
  background: transparent;
  color: var(--bg-cream) !important;
  border-color: var(--yellow-main);
}

.nav-actions .btn-outline:hover {
  background: var(--yellow-main);
  color: #000000 !important;
}

.nav-actions .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.nav-actions .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--yellow-main);
  transform: scale(1.08) rotate(15deg);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--e-out);
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex-shrink: 0;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-yellow::before,
.btn-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left 0.65s var(--e-out);
}

.btn-yellow:hover::before,
.btn-dark:hover::before {
  left: 130%;
}

.btn-yellow {
  background: var(--yellow-main);
  color: #000000 !important;
  border-color: #000000;
  box-shadow: 0 4px 16px -4px rgba(241, 207, 84, 0.6);
}

.btn-yellow:hover {
  background: #FFFCEF;
  color: #000000 !important;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(241, 207, 84, 0.75);
}

.btn-dark {
  background: #000000;
  color: var(--yellow-main) !important;
  border-color: var(--yellow-main);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
  color: #FFFCEF !important;
  border-color: #000000;
  box-shadow: var(--shadow-md);
}

.btn-red {
  background: var(--brand-red);
  color: #FFFCEF !important;
  border-color: #000000;
  box-shadow: 0 4px 16px -4px var(--brand-red-glow);
}

.btn-red:hover {
  background: #000000;
  color: #FFFCEF !important;
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.55);
}

.btn-outline {
  background: #FFFCEF;
  color: #000000 !important;
  border-color: #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #FFFCEF !important;
  border-color: #000000;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15.5px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--surface-warm);
  border: 1.5px solid var(--border-subtle);
  color: var(--charcoal-dark);
  cursor: pointer;
  transition: all 0.25s var(--e-bounce);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-red);
  background: var(--bg-white);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
}

.theme-icon {
  font-size: 17px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s var(--e-bounce);
}

[data-theme="dark"] .sun-icon {
  display: inline-block;
}

[data-theme="dark"] .moon-icon {
  display: none;
}

:root:not([data-theme="dark"]) .sun-icon {
  display: none;
}

:root:not([data-theme="dark"]) .moon-icon {
  display: inline-block;
}

/* Subpage Hero & Header Styling (Vibrant Yellow Canvas in Light Mode with Live Video) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 76px) 0 clamp(36px, 4vw, 56px);
  background: var(--yellow-main);
  border-bottom: 3.5px solid #000000;
  text-align: center;
}

.page-hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.page-hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241, 207, 84, 0.38);
  pointer-events: none;
}

[data-theme="dark"] .page-hero-video-overlay {
  background: rgba(0, 0, 0, 0.75);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .page-hero {
  background: linear-gradient(135deg, rgba(241, 207, 84, 0.15) 0%, #000000 70%) !important;
  border-bottom: 3.5px solid var(--yellow-main) !important;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: var(--yellow-main);
  border: 1.5px solid #000000;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

[data-theme="dark"] .page-hero-badge {
  background: var(--yellow-main);
  color: #000000;
  border-color: #000000;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 900;
  color: #000000;
  line-height: 1.15;
  margin-bottom: 14px;
}

[data-theme="dark"] .page-hero-title {
  color: var(--yellow-main) !important;
}

.page-hero-subtitle {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(15px, 1.3vw, 17.5px);
  color: #000000;
  line-height: 1.65;
  font-weight: 500;
}

[data-theme="dark"] .page-hero-subtitle {
  color: #FFFCEF !important;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: #000000;
  font-weight: 700;
}

[data-theme="dark"] .breadcrumb-nav {
  color: #D9B29C;
}

.breadcrumb-nav a {
  color: #000000;
  font-weight: 800;
}

[data-theme="dark"] .breadcrumb-nav a {
  color: var(--yellow-main);
}

/* Animated Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--yellow-main);
  border-radius: var(--radius-sm);
  padding: 8px 7px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1100;
  transition: all 0.3s ease;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--yellow-main);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(241, 207, 84, 0.15);
  transform: scale(1.05);
}

/* Hamburger Transform to 'X' when active */
.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: #FFFFFF;
}

.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: #FFFFFF;
}

/* Universal SVG Icon Style (Icons, not emojis) */
.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-stroke {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION (VIBRANT YELLOW CANVAS BACKGROUND JUST LIKE REFERENCE IMAGE)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: clamp(52px, 6.5vw, 88px) 0 clamp(44px, 5.5vw, 76px);
  background: var(--yellow-main);
  border-bottom: 3.5px solid #000000;
  overflow: hidden;
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, rgba(241, 207, 84, 0.16) 0%, #000000 65%) !important;
  border-bottom: 3.5px solid var(--yellow-main) !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 4vw, 54px);
  align-items: center;
  margin-bottom: 44px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  border: 2px solid #000000;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  color: var(--yellow-main);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: pulsePill 3.5s ease-in-out infinite;
}

[data-theme="dark"] .hero-badge-pill {
  background: var(--yellow-main);
  color: #000000;
  border-color: #000000;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  color: #000000;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

[data-theme="dark"] .hero-title {
  color: var(--yellow-main) !important;
}

.hero-title i,
.sec-title i,
h2 i,
h3 i {
  font-family: inherit;
  font-style: normal;
  font-weight: 900;
  color: var(--brand-red);
  position: relative;
}

[data-theme="dark"] .hero-title i,
[data-theme="dark"] .sec-title i,
[data-theme="dark"] h2 i,
[data-theme="dark"] h3 i {
  color: var(--brand-red);
}

.hero-subtitle {
  font-size: clamp(15px, 1.2vw, 17.5px);
  color: #000000;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 26px;
}

[data-theme="dark"] .hero-subtitle {
  color: #FFFCEF !important;
}

.hero-subtitle b {
  color: #000000;
  font-weight: 900;
}

[data-theme="dark"] .hero-subtitle b {
  color: var(--yellow-main);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.hero-stat-item {
  background: #FFFCEF;
  border: 2px solid #000000;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.hero-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .hero-stat-item {
  background: #000000;
  border-color: var(--yellow-main);
  box-shadow: 0 4px 12px rgba(241, 207, 84, 0.15);
}

.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1.1;
}

[data-theme="dark"] .hero-stat-number {
  color: var(--yellow-main);
}

.hero-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

[data-theme="dark"] .hero-stat-label {
  color: #FFFCEF;
}

/* Animations */
@keyframes floatGentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulsePill {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

.hero-card-stack {
  animation: floatGentle 5s ease-in-out infinite;
}

.pillar-card,
.service-feature-card,
.who-card,
.program-card {
  transition: transform 0.3s var(--e-out), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.pillar-card:hover,
.service-feature-card:hover,
.who-card:hover,
.program-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 20px 40px -10px rgba(185, 28, 28, 0.22) !important;
  border-color: var(--brand-red) !important;
}

[data-theme="dark"] .pillar-card:hover,
[data-theme="dark"] .service-feature-card:hover,
[data-theme="dark"] .who-card:hover,
[data-theme="dark"] .program-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8) !important;
  border-color: var(--yellow-main) !important;
}

.hero-subtitle b {
  color: var(--charcoal-dark);
}

/* Luxury Hero Frame — Edge-to-Edge Clean Fit */
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  border: 3.5px solid var(--gold-honey);
  box-shadow: var(--shadow-frame);
  background: var(--bg-white);
  padding: 8px;
  overflow: hidden;
}

.hero-visual-inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  height: clamp(300px, 32vw, 420px);
  line-height: 0;
  background: var(--charcoal-dark);
}

.hero-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--e-out);
}

.hero-visual-frame:hover img {
  transform: scale(1.04);
}

.hero-visual-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(22, 20, 17, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--yellow-main);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.hero-visual-badge span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-main);
}

/* ==========================================================================
   4 MAJOR SERVICE PILLARS (HERO CARDS)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar-card {
  background: var(--surface-card);
  border: 2px solid var(--border-subtle);
  border-top: 5px solid var(--yellow-main) !important;
  border-radius: var(--radius-xl);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.08);
  transition: all 0.35s var(--e-out);
  position: relative;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow-main);
  box-shadow: 0 16px 36px -6px rgba(245, 158, 11, 0.35);
}

.pillar-number,
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #161411 !important;
  background: var(--yellow-main);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  border: 1px solid var(--gold-dark);
}

.pillar-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: inline-block;
}

.pillar-card-title,
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--charcoal-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.pillar-card-desc,
.pillar-card p {
  font-size: 13.5px;
  color: var(--umber-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.pillar-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-link:hover {
  color: var(--charcoal-dark);
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-pad {
  padding: var(--section-pad) 0;
  position: relative;
}

.bg-cream {
  background-color: var(--bg-cream);
}

.bg-white {
  background-color: var(--bg-white);
  border-top: 2px solid var(--border-subtle);
  border-bottom: 2px solid var(--border-subtle);
}

.sec-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(32px, 4vw, 54px);
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.sec-eyebrow::before,
.sec-eyebrow::after {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--charcoal-dark);
  margin-bottom: 12px;
}

.sec-title i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
}

.sec-desc {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--umber-body);
  line-height: 1.65;
}

/* Reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--e-out), transform 0.75s var(--e-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view .stagger-item {
  animation: staggerIn 0.65s var(--e-out) both;
}

.reveal-stagger .stagger-item:nth-child(1) {
  animation-delay: 0.05s;
}

.reveal-stagger .stagger-item:nth-child(2) {
  animation-delay: 0.12s;
}

.reveal-stagger .stagger-item:nth-child(3) {
  animation-delay: 0.19s;
}

.reveal-stagger .stagger-item:nth-child(4) {
  animation-delay: 0.26s;
}

.reveal-stagger .stagger-item:nth-child(5) {
  animation-delay: 0.33s;
}

.reveal-stagger .stagger-item:nth-child(6) {
  animation-delay: 0.40s;
}

@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ABOUT & APPROACH BOX (RICH SPLIT HUB WITH STATS & 5-STEP VISUAL PIPELINE)
   ========================================================================== */
.about-box {
  background: var(--bg-white);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 50px);
  align-items: center;
  margin-bottom: 44px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.about-stat-item {
  background: var(--surface-warm);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.about-stat-item:hover {
  background: var(--yellow-light);
  border-color: var(--gold-honey);
  transform: translateY(-3px);
}

.about-stat-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.about-stat-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--charcoal-dark);
}

.about-stat-text span {
  font-size: 11.5px;
  color: var(--umber-body);
}

.about-visual-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  border: 3.5px solid var(--gold-honey);
  background: var(--charcoal-dark);
  padding: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-frame);
}

.about-visual-inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  height: 280px;
}

.about-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--e-out);
}

.about-visual-showcase:hover img {
  transform: scale(1.05);
}

.about-visual-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(22, 20, 17, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--yellow-main);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  color: var(--yellow-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ==========================================================================
   5-STEP DELIVERY METHODOLOGY — LUXURY PHOTO PIPELINE CARDS
   ========================================================================== */
.pipeline-progress-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 24px;
  position: relative;
  padding: 0 10px;
}

.pipeline-progress-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-honey), var(--yellow-main), var(--gold-honey));
  transform: translateY(-50%);
  z-index: 1;
}

.pipeline-node {
  position: relative;
  z-index: 2;
  background: var(--charcoal-dark);
  color: var(--yellow-main);
  border: 2px solid var(--yellow-main);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s var(--e-out);
}

.pipeline-node:hover {
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  transform: scale(1.1);
}

.methodology-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.methodology-card {
  background: var(--bg-white);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--e-out), box-shadow 0.4s var(--e-out), border-color 0.4s;
  position: relative;
}

.methodology-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-honey);
  box-shadow: 0 20px 40px -10px rgba(208, 168, 35, 0.45);
}

.methodology-card-cover {
  position: relative;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: var(--charcoal-dark);
}

.methodology-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--e-out);
}

.methodology-card:hover .methodology-card-cover img {
  transform: scale(1.12);
}

.methodology-phase-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 2;
  border: 1px solid var(--gold-honey);
}

.methodology-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.methodology-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--charcoal-dark);
  margin-bottom: 4px;
  line-height: 1.25;
}

.methodology-step-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 12px;
  display: block;
}

.methodology-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.methodology-perks li {
  font-size: 11.5px;
  color: var(--charcoal-dark);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.35;
}

.methodology-perks li::before {
  content: "✓";
  color: var(--gold-honey);
  font-size: 12px;
  font-weight: 900;
}

/* ==========================================================================
   ENRICHED VISUAL PHOTO SERVICE CARDS (PILLARS 01, 02, 03, 04)
   ========================================================================== */
.pillar-header-lockup {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pillar-badge-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-deep);
  background: var(--yellow-main);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-honey);
}

.service-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 32px;
}

.service-feature-card {
  background: var(--bg-white);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--e-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-feature-card:hover {
  border-color: var(--gold-honey);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-cover {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--charcoal-dark);
}

.service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--e-out);
}

.service-feature-card:hover .service-card-cover img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
  border: 1px solid var(--gold-honey);
}

.service-card-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.service-feature-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--charcoal-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.service-feature-subtitle {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 14px;
  display: block;
}

.service-feature-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  flex: 1;
}

.service-feature-card li {
  font-size: 13.5px;
  color: var(--umber-body);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.45;
}

.service-feature-card li::before {
  content: "✓";
  color: var(--gold-honey);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

.service-card-action {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  transition: transform 0.25s, color 0.25s;
}

.service-feature-card:hover .service-card-action {
  color: var(--charcoal-dark);
  transform: translateX(4px);
}

/* ==========================================================================
   INTERACTIVE 3D FLIPPING CERTIFICATE & TRAINING FRAMES
   ========================================================================== */
.certificate-frame-wrapper {
  position: relative;
  background: var(--surface-card);
  border: 3.5px solid var(--gold-honey);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 46px);
  box-shadow: var(--shadow-frame);
  margin-top: 40px;
  overflow: hidden;
}

.certificate-frame-wrapper::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed var(--gold-honey);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 3.5vw, 44px);
  align-items: center;
}

.first-stamp {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(247, 211, 39, 0.6);
  margin-bottom: 14px;
}

.first-stamp b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
}

.first-stamp span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-badge-card {
  background: var(--surface-warm);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.exam-badge-card:hover {
  background: var(--surface-warm);
  border-color: var(--gold-honey);
  transform: translateX(4px);
}

.exam-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 900;
}

.exam-badge-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--charcoal-dark);
}

.exam-badge-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--umber-body);
}

/* 3D FLIPPING CERTIFICATE CARD */
.cert-flip-box {
  width: 100%;
  height: clamp(320px, 34vw, 420px);
  perspective: 1600px;
  cursor: pointer;
  border-radius: var(--radius-lg);
}

.cert-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.85s var(--e-flip);
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
}

.cert-flip-box:hover .cert-flip-inner,
.cert-flip-box.is-flipped .cert-flip-inner {
  transform: rotateY(180deg);
}

.cert-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3.5px solid var(--gold-honey);
  box-shadow: 0 16px 40px rgba(34, 31, 26, 0.2);
}

/* Front Face */
.cert-face-front {
  background: var(--charcoal-dark);
  line-height: 0;
}

.cert-face-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-floating-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  border: 1.5px solid var(--gold-honey);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* Side Placement Flip Prompt (Unobstructed Top-Left) */
.cert-flip-prompt {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(22, 20, 17, 0.88);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--yellow-main);
  color: var(--yellow-main);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cert-flip-prompt svg {
  width: 13px;
  height: 13px;
  stroke: var(--yellow-main);
  fill: none;
  stroke-width: 2.4;
}

/* Back Face */
.cert-face-back {
  background: linear-gradient(145deg, #1A1713 0%, #29241C 50%, #161411 100%);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border-color: var(--yellow-main);
  box-shadow: 0 20px 50px rgba(247, 211, 39, 0.25);
  position: relative;
}

.cert-face-back::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed var(--gold-honey);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

.cert-back-hanzi {
  font-family: var(--font-chinese);
  font-size: 18px;
  color: var(--yellow-main);
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.cert-back-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.cert-back-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 14px;
}

.cert-back-stamp {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-deep);
  background: var(--yellow-main);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.cert-shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: certShine 6s infinite;
  pointer-events: none;
}

@keyframes certShine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* ==========================================================================
   PROGRAM CARDS (HSK, YCT, BCT)
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.program-card {
  background: var(--bg-white);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--e-out);
  position: relative;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-honey);
  box-shadow: var(--shadow-lg);
}

.program-card.featured {
  border-color: var(--gold-honey);
  box-shadow: 0 12px 36px -8px rgba(208, 168, 35, 0.35);
}

.program-card-photo {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface-warm);
}

.program-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--e-out);
}

.program-card:hover .program-card-photo img {
  transform: scale(1.05);
}

.program-photo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(34, 31, 26, 0.25);
  border: 1px solid var(--gold-honey);
  z-index: 2;
}

.program-card-header {
  padding: 18px 20px 12px;
  background: var(--surface-card);
  border-bottom: 1.5px solid var(--border-subtle);
}

.program-card-header h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--charcoal-dark);
  margin-bottom: 2px;
}

.program-card-header p {
  font-size: 13px;
  color: var(--umber-body);
}

.program-levels-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  background: var(--surface-card);
}

.price-item-row {
  background: var(--surface-warm);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.3s;
}

.price-item-row:hover {
  background: var(--surface-card);
  border-color: var(--gold-honey);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.level-name-pill {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: var(--charcoal-dark);
  background: var(--yellow-light);
  border: 1px solid var(--gold-honey);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-item-mid {
  flex: 1;
  padding: 0 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--charcoal-dark);
  display: block;
  line-height: 1.1;
}

.price-details {
  font-size: 11px;
  color: var(--umber-body);
  line-height: 1.35;
  font-weight: 600;
}

.program-footer-bar {
  padding: 14px 18px 18px;
  border-top: 1.5px solid var(--border-subtle);
  background: var(--surface-warm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-info-note {
  font-size: 12px;
  color: var(--umber-body);
  line-height: 1.45;
}

.program-info-note b {
  color: var(--charcoal-dark);
}

/* ==========================================================================
   FEE BANNER STRIP & LIVE ZOOM
   ========================================================================== */
.fee-banner-strip {
  background: linear-gradient(135deg, var(--yellow-light) 0%, var(--surface-banner) 100%);
  border: 2px solid var(--gold-honey);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.fee-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fee-tag-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow-main);
  border: 2px solid var(--gold-honey);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.fee-banner-text h4 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: var(--charcoal-dark);
  margin-bottom: 2px;
}

.fee-banner-text h4 b {
  color: var(--gold-dark);
}

.fee-banner-text p {
  font-size: 13.5px;
  color: var(--umber-body);
  margin: 0;
}

/* ==========================================================================
   LIVE ZOOM WORKSHOP CARD (LUXURY STUDIO BACKGROUND & ULTRA CONTRAST)
   ========================================================================== */
.live-workshop-card {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 12, 22, 0.90) 0%, rgba(15, 20, 32, 0.85) 50%, rgba(8, 12, 22, 0.92) 100%),
              url('assests/workshop_bg.webp') center center / cover no-repeat;
  color: #FFFCEF;
  border: 2.5px solid #F1CF54;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.75), 0 0 35px rgba(241, 207, 84, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  margin: 40px 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

[data-theme="dark"] .live-workshop-card {
  background: linear-gradient(135deg, rgba(4, 7, 14, 0.93) 0%, rgba(10, 14, 24, 0.88) 50%, rgba(4, 7, 14, 0.94) 100%),
              url('assests/workshop_bg.webp') center center / cover no-repeat;
  border: 2.5px solid var(--yellow-main);
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.85), 0 0 40px rgba(241, 207, 84, 0.25);
}

.live-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid rgba(241, 207, 84, 0.35);
  margin-bottom: 24px;
}

[data-theme="dark"] .live-card-header {
  border-bottom-color: rgba(241, 207, 84, 0.4);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1.5px solid #F1CF54;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.live-pill .pulse-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(229, 76, 68, 0.8);
  animation: yellowRipple 1.8s infinite;
}

@keyframes yellowRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 76, 68, 0.8);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(229, 76, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 76, 68, 0);
  }
}

.live-pill-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-main);
}

.badge-free {
  background: #E54C44;
  color: #FFFCEF;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(229, 76, 68, 0.45);
  border: 1.5px solid #F1CF54;
}

[data-theme="dark"] .badge-free {
  background: #E54C44;
  color: #FFFCEF;
}

.live-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}

.live-card-info h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.5vw, 34px);
  color: #FFFFFF !important;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .live-card-info h3 {
  color: #FFFFFF !important;
}

.live-card-info h3 i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-red);
}

.live-card-info p {
  color: #CBD5E1 !important;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.live-card-info p b {
  color: var(--yellow-main) !important;
  font-weight: 800;
}

[data-theme="dark"] .live-card-info p {
  color: #CBD5E1 !important;
}

/* Credentials Box Inside Card */
.live-credentials-box {
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(241, 207, 84, 0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.live-cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.live-cred-lbl {
  font-size: 11px;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  display: block;
}

.live-cred-val-id {
  font-size: 19px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--yellow-main);
  text-shadow: 0 0 12px rgba(241, 207, 84, 0.35);
}

.live-cred-val-pass {
  font-size: 19px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #FF6B6B;
}

.live-cred-val-time {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
}

.live-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.live-tag {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(241, 207, 84, 0.45);
  color: #FFFCEF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-tag:hover {
  background: rgba(241, 207, 84, 0.2);
  border-color: var(--yellow-main);
  color: var(--yellow-main);
  transform: translateY(-2px);
}

[data-theme="dark"] .live-tag {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(241, 207, 84, 0.5);
  color: #FFFCEF;
}

/* Schedule & Countdown Box */
.schedule-box {
  background: rgba(8, 12, 20, 0.88);
  border: 2px solid #F1CF54;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(241, 207, 84, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="dark"] .schedule-box {
  background: rgba(4, 7, 14, 0.92);
  border-color: var(--yellow-main);
  color: #FFFCEF;
}

.time-banner {
  background: linear-gradient(135deg, #F1CF54 0%, #E5BA2B 100%);
  color: #000000;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(241, 207, 84, 0.35);
}

.time-days {
  font-family: var(--font-display);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
}

.time-clock {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  margin: 3px 0;
  letter-spacing: -0.01em;
}

.time-tz {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.countdown-strip,
.live-countdown-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.75);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1.5px solid rgba(241, 207, 84, 0.35);
}

.cd-box,
.cd-item {
  text-align: center;
  min-width: 55px;
}

.cd-num,
.cd-val {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 22px;
  color: var(--yellow-main);
  line-height: 1;
  display: block;
}

.cd-unit,
.cd-lbl {
  font-size: 9.5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: #CBD5E1;
  letter-spacing: 0.05em;
  margin-top: 3px;
  display: block;
}

.cd-sep {
  font-weight: 900;
  color: var(--yellow-main);
  font-size: 16px;
  margin-top: -6px;
}

.live-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.live-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.94);
}

.live-perks li svg {
  width: 16px;
  height: 16px;
  stroke: var(--yellow-main);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

/* Video Showcase */
.video-showcase-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--yellow-main);
  background: var(--charcoal-dark);
  margin-top: 36px;
}

.video-container {
  position: relative;
  width: 100%;
  line-height: 0;
}

.video-container video {
  width: 100%;
  height: clamp(300px, 38vw, 500px);
  object-fit: cover;
}

.video-caption-bar {
  background: var(--charcoal-deep);
  color: #fff;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 2px solid var(--gold-honey);
}

/* ==========================================================================
   WHO WE SERVE (LUXURY HARDCODED PHOTO CARDS & ANIMATIONS)
   ========================================================================== */
.who-we-serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.who-card {
  background: var(--bg-white);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--e-out), box-shadow 0.4s var(--e-out), border-color 0.4s;
  position: relative;
}

.who-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-honey);
  box-shadow: 0 20px 40px -10px rgba(208, 168, 35, 0.45);
}

.who-card-cover {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: var(--charcoal-dark);
}

.who-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--e-out);
}

.who-card:hover .who-card-cover img {
  transform: scale(1.1);
}

.who-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  border: 1px solid var(--gold-honey);
}

.who-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.who-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--charcoal-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.who-card p {
  font-size: 12.5px;
  color: var(--umber-body);
  line-height: 1.5;
  margin-bottom: 12px;
}

.who-card-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
}

.who-card-perks li {
  font-size: 11.5px;
  color: var(--charcoal-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.who-card-perks li::before {
  content: "•";
  color: var(--gold-honey);
  font-size: 16px;
  line-height: 1;
}

/* INTEGRATED MODEL FLOW WITH ANIMATED PULSE */
.journey-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  background: var(--bg-white);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.journey-step {
  background: var(--yellow-light);
  border: 1.5px solid var(--gold-honey);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--charcoal-dark);
  text-align: center;
  flex: 1;
  min-width: 125px;
  transition: transform 0.3s var(--e-out), background 0.3s, box-shadow 0.3s;
}

.journey-step:hover {
  transform: translateY(-4px) scale(1.03);
  background: var(--surface-card);
  border-color: var(--yellow-main);
  box-shadow: 0 6px 18px rgba(247, 211, 39, 0.4);
}

.journey-arrow {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-dark);
  animation: arrowPulse 2s infinite ease-in-out;
}

@keyframes arrowPulse {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.6;
  }

  50% {
    transform: translateX(4px);
    opacity: 1;
    color: var(--crimson-seal);
  }
}

/* ==========================================================================
   PARTNER NETWORK & CALCULATOR
   ========================================================================== */
.partner-hero-box {
  background: var(--charcoal-dark);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 3px solid var(--yellow-main);
  margin-bottom: 36px;
}

.calc-wrapper {
  background: var(--surface-card);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 46px);
  box-shadow: var(--shadow-sm);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 3.5vw, 48px);
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--charcoal-dark);
  margin-bottom: 6px;
}

.calc-group label span.val-display {
  font-family: var(--font-mono);
  color: var(--gold-dark);
  font-size: 15px;
  font-weight: 800;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--yellow-light);
  outline: none;
  accent-color: var(--gold-honey);
  cursor: pointer;
}

.calc-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-card);
  background: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--charcoal-dark);
  outline: none;
  cursor: pointer;
}

.calc-select:focus {
  border-color: var(--gold-honey);
}

.calc-result-box {
  background: var(--charcoal-dark);
  border: 2px solid var(--yellow-main);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.calc-res-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-main);
  margin-bottom: 6px;
}

.calc-res-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.8vw, 46px);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.calc-res-amount span.currency {
  font-size: 20px;
  color: var(--yellow-main);
}

.calc-res-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ==========================================================================
   PHOTO GALLERY — LUXURY LARGE FRAMED FORMAT
   ========================================================================== */
.gallery-large-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.gallery-large-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 3.5px solid var(--gold-honey);
  position: relative;
  background: var(--charcoal-dark);
  cursor: pointer;
  transition: all 0.35s var(--e-out);
  padding: 8px;
  overflow: hidden;
}

.gallery-large-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow-main);
  box-shadow: 0 18px 44px -8px rgba(208, 168, 35, 0.4);
}

.gallery-card-inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  height: clamp(280px, 24vw, 380px);
  line-height: 0;
}

.gallery-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--e-out);
}

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

.gallery-card-inner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 20px 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(to top, rgba(22, 20, 17, 0.95) 0%, rgba(22, 20, 17, 0.5) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gallery-caption-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-main);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--gold-honey);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface-card);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--gold-honey);
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--charcoal-dark);
  background: none;
  cursor: pointer;
  gap: 16px;
}

.faq-icon-cross {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: grid;
  place-items: center;
  color: var(--charcoal-dark);
  font-weight: 900;
  font-size: 17px;
  flex-shrink: 0;
  transition: transform 0.3s var(--e-bounce), background 0.3s;
}

.faq-item.active .faq-icon-cross {
  transform: rotate(45deg);
  background: var(--yellow-main);
}

.faq-body {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--umber-body);
  line-height: 1.65;
  display: none;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2px;
  padding-top: 16px;
}

.faq-item.active .faq-body {
  display: block;
}

/* ==========================================================================
   CONTACT & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-channels-box {
  background: var(--charcoal-dark);
  border: 3px solid var(--yellow-main);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.5vw, 42px);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.channels-cards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.channel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 211, 39, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  text-decoration: none;
}

a.channel-card:hover {
  background: rgba(247, 211, 39, 0.15);
  border-color: var(--yellow-main);
  transform: translateY(-2px);
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
}

.channel-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--charcoal-deep);
  stroke-width: 2.2;
}

.channel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-main);
  margin-bottom: 2px;
}

.channel-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.reg-form-card {
  background: var(--surface-card);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--charcoal-dark);
  margin-bottom: 5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-card);
  background: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--charcoal-dark);
  outline: none;
  transition: border-color 0.25s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-honey);
  background: var(--surface-card);
}

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

.form-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.type-toggle-btn {
  padding: 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  border: 1.5px solid var(--border-card);
  background: var(--bg-cream);
  color: var(--umber-body);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}

.type-toggle-btn.active {
  background: #000000;
  color: var(--yellow-main);
  border-color: #000000;
}

/* ==========================================================================
   GLOBAL FOOTER (RICH RED LUXURY CORPORATE FOOTER)
   ========================================================================== */
.site-footer {
  background: #B91C1C;
  background: linear-gradient(180deg, #A81B1B 0%, #881313 60%, #5B0C0C 100%);
  color: #FFFCEF;
  position: relative;
  overflow: hidden;
  border-top: 4.5px solid var(--yellow-main);
  padding-top: clamp(48px, 6vw, 76px);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.4);
}

.footer-top-banner {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--yellow-main);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 3.5vw, 44px);
  padding-bottom: clamp(36px, 4.5vw, 52px);
}

.footer-brand,
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 64px;
  max-height: 64px;
  width: auto;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.footer-col h4,
.footer-col-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yellow-main) !important;
  margin-bottom: 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--yellow-main) !important;
  transform: translateX(4px);
}

.footer-socials-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-soc-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid var(--yellow-main);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.3s;
}

.footer-soc-btn:hover {
  background: var(--yellow-main);
  color: var(--charcoal-deep);
  transform: translateY(-3px);
}

.footer-soc-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom-bar {
  border-top: 1.5px solid rgba(245, 158, 11, 0.35);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   FLOATING BUTTONS & LIGHTBOX
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--brand-red);
  color: #FFFCEF;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--yellow-main);
  box-shadow: 0 10px 24px -4px rgba(229, 76, 68, 0.6);
  transition: transform 0.3s var(--e-bounce);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #000000;
  border-color: var(--brand-red);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #FFFCEF;
}

.scroll-top-btn {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 998;
  background: #000000;
  color: var(--yellow-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow-main);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--yellow-main);
  color: #000000;
  transform: translateY(-2px);
}

.scroll-top-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   AUTOMATIC EVENT IMAGE SLIDER (DYNAMIC CAROUSEL)
   ========================================================================== */
.event-slider-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3.5px solid var(--yellow-main);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
  background: #000;
}

.event-slider-track {
  position: relative;
  width: 100%;
  height: clamp(340px, 46vw, 560px);
}

.event-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.03);
}

.event-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

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

.event-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 35%, #000000 100%);
  padding: clamp(20px, 3.5vw, 36px) clamp(24px, 4vw, 44px);
  color: #FFFCEF;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.event-slide-tag {
  display: inline-block;
  background: var(--yellow-main);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(241, 207, 84, 0.5);
}

.event-slide-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 26px);
  color: #FFFCEF;
  line-height: 1.25;
}

.event-slide-sub {
  font-size: 13.5px;
  color: #D9B29C;
  margin-top: 4px;
  max-width: 700px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid var(--yellow-main);
  color: var(--yellow-main);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--yellow-main);
  color: #000000;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 24px rgba(241, 207, 84, 0.7);
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

.event-slider-dots {
  position: absolute;
  bottom: 20px;
  right: 28px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid var(--yellow-main);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--yellow-main);
  width: 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(22, 20, 17, 0.94);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 3.5px solid var(--yellow-main);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.lightbox-caption {
  font-family: var(--font-mono);
  color: var(--yellow-main);
  font-size: 13.5px;
  margin-top: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -38px;
  right: 0;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 1024px) {
  .who-we-serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-large-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* On mobile and tablet, hide top CTA button, show theme toggle and hamburger */
  .nav-menu {
    display: none;
  }

  .nav-actions .btn {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
  }

  /* Luxury Mobile Drawer — Pure Light Corporate Theme */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 320px);
    height: 100vh;
    background: #FFFFFF !important;
    border-left: 4px solid var(--brand-red);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    align-items: stretch;
    padding: 85px 20px 36px;
    gap: 10px;
    z-index: 10050;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.open {
    display: flex !important;
    right: 0;
  }

  /* High-Contrast Mobile Navigation Links */
  .nav-menu .nav-link {
    font-size: 16px;
    font-weight: 800;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: #111827 !important;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #E5E7EB;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto !important;
  }

  .nav-menu .nav-link::after {
    content: "›";
    position: static;
    font-size: 22px;
    font-weight: 900;
    color: var(--brand-red);
    width: auto;
    height: auto;
    background: none;
    line-height: 1;
    display: inline-block;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: #FEF2F2 !important;
    border-color: var(--brand-red) !important;
    color: var(--brand-red) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(229, 76, 68, 0.15);
  }

  .nav-menu .nav-link:hover::after,
  .nav-menu .nav-link.active::after {
    color: var(--brand-red);
    transform: translateX(2px);
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }

  .nav-backdrop.open {
    display: block;
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .service-subgrid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .who-we-serve-grid {
    grid-template-columns: 1fr 1fr;
  }

  .methodology-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .live-card-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .channels-cards-list {
    grid-template-columns: 1fr;
  }

  .pipeline-progress-track {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    justify-content: center;
  }

  .card {
    padding: 22px 18px !important;
  }

  .hero-section {
    padding: 38px 0 46px !important;
  }

  .page-hero {
    padding: 38px 0 30px !important;
  }

  .event-slider-track {
    height: 290px !important;
  }

  .event-slide-title {
    font-size: 16px !important;
  }

  .event-slide-sub {
    display: none;
  }
}

@media (max-width: 600px) {
  .who-we-serve-grid {
    grid-template-columns: 1fr;
  }

  .methodology-cards-grid {
    grid-template-columns: 1fr;
  }

  .journey-flow {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 28px !important;
  }

  .page-hero-title {
    font-size: 26px !important;
  }

  .brand-name {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   RICH MICRO-ANIMATIONS & INTERACTIVE EFFECTS
   ========================================================================== */
@keyframes floatSubtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseGoldGlow {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(241, 207, 84, 0.3);
  }

  50% {
    box-shadow: 0 4px 26px rgba(241, 207, 84, 0.65);
  }
}

@keyframes pulseRedBeacon {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

@keyframes shimmerSweep {
  0% {
    left: -100%;
  }

  100% {
    left: 160%;
  }
}

.floating-anim {
  animation: floatSubtle 4.5s ease-in-out infinite;
}

.beacon-pulse {
  animation: pulseRedBeacon 1.8s infinite ease-in-out;
}

.glow-hover:hover {
  animation: pulseGoldGlow 1.4s infinite;
}

/* Button Shimmer Light Sweep on Hover */
.btn-red::before,
.btn-yellow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
  z-index: 1;
}

.btn-red:hover::before,
.btn-yellow:hover::before {
  left: 150%;
}

/* Active Press Bounce */
.btn:active {
  transform: scale(0.96) !important;
}

.card:active {
  transform: scale(0.99) !important;
}

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--yellow-main);
  outline-offset: 2px;
}

/* ==========================================================================
   HERO BACKGROUND VIDEO & CINEMATIC DISPLAY
   ========================================================================== */
.hero-section {
  position: relative;
  padding: clamp(52px, 6.5vw, 88px) 0 clamp(44px, 5.5vw, 76px);
  background: #0A0D14 !important;
  border-bottom: 3.5px solid var(--yellow-main);
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95 !important;
  filter: brightness(0.92) contrast(1.1) saturate(1.15);
  transition: opacity 0.5s ease;
}

[data-theme="dark"] .hero-bg-video {
  opacity: 0.9 !important;
  filter: brightness(0.88) contrast(1.15) saturate(1.1);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 13, 20, 0.45) 0%, rgba(185, 28, 28, 0.18) 50%, rgba(10, 13, 20, 0.48) 100%);
  pointer-events: none;
}

[data-theme="dark"] .hero-video-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(185, 28, 28, 0.2) 50%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95);
}

.hero-subtitle {
  color: #FFFCEF !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.hero-subtitle b {
  color: var(--yellow-main) !important;
}

.hero-stat-item {
  background: rgba(0, 0, 0, 0.78) !important;
  border: 2px solid var(--yellow-main) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFCEF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-stat-number {
  color: var(--yellow-main) !important;
}

.hero-stat-label {
  color: #FFFCEF !important;
}

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

/* Floating Hero Video Play/Pause Pill */
.hero-video-control-pill {
  position: absolute;
  bottom: 18px;
  right: 28px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFCEF;
  border: 1.5px solid var(--yellow-main);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.hero-video-control-pill:hover {
  background: #000000;
  border-color: #FFFCEF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.video-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 1.5s infinite;
}

.hero-video-control-pill.paused .video-dot-pulse {
  background: var(--brand-red);
  box-shadow: 0 0 8px var(--brand-red);
  animation: none;
}

.video-toggle-btn {
  background: transparent;
  border: none;
  color: var(--yellow-main);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

/* ==========================================================================
   4 PILLARS OF SERVICE AUTOMATIC SLIDER
   ========================================================================== */
.pillars-slider-wrapper {
  position: relative;
  background: #FFFCEF;
  border: 3px solid #000000;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-top: 24px;
}

[data-theme="dark"] .pillars-slider-wrapper {
  background: #000000;
  border-color: var(--yellow-main);
  box-shadow: 0 16px 48px -10px rgba(241, 207, 84, 0.25);
}

/* Pillar Switcher Navigation Tabs */
.pillars-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #000000;
  border-bottom: 3px solid #000000;
}

[data-theme="dark"] .pillars-tabs-nav {
  border-bottom-color: var(--yellow-main);
}

.pillar-tab-btn {
  background: #000000;
  color: #FFFCEF;
  padding: 14px 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transition: all 0.25s ease;
  text-align: center;
}

.pillar-tab-btn:last-child {
  border-right: none;
}

.pillar-tab-btn span.tab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  color: var(--yellow-main);
  letter-spacing: 0.08em;
}

.pillar-tab-btn span.tab-label {
  font-size: 13px;
  line-height: 1.25;
}

.pillar-tab-btn:hover {
  background: rgba(241, 207, 84, 0.15);
  color: var(--yellow-main);
}

.pillar-tab-btn.active {
  background: var(--yellow-main);
  color: #000000;
}

.pillar-tab-btn.active span.tab-num {
  color: #000000;
}

.pillar-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--yellow-main);
  z-index: 2;
}

/* Slide Container & Slide Animation */
.pillar-slides-track {
  position: relative;
  min-height: 440px;
}

.pillar-slide {
  display: none;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: clamp(24px, 3.5vw, 44px);
}

.pillar-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.pillar-slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

.pillar-slide-content {
  display: flex;
  flex-direction: column;
}

.pillar-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: var(--yellow-main);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid var(--yellow-main);
}

[data-theme="dark"] .pillar-slide-badge {
  background: var(--yellow-main);
  color: #000000;
  border-color: #000000;
}

.pillar-slide-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 900;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 8px;
}

[data-theme="dark"] .pillar-slide-title {
  color: var(--yellow-main);
}

.pillar-slide-tagline {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 14px;
}

.pillar-slide-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #222222;
  margin-bottom: 20px;
}

[data-theme="dark"] .pillar-slide-desc {
  color: #FFFCEF;
}

/* Checkmarks List */
.pillar-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pillar-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #000000;
}

[data-theme="dark"] .pillar-feature-item {
  color: #FFFCEF;
}

.pillar-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow-main);
  color: #000000;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid #000000;
}

.pillar-check-icon svg {
  width: 12px;
  height: 12px;
}

.pillar-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pillar Media / Image Column */
.pillar-slide-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #000000;
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.35);
  background: #000000;
}

[data-theme="dark"] .pillar-slide-media {
  border-color: var(--yellow-main);
}

.pillar-media-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--e-out);
}

.pillar-slide:hover .pillar-media-img {
  transform: scale(1.04);
}

.pillar-media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #E54C44;
  color: #FFFCEF;
  border: 1.5px solid #F1CF54;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pillar-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
  color: #FFFCEF;
  padding: 16px 18px 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pillar-media-caption b {
  color: var(--yellow-main);
}

/* Bottom Controls Bar */
.pillar-slider-controls {
  background: #000000;
  border-top: 2px solid var(--border-gold);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.slider-timer-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.slider-timer-progress {
  width: 0%;
  height: 100%;
  background: var(--yellow-main);
  transition: width 0.1s linear;
}

.slider-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1A1A1A;
  color: var(--yellow-main);
  border: 1.5px solid var(--yellow-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 900;
}

.pillar-nav-btn:hover {
  background: var(--yellow-main);
  color: #000000;
  transform: scale(1.08);
}

.pillar-dots-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pillar-dot.active {
  width: 26px;
  border-radius: 99px;
  background: var(--yellow-main);
}

@media (max-width: 900px) {
  .pillars-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-slide-grid {
    grid-template-columns: 1fr;
  }

  .pillar-media-img {
    height: 250px;
  }
}

/* ==========================================================================
   AI GÙWÈN (智能顾问) OFFICIAL KNOWLEDGE CHATBOT WIDGET
   ========================================================================== */
.ai-guwen-wrapper {
  position: fixed;
  bottom: 80px;
  /* Elevated upward and clearly visible */
  right: 32px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Floating Launcher Button */
.ai-guwen-launcher {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #B91C1C;
  border: 3.5px solid var(--yellow-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(241, 207, 84, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--e-bounce), box-shadow 0.3s ease;
  padding: 0;
}

.ai-guwen-launcher:hover {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 28px rgba(241, 207, 84, 0.8);
}

.ai-guwen-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ai-guwen-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 2.5px solid #000000;
  box-shadow: 0 0 8px #10B981;
}

.ai-guwen-badge-label {
  position: absolute;
  top: -8px;
  background: #E54C44;
  color: #FFFCEF;
  border: 1px solid #F1CF54;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* Welcome Tooltip Balloon */
.ai-guwen-tooltip {
  position: absolute;
  bottom: 84px;
  right: 0;
  background: #000000;
  color: #FFFCEF;
  border: 2.5px solid var(--yellow-main);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  width: 290px;
  max-width: calc(100vw - 44px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 1.45;
  display: none;
  animation: floatTooltip 0.4s ease-out forwards;
}

.ai-guwen-tooltip.show {
  display: block;
}

.ai-guwen-tooltip::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 28px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--yellow-main);
}

.ai-guwen-tooltip-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  cursor: pointer;
  padding: 2px 6px;
}

.ai-guwen-tooltip-close:hover {
  color: var(--yellow-main);
}

/* Main Chat Modal Window */
.ai-guwen-chat-window {
  position: fixed;
  bottom: 155px;
  /* Sits nicely above launcher when elevated */
  right: 32px;
  width: min(410px, calc(100vw - 36px));
  height: min(600px, calc(100vh - 180px));
  background: #FFFCEF;
  border: 3.5px solid #B91C1C;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--e-out);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (CLEAN FLOATING ACTION ON BOTTOM LEFT)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 80px;
  left: 32px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9990;
  transition: transform 0.3s var(--e-bounce), box-shadow 0.3s ease;
  border: 2.5px solid #FFFFFF;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
  color: #FFFFFF;
}

.floating-whatsapp svg {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  fill: #FFFFFF !important;
  display: block;
}


[data-theme="dark"] .ai-guwen-chat-window {
  background: #0D1117;
  border-color: var(--yellow-main);
  box-shadow: 0 20px 60px rgba(241, 207, 84, 0.2);
}

.ai-guwen-chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Chat Header */
.ai-guwen-header {
  background: #000000;
  border-bottom: 2.5px solid var(--yellow-main);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFCEF;
}

.ai-guwen-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-guwen-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--yellow-main);
  object-fit: cover;
}

.ai-guwen-header-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--yellow-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-guwen-header-info span {
  font-size: 11px;
  color: #FFFCEF;
  display: block;
}

.ai-guwen-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-guwen-header-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFCEF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-guwen-header-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFCEF;
}

/* Chat Body (Messages Stream) */
.ai-guwen-messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.ai-msg-row {
  display: flex;
  gap: 10px;
  max-width: 92%;
}

.ai-msg-row.bot {
  align-self: flex-start;
}

.ai-msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--yellow-main);
  flex-shrink: 0;
}

.ai-msg-bubble {
  background: #FFFCEF;
  color: #000000;
  border: 1.5px solid #D9B29C;
  border-radius: 14px;
  border-top-left-radius: 2px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .ai-msg-bubble {
  background: #161B22;
  color: #FFFCEF;
  border-color: #30363D;
}

.ai-msg-row.user .ai-msg-bubble {
  background: #000000;
  color: var(--yellow-main);
  border-color: #000000;
  border-radius: 14px;
  border-top-right-radius: 2px;
}

[data-theme="dark"] .ai-msg-row.user .ai-msg-bubble {
  background: var(--yellow-main);
  color: #000000;
  border-color: var(--yellow-main);
}

.ai-msg-bubble p {
  margin: 0 0 6px 0;
}

.ai-msg-bubble p:last-child {
  margin-bottom: 0;
}

.ai-msg-bubble ul {
  margin: 6px 0;
  padding-left: 18px;
}

.ai-msg-bubble li {
  margin-bottom: 4px;
}

.ai-msg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ai-action-btn {
  background: var(--yellow-main);
  color: #000000 !important;
  border: 1.5px solid #000000;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.ai-action-btn:hover {
  background: #000000;
  color: var(--yellow-main) !important;
  transform: translateY(-1px);
}

/* Quick Suggestion Chips Bar */
.ai-guwen-chips-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.04);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  scrollbar-width: thin;
}

[data-theme="dark"] .ai-guwen-chips-bar {
  background: #161B22;
  border-top-color: #30363D;
}

.ai-chip {
  background: #FFFCEF;
  border: 1px solid #D9B29C;
  color: #000000;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

[data-theme="dark"] .ai-chip {
  background: #0D1117;
  border-color: #30363D;
  color: var(--yellow-main);
}

.ai-chip:hover {
  background: var(--yellow-main);
  color: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

/* Chat Input Bar */
.ai-guwen-footer {
  padding: 10px 14px;
  background: #FFFCEF;
  border-top: 1.5px solid #D9B29C;
  display: flex;
  gap: 8px;
  align-items: center;
}

[data-theme="dark"] .ai-guwen-footer {
  background: #0D1117;
  border-top-color: #30363D;
}

.ai-guwen-input {
  flex: 1;
  background: #FFFFFF;
  border: 1.5px solid #D9B29C;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #000000;
  outline: none;
  transition: border-color 0.2s;
}

[data-theme="dark"] .ai-guwen-input {
  background: #161B22;
  border-color: #30363D;
  color: #FFFCEF;
}

.ai-guwen-input:focus {
  border-color: var(--yellow-main);
}

.ai-guwen-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000000;
  color: var(--yellow-main);
  border: 1.5px solid var(--yellow-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-guwen-send-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFCEF;
  transform: scale(1.06);
}

/* Typing Indicator */
.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #FFFCEF;
  border: 1px solid #D9B29C;
  border-radius: 14px;
}

[data-theme="dark"] .ai-typing-indicator {
  background: #161B22;
  border-color: #30363D;
}

.ai-typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--yellow-main);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.ai-typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.ai-typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.ai-typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }
}

@keyframes floatTooltip {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE OPTIMIZATION
   ========================================================================== */

/* ---- Tablet: 1024px — Show hamburger, collapse nav ---- */
@media (max-width: 1024px) {

  /* Hide Register Course CTA on tablet/mobile header */
  .nav-actions .btn-yellow.btn-sm {
    display: none;
  }

  /* Live Workshop Broadcast Banner stacking */
  .live-workshop-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
  }

  .live-workshop-right {
    flex-wrap: wrap;
    gap: 10px;
  }

  .live-contact-link {
    font-size: 11px;
  }

  /* Pillar Slider Tabs — 2 columns on tablet */
  .pillars-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-slide-grid {
    grid-template-columns: 1fr;
  }

  .pillar-slides-track {
    min-height: auto;
  }

  .pillar-media-img {
    height: 260px;
  }

  /* Footer two columns */
  .footer-top-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- 860px — Stack more grids ---- */
@media (max-width: 860px) {
  .live-workshop-bar {
    padding: 7px 0;
  }

  .live-marquee-track {
    gap: 30px;
    animation-duration: 26s;
  }

  .live-workshop-info {
    font-size: 13px;
    gap: 8px;
    display: inline-flex;
    align-items: center;
  }

  .live-workshop-title {
    font-size: 13.5px;
  }

  .live-workshop-schedule {
    font-size: 12.5px;
  }

  /* Stat Banner row stacking */
  .stat-banner-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ---- 768px — Mobile styles ---- */
@media (max-width: 768px) {

  /* Header padding reduction */
  .navbar {
    padding: 6px 0;
    gap: 8px;
  }

  .brand-logo-img {
    height: 52px;
    max-height: 52px;
  }

  .brand-name {
    font-size: 17px !important;
  }

  .brand-sub {
    font-size: 10px;
  }

  /* Mobile nav toggle sizing */
  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 7px 6px;
  }

  /* Ensure nav menu CTA link appears inside mobile drawer */
  .nav-menu.open::after {
    content: '';
  }

  /* Live Workshop Banner — High-visibility responsive mobile news ticker */
  .live-workshop-bar {
    padding: 6px 0;
  }

  .live-marquee-track {
    gap: 24px;
    animation-duration: 24s;
  }

  .live-badge-glow {
    font-size: 10.5px;
    padding: 3px 10px;
    letter-spacing: 0.1em;
  }

  .live-workshop-title {
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  .live-workshop-schedule {
    font-size: 12px;
  }

  .live-badge-detail {
    font-size: 10.5px;
    padding: 2px 7px;
  }

  .live-marquee-actions {
    gap: 7px;
  }

  .live-join-btn {
    font-size: 11px;
    padding: 4px 11px;
  }

  .live-agenda-btn,
  .live-modal-btn,
  .live-center-btn {
    font-size: 11px;
    padding: 3.5px 10px;
  }

  /* Hero section mobile */
  .hero-section {
    padding: 32px 0 40px !important;
  }

  .hero-badge-pill {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 26px !important;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14px !important;
    margin-bottom: 18px;
  }

  .hero-card-stack {
    animation: none;
  }

  .hero-card-main img {
    height: 200px !important;
  }

  .hero-card-secondary {
    padding: 12px 14px !important;
  }

  /* Hero video control pill */
  .hero-video-control-pill {
    bottom: 10px;
    right: 14px;
    padding: 4px 10px;
    font-size: 10px;
  }

  /* Pillar Slider Mobile */
  .pillars-tabs-nav {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .pillar-tab-btn {
    padding: 10px 6px;
    font-size: 12px;
  }

  .pillar-tab-btn span.tab-num {
    font-size: 9.5px;
  }

  .pillar-tab-btn span.tab-label {
    font-size: 11.5px;
  }

  .pillar-slide {
    padding: 18px 16px;
  }

  .pillar-slide-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .pillar-slides-track {
    min-height: auto;
  }

  .pillar-slide-title {
    font-size: 22px;
  }

  .pillar-slide-tagline {
    font-size: 14px;
  }

  .pillar-slide-desc {
    font-size: 13px;
  }

  .pillar-media-img {
    height: 220px;
  }

  .pillar-slider-controls {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .pillar-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Course Feature Cards */
  .service-feature-card h4 {
    font-size: 17px;
  }

  .service-card-cover {
    height: 140px;
  }

  /* Live Workshop Card */
  .live-workshop-card {
    padding: 20px 16px;
    margin: 24px 0;
  }

  .live-card-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .live-card-info h3 {
    font-size: 20px;
  }

  .live-tags {
    gap: 6px;
  }

  .live-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .live-tag svg {
    width: 12px;
    height: 12px;
  }

  .schedule-box {
    padding: 16px;
  }

  .time-clock {
    font-size: 24px;
  }

  .live-countdown-strip {
    gap: 8px;
  }

  .cd-num {
    font-size: 22px;
  }

  .session-duration-pill {
    font-size: 11px !important;
  }

  /* About Split Section */
  .about-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr !important;
  }

  /* Certificate Frame */
  .certificate-frame-wrapper {
    padding: 20px 16px;
  }

  .cert-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .cert-flip-box {
    height: 280px;
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .channels-cards-list {
    grid-template-columns: 1fr !important;
  }

  .contact-channels-box {
    padding: 22px 18px;
  }

  .reg-form-card {
    padding: 22px 18px;
  }

  /* Calculator */
  .calc-grid {
    grid-template-columns: 1fr !important;
  }

  .calc-wrapper {
    padding: 22px 18px;
  }

  /* Gallery */
  .gallery-large-grid {
    grid-template-columns: 1fr !important;
  }

  /* Programs Grid */
  .programs-grid {
    grid-template-columns: 1fr !important;
  }

  /* Fee Banner Strip */
  .fee-banner-strip {
    flex-direction: column;
    padding: 18px 16px;
    text-align: center;
    gap: 14px;
  }

  .fee-banner-left {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .fee-banner-text h4 {
    font-size: 18px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-top-banner {
    padding: 18px 16px;
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Section padding mobile */
  .section-pad {
    padding: clamp(36px, 5vw, 54px) 0;
  }

  .sec-title {
    font-size: clamp(22px, 5vw, 32px) !important;
  }

  .sec-desc {
    font-size: 14px;
  }

  /* Buttons larger tap targets on mobile */
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-sm {
    padding: 10px 16px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Event Slider */
  .event-slider-track {
    height: 260px !important;
  }

  .event-slide-caption {
    padding: 14px 16px;
  }

  .event-slide-title {
    font-size: 15px !important;
  }

  .event-slide-tag {
    font-size: 10px;
    padding: 3px 10px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  /* Floating buttons mobile */
  .floating-whatsapp {
    bottom: 20px;
    left: 16px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp svg {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
  }

  .scroll-top-btn {
    bottom: 78px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  /* AI Chatbot mobile */
  .ai-guwen-wrapper {
    bottom: 20px;
    right: 16px;
  }

  .ai-guwen-launcher {
    width: 56px;
    height: 56px;
  }

  .ai-guwen-badge-label {
    font-size: 8.5px;
    padding: 1px 6px;
  }

  .ai-guwen-chat-window {
    right: 8px;
    bottom: 84px;
    width: calc(100vw - 16px);
    height: min(520px, calc(100vh - 120px));
    border-radius: var(--radius-lg);
  }

  .ai-guwen-tooltip {
    right: -4px;
    width: min(260px, calc(100vw - 40px));
    bottom: 72px;
    font-size: 12px;
    padding: 12px 14px;
  }

  /* Who We Serve Grid */
  .who-we-serve-grid {
    grid-template-columns: 1fr !important;
  }

  /* Methodology Cards */
  .methodology-cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* Journey Flow */
  .journey-flow {
    flex-direction: column;
    gap: 8px;
    padding: 18px 14px;
  }

  .journey-step {
    min-width: 0;
    width: 100%;
  }

  .journey-arrow {
    transform: rotate(90deg);
  }

  /* Page Hero */
  .page-hero {
    padding: 32px 0 26px !important;
  }

  .page-hero-title {
    font-size: 24px !important;
  }

  .page-hero-subtitle {
    font-size: 14px;
  }

  .breadcrumb-nav {
    font-size: 11px;
    gap: 6px;
  }
}

/* ---- Small Mobile: 480px ---- */
@media (max-width: 480px) {

  /* Header ultra-compact */
  .brand-logo-img {
    height: 44px;
    max-height: 44px;
  }

  .brand-name {
    font-size: 15px !important;
  }

  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .brand-lockup {
    gap: 8px;
  }

  /* Nav toggle compact */
  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 7px 6px;
    gap: 4px;
  }

  .hamburger-bar {
    width: 20px;
    height: 2px;
  }

  /* Theme toggle compact */
  .theme-toggle-btn,
  .nav-actions .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }

  /* Hero ultra-compact */
  .hero-section {
    padding: 24px 0 32px !important;
  }

  .hero-title {
    font-size: 22px !important;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 13px !important;
    line-height: 1.55;
  }

  .hero-badge-pill {
    font-size: 9px;
    padding: 4px 10px;
    letter-spacing: 0.05em;
  }

  .hero-stats-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .hero-stat-item {
    padding: 10px 8px;
  }

  .hero-stat-number {
    font-size: 18px !important;
  }

  .hero-stat-label {
    font-size: 9.5px;
  }

  .hero-cta-group {
    gap: 8px;
  }

  .hero-cta-group .btn {
    font-size: 13px;
    padding: 12px 16px;
  }

  /* Live workshop banner hide less important items */
  .live-contact-link {
    display: none;
  }

  .live-workshop-right {
    gap: 6px;
  }

  /* Section titles smaller */
  .sec-title {
    font-size: 20px !important;
  }

  .sec-desc {
    font-size: 13px;
  }

  /* Pillar tabs single column */
  .pillars-tabs-nav {
    grid-template-columns: 1fr 1fr !important;
  }

  .pillar-tab-btn {
    padding: 8px 4px;
  }

  .pillar-tab-btn span.tab-num {
    font-size: 8.5px;
  }

  .pillar-tab-btn span.tab-label {
    font-size: 10.5px;
  }

  .pillar-slide {
    padding: 14px 12px;
  }

  .pillar-slide-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .pillar-slide-title {
    font-size: 19px;
  }

  .pillar-slide-tagline {
    font-size: 12.5px;
  }

  .pillar-slide-desc {
    font-size: 12.5px;
  }

  .pillar-feature-item {
    font-size: 12px;
  }

  .pillar-media-img {
    height: 180px;
  }

  .pillar-slider-controls {
    padding: 8px 10px;
    gap: 8px;
  }

  /* Course cards */
  .service-card-cover {
    height: 120px;
  }

  .service-card-content {
    padding: 14px 16px 16px;
  }

  .service-feature-card h4 {
    font-size: 16px;
  }

  /* Live Workshop Card */
  .live-workshop-card {
    padding: 16px 14px;
    margin: 18px 0;
  }

  .live-card-info h3 {
    font-size: 18px;
  }

  .live-card-info p {
    font-size: 13px;
  }

  .schedule-box {
    padding: 14px 12px;
  }

  .time-clock {
    font-size: 22px;
  }

  .time-days {
    font-size: 12px;
  }

  .time-tz {
    font-size: 9px;
  }

  .cd-num {
    font-size: 20px;
  }

  /* Event Slider compact */
  .event-slider-track {
    height: 220px !important;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .event-slide-caption {
    padding: 12px 14px;
  }

  .event-slide-title {
    font-size: 14px !important;
  }

  .event-slide-tag {
    font-size: 9px;
  }

  /* Chatbot compact */
  .ai-guwen-launcher {
    width: 50px;
    height: 50px;
  }

  .ai-guwen-chat-window {
    right: 4px;
    width: calc(100vw - 8px);
    height: min(480px, calc(100vh - 100px));
    bottom: 76px;
  }

  /* Footer compact */
  .site-footer {
    padding-top: 36px;
  }

  .footer-logo-img {
    height: 48px;
    max-height: 48px;
  }

  .footer-col h4,
  .footer-col-title {
    font-size: 13px;
  }

  .footer-col a {
    font-size: 12.5px;
  }

  .footer-bottom-bar {
    font-size: 11.5px;
    padding: 14px 0;
  }

  /* Floating buttons further adjusted */
  .floating-whatsapp {
    bottom: 16px;
    left: 12px;
    width: 46px;
    height: 46px;
  }

  .floating-whatsapp svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }

  .scroll-top-btn {
    bottom: 70px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  /* Partner Hero Box */
  .partner-hero-box {
    padding: 22px 16px;
  }

  /* Calc Result */
  .calc-result-box {
    padding: 20px 16px;
  }

  .calc-res-amount {
    font-size: 28px !important;
  }

  /* Page Hero */
  .page-hero {
    padding: 26px 0 22px !important;
  }

  .page-hero-title {
    font-size: 21px !important;
  }

  .page-hero-subtitle {
    font-size: 13px;
  }

  .page-hero-badge {
    font-size: 9.5px;
    padding: 4px 12px;
  }
}

/* ---- Mobile Drawer — Register CTA inside drawer ---- */
@media (max-width: 1024px) {
  .nav-menu.open {
    display: flex;
  }

  /* Register Course CTA injected by JS into mobile drawer */
  .mobile-register-cta {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 900;
    color: #000000;
    background: var(--yellow-main);
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-top: 14px;
    border: 2px solid #000000;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
  }

  .mobile-register-cta:hover {
    background: #000000;
    color: var(--yellow-main) !important;
    border-color: var(--yellow-main);
  }
}

/* ---- Safe Area for iOS notch ---- */
@supports (padding-top: env(safe-area-inset-top)) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .floating-whatsapp {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .ai-guwen-wrapper {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .scroll-top-btn {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

/* ---- Touch device optimizations ---- */
@media (hover: none) and (pointer: coarse) {

  /* Larger touch targets */
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn {
    min-height: 44px;
  }

  .faq-trigger {
    min-height: 52px;
  }

  /* Disable hover transforms on touch */
  .service-feature-card:hover,
  .who-card:hover,
  .pillar-card:hover,
  .program-card:hover,
  .methodology-card:hover {
    transform: none !important;
  }

  /* Remove 3D tilt on touch */
  .service-feature-card,
  .who-card,
  .pillar-card {
    transform: none !important;
  }
}

/* ==========================================================================
   iOS SAFARI FIX — Mobile Nav Drawer Blur & Broken Touch Fix
   (Overrides earlier .nav-menu rule — keep this block at the END of the file)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    isolation: isolate;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ==========================================================================
   MOBILE FIX — Direct Office Channels / Contact Desk Section
   Overrides inline styles that break layout on small screens
   (Keep this block at the END of the file so it wins on specificity order)
   ========================================================================== */
@media (max-width: 768px) {

  #contact-desk,
  #contact-desk * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #contact-desk p,
  #contact-desk span,
  #contact-desk div {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Yellow "Speak With Our Lahore Admissions Desk" banner */
  #contact-desk .card {
    padding: 20px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  #contact-desk .card>div:last-child {
    width: 100% !important;
    flex-direction: column !important;
  }

  #contact-desk .card .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Contact channels box + form card */
  .contact-channels-box,
  .reg-form-card {
    padding: 20px 16px !important;
  }

  /* Header rows inside cards (badge + timing text, badge + WhatsApp label) */
  .contact-channels-box>div[style*="justify-content: space-between"],
  .reg-form-card>div[style*="justify-content: space-between"] {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
  }

  /* Individual channel cards (landline / whatsapp / office) */
  .contact-channels-box>div>div[style*="border-left"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .contact-channels-box>div>div[style*="border-left"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Facebook community buttons */
  .contact-channels-box div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Form type toggle buttons */
  .type-toggle-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Form rows (Name/Phone, City/Track) */
  #quickRegForm .form-row {
    display: block !important;
  }

  #quickRegForm .form-row .form-field {
    margin-bottom: 12px !important;
  }
}

@media (max-width: 480px) {

  .contact-channels-box,
  .reg-form-card {
    padding: 16px 14px !important;
  }

  #contact-desk h3 {
    font-size: 19px !important;
  }

  #contact-desk .card>div:first-child>div:nth-child(2) {
    font-size: 20px !important;
  }
}

/* ==========================================================================
   MOBILE FIX #2 — Contact Page Form + Collaboration Page Partnership Grid
   (Append at the END of the file so it wins on source order)
   ========================================================================== */
@media (max-width: 768px) {

  /* ---- Fix header rows (badge + label) that don't wrap on any page
         reusing .contact-channels-box / .reg-form-card classes ---- */
  .contact-channels-box>div[style*="justify-content: space-between"],
  .reg-form-card>div[style*="justify-content: space-between"] {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
  }

  .contact-channels-box,
  .reg-form-card {
    padding: 20px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-channels-box *,
  .reg-form-card * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Individual channel rows (landline / whatsapp / office) — stack cleanly */
  .contact-channels-box div[style*="border-left"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .contact-channels-box div[style*="border-left"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ---- Submit button overflowing off-screen ---- */
  #quickRegForm button[type="submit"],
  .reg-form-card button[type="submit"] {
    flex-wrap: wrap !important;
    white-space: normal !important;
    text-align: center !important;
    height: auto !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
    padding: 14px 16px !important;
  }

  /* ---- Form rows (Name/Phone, City/Track) stack on mobile ---- */
  .form-row {
    display: block !important;
  }

  .form-row .form-field {
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .form-input,
  .form-textarea,
  select.form-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ---- Collaboration page: CIT | Joining Hands | ICTS 3-col grid ---- */
  div[style*="grid-template-columns: 1fr auto 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* ---- Any generic 2-column inline grids (Responsibilities cards etc.) ---- */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {

  .contact-channels-box,
  .reg-form-card {
    padding: 16px 14px !important;
  }

  #quickRegForm button[type="submit"],
  .reg-form-card button[type="submit"] {
    font-size: 13px !important;
  }
}

/* ---- Global safety net: stop any accidental horizontal page scroll ---- */
html {
  overflow-x: hidden;
  max-width: 100%;
}

/* ==========================================================================
   DESKTOP NAV SAFETY NET — Guarantees nav links show on desktop
   ========================================================================== */
@media (min-width: 1025px) {
  .nav-menu {
    display: flex !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: clamp(6px, 1.1vw, 16px) !important;
    transform: none !important;
    overflow: visible !important;
  }

  .nav-menu .nav-link {
    color: #FFFFFF !important;
    background: transparent !important;
    border: none !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: var(--radius-sm) !important;
    letter-spacing: 0.01em !important;
    transition: all 0.2s ease !important;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--yellow-main) !important;
    background: rgba(0, 0, 0, 0.22) !important;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-backdrop {
    display: none !important;
  }
}

/* ==========================================================================
   CHINESE LANGUAGE & TRAINING CENTER SETUP CONSULTANCY (SERVICES SECTION)
   ========================================================================== */
.center-setup-section {
  position: relative;
  background: #FFFFFF;
  border-top: 3.5px solid #000000;
  border-bottom: 3.5px solid #000000;
}

.center-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-red);
  color: #FFFCEF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.center-setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 48px;
}

.center-step-card {
  background: #FFFCEF;
  border: 2px solid #000000;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.center-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-red);
}

.center-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.center-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  background: #000000;
  color: var(--yellow-main);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.center-step-icon {
  font-size: 26px;
  line-height: 1;
}

.center-step-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 6px;
  line-height: 1.25;
}

.center-step-subtitle {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.center-step-card p {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.center-step-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1.5px dashed rgba(0, 0, 0, 0.15);
  padding-top: 12px;
}

.center-step-checklist li {
  font-size: 12.5px;
  color: #1F2937;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.center-step-checklist li::before {
  content: "✓";
  color: var(--brand-red);
  font-weight: 900;
}

.center-consult-banner {
  background: var(--yellow-main);
  border: 3px solid #000000;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.center-consult-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 6px;
}

.center-consult-text p {
  font-size: 15px;
  color: #111827;
  max-width: 680px;
  line-height: 1.5;
  margin: 0;
}

.center-consult-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .center-setup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .center-setup-grid {
    grid-template-columns: 1fr;
  }
  .center-consult-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .center-consult-actions {
    width: 100%;
  }
  .center-consult-actions .btn {
    width: 100%;
  }
}

/* ---- Strategic Collaborations Portal Banner (Responsive & Mobile-Optimized) ---- */
.strategic-portal-banner {
  background: var(--yellow-main);
  border: 3.5px solid #000000;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.strategic-portal-tag {
  background: #000000;
  color: #FFFCEF;
  position: static;
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 800;
  border: 1.5px solid #000000;
  font-size: 11.5px;
  padding: 6px 14px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
}

.strategic-portal-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 900;
  color: #000000;
  margin-bottom: 14px;
  line-height: 1.25;
}

.strategic-portal-desc {
  font-size: clamp(14px, 1.2vw, 15.5px);
  color: #000000;
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto 24px;
  font-weight: 500;
}

.strategic-portal-btn {
  border-radius: var(--radius-pill);
  border: 2px solid #000000;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(229, 76, 68, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

@media (max-width: 768px) {
  .strategic-portal-banner {
    padding: 24px 18px;
    border-width: 2.5px;
  }
  .strategic-portal-title {
    font-size: 18.5px;
  }
  .strategic-portal-desc {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .strategic-portal-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .strategic-portal-banner {
    padding: 20px 14px;
  }
  .strategic-portal-title {
    font-size: 16.5px;
  }
  .strategic-portal-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .strategic-portal-btn {
    padding: 11px 14px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   ENHANCED RESPONSIVE ALIGNMENT & MOBILE VISIBILITY FIXES
   ========================================================================== */

/* 1. Academic Advisor & Calculator Result Card Contrast & Visibility */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.calc-controls-card {
  background: #FFFCEF;
  border: 3px solid #000000;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.calc-result-card {
  background: #000000 !important;
  border: 3.5px solid #000000 !important;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.28);
  color: #FFFFFF !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-header {
  margin-bottom: 12px;
}

.calc-est-tag {
  display: inline-block;
  background: #E54C44;
  color: #FFFCEF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  border: 1px solid #F1CF54;
}

.calc-res-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #F1CF54 !important;
  line-height: 1.25;
}

.calc-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 20px;
}

.calc-metric-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(241, 207, 84, 0.4);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.calc-metric-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #CBD5E1 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.calc-metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
}

/* 2. Program Card Enroll Buttons Mobile Full-Width & Padding */
.program-footer-bar {
  padding: 18px 22px 22px;
  border-top: 1.5px solid var(--border-subtle);
  background: #FAFAF7;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.program-footer-bar .btn {
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

/* 3. Live Zoom Workshop Card Responsive & Mobile Alignment */
@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .live-workshop-card {
    padding: 24px 18px !important;
    margin: 28px 0 !important;
    background-position: center top !important;
    border-radius: var(--radius-lg) !important;
  }

  .live-card-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  
  .live-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-bottom: 14px !important;
  }
  
  .live-card-info {
    text-align: left;
  }
  
  .live-card-info h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .live-cred-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .live-credentials-box {
    padding: 14px 16px !important;
  }

  .live-card-info > div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .live-card-info > div[style*="display: flex"] .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px;
  }

  .live-tags {
    justify-content: flex-start;
  }

  .schedule-box {
    padding: 16px 14px !important;
  }

  .time-clock {
    font-size: 26px !important;
  }
}

@media (max-width: 600px) {
  .program-footer-bar > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .program-footer-bar .btn {
    width: 100% !important;
    min-height: 44px;
    padding: 12px 14px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .price-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .calc-controls-card,
  .calc-result-card {
    padding: 20px 16px !important;
  }

  .calc-res-title {
    font-size: 19px !important;
  }

  .calc-metrics-row {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   4. YCT LANDMARK MILESTONE SHOWCASE (HOME.WEBP ELEGANT SECTION)
   ========================================================================== */
.yct-milestone-section {
  position: relative;
  background: #FFFFFF;
  border-bottom: 3px solid #000000;
  overflow: hidden;
}

.yct-milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.yct-poster-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3.5px solid #000000;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  background: #000000;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.yct-poster-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.yct-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.yct-poster-wrapper:hover .yct-poster-img {
  transform: scale(1.02);
}

.yct-poster-caption-bar {
  background: #000000;
  color: #FFFCEF;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 2px solid #F1CF54;
}

.yct-metric-pill-tag {
  background: #E54C44;
  color: #FFFCEF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid #F1CF54;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.yct-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 26px;
}

.yct-feature-card {
  background: #FFFCEF;
  border: 2px solid #000000;
  border-radius: var(--radius-md);
  padding: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.yct-feature-card:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .yct-milestone-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .yct-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .yct-poster-caption-bar {
    padding: 12px 14px;
    font-size: 12px;
  }
}

/* ==========================================================================
   HERO 16:9 CINEMA SHOWCASE FRAME (FOR HOME.WEBP & BACKGROUND VIDEO HARMONY)
   ========================================================================== */
.hero-cinema-card {
  position: relative;
  background: rgba(10, 14, 23, 0.88);
  border: 2.5px solid #F1CF54;
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 55px -8px rgba(0, 0, 0, 0.75), 0 0 32px rgba(241, 207, 84, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.hero-cinema-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px -8px rgba(0, 0, 0, 0.85), 0 0 45px rgba(241, 207, 84, 0.35);
  border-color: #FFFFFF;
}

.hero-cinema-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1.5px solid rgba(241, 207, 84, 0.35);
}

.hero-cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #F1CF54;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.cinema-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E54C44;
  box-shadow: 0 0 8px #E54C44;
  animation: pulseDot 1.6s infinite;
}

.hero-cinema-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #FFFCEF;
  font-size: 11.5px;
  font-weight: 700;
  opacity: 0.92;
}

.hero-cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080B11;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cinema-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cinema-card:hover .hero-cinema-img {
  transform: scale(1.025);
}

.hero-cinema-bottombar {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.75);
  border-top: 1.5px solid rgba(241, 207, 84, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-cinema-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.hero-cinema-pill {
  background: #E54C44;
  color: #FFFCEF;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #F1CF54;
}

.hero-cinema-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.hero-cinema-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(241, 207, 84, 0.15);
  border: 1.5px solid #F1CF54;
  color: #F1CF54;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-cinema-btn:hover {
  background: #F1CF54;
  color: #000000;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(241, 207, 84, 0.4);
}

.hero-zoom-banner {
  background: rgba(10, 14, 23, 0.88) !important;
  border: 2.5px solid rgba(241, 207, 84, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
  border-radius: var(--radius-lg);
  margin-top: 14px;
  padding: 14px 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-zoom-banner:hover {
  transform: translateY(-2px);
  border-color: #FFFFFF !important;
}

.hero-zoom-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E54C44;
  color: #FFFCEF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(229, 76, 68, 0.6);
  border: 1.5px solid #F1CF54;
}

@media (max-width: 600px) {
  .hero-cinema-bottombar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .hero-cinema-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 14px;
  }
  .hero-cinema-topbar {
    padding: 8px 12px;
  }
  .hero-cinema-title {
    font-size: 12px;
  }
}

/* Program Card Visual Image Banners */
.program-visual-banner {
  margin-top: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid #000000;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-visual-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.program-visual-banner img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.program-visual-banner:hover img {
  transform: scale(1.03);
}

/* International Languages 2-Pair Grid Enhancements */
.intl-languages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 860px) {
  .intl-languages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

#international-languages .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16) !important;
}

#international-languages .card:hover img {
  transform: scale(1.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#international-languages img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= MANDARIN SUMMER CAMP SHOWCASE ================= */
.summer-camp-card {
  background: var(--surface-card);
  border: 3px solid #000000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
}

@media (max-width: 991px) {
  .summer-camp-card {
    grid-template-columns: 1fr;
  }
}

.summer-camp-video-col {
  background: #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 3px solid #000000;
}

@media (max-width: 991px) {
  .summer-camp-video-col {
    border-right: none;
    border-bottom: 3px solid #000000;
  }
}

.summer-camp-video-topbar {
  background: #111111;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(241, 207, 84, 0.3);
}

.summer-camp-video-title {
  color: #FFFCEF;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summer-camp-video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: contain;
  background: #000000;
  display: block;
}

.summer-camp-content-col {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-card);
}

.summer-camp-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.summer-camp-stat-item {
  background: rgba(241, 207, 84, 0.15);
  border: 1.5px solid #000000;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

/* ================= CHINA PRODUCT SOURCING & E-COMMERCE MASTER PROGRAM ================= */
.ecommerce-master-card {
  background: #0B111E;
  border: 3px solid var(--yellow-main);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  color: #FFFCEF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(241, 207, 84, 0.15);
  margin-bottom: 24px;
}

.ecommerce-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 991px) {
  .ecommerce-top-grid {
    grid-template-columns: 1fr;
  }
}

.ecommerce-flyer-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #F1CF54;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  background: #000000;
  transition: transform 0.3s ease;
}

.ecommerce-flyer-wrap:hover {
  transform: translateY(-3px);
}

.ecommerce-flyer-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ecommerce-levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 1024px) {
  .ecommerce-levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ecommerce-levels-grid {
    grid-template-columns: 1fr;
  }
}

.level-module-card {
  background: #111827;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.level-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.level-module-header {
  padding: 14px 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.level-module-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(17, 24, 39, 0.95);
}

.level-module-bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #D1D5DB;
}

.level-module-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.level-outcome-tag {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ================= ABOUT US SHOWCASE CINEMA FRAME ================= */
.aboutus-cinema-card {
  background: #000000;
  border: 3px solid #000000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16), 0 0 25px rgba(241, 207, 84, 0.2);
  margin: 0 auto;
  max-width: 1080px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aboutus-cinema-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22), 0 0 35px rgba(241, 207, 84, 0.3);
}

.aboutus-cinema-topbar {
  background: #111111;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(241, 207, 84, 0.4);
}

.aboutus-cinema-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aboutus-cinema-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.aboutus-cinema-title {
  color: #FFFCEF;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aboutus-cinema-img-wrap {
  position: relative;
  background: #000000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aboutus-cinema-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.aboutus-cinema-card:hover .aboutus-cinema-img {
  transform: scale(1.015);
}

.aboutus-cinema-bottombar {
  background: #0F172A;
  padding: 18px 24px;
  border-top: 1.5px solid rgba(241, 207, 84, 0.3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  color: #FFFCEF;
}

@media (max-width: 860px) {
  .aboutus-cinema-bottombar {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 16px;
  }
}

@media (max-width: 520px) {
  .aboutus-cinema-bottombar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .aboutus-cinema-topbar {
    padding: 10px 14px;
  }
  .aboutus-cinema-title {
    font-size: 12px;
  }
}

.aboutus-stat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aboutus-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(241, 207, 84, 0.15);
  border: 1px solid var(--yellow-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ================= COMPREHENSIVE MOBILE & DESKTOP RESPONSIVE REFINEMENTS ================= */
html, body {
  max-width: 100vw;
  overflow-x: clip;
}

img, video {
  max-width: 100%;
}

@media (max-width: 991px) {
  .about-split-grid,
  .partnership-split-grid,
  .ecommerce-top-grid,
  .summer-camp-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .section-pad {
    padding: clamp(36px, 6vw, 56px) 0 !important;
  }

  .summer-camp-video {
    min-height: 220px !important;
    max-height: 360px !important;
  }

  .summer-camp-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .summer-camp-stat-item {
    padding: 10px 12px !important;
  }

  .ecommerce-master-card {
    padding: 20px 14px !important;
    border-radius: var(--radius-lg) !important;
  }

  .ecommerce-levels-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .intl-languages-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .aboutus-cinema-card {
    border-radius: var(--radius-lg) !important;
  }
}

@media (max-width: 520px) {
  .summer-camp-stat-grid {
    grid-template-columns: 1fr !important;
  }
  
  .summer-camp-content-col {
    padding: 18px 14px !important;
  }

  .ecommerce-master-card h2 {
    font-size: 22px !important;
  }

  .btn {
    width: 100%;
    justify-content: center !important;
  }

  .price-item-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

/* ================= SEQUENTIAL EVENT SHOWCASE BLOCKS (ONE EVENT AT A TIME) ================= */
.event-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  margin-top: 36px;
}

.event-showcase-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 2.5px solid #000000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.event-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14), 0 0 24px rgba(241, 207, 84, 0.3);
  border-color: #F1CF54;
}

.event-showcase-topbar {
  background: #0A0F1D;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid #000000;
}

.event-showcase-topbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.event-showcase-topbar-badge {
  font-size: 11px;
  font-weight: 900;
  color: #F1CF54;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(241, 207, 84, 0.4);
}

.event-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}

.event-showcase-grid.reverse-layout {
  grid-template-columns: 1fr 1.15fr;
}

.event-showcase-media {
  position: relative;
  background: #0B0E17;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 380px;
}

.event-showcase-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-showcase-media.contain-fit .event-showcase-img {
  object-fit: contain;
  background: #0F172A;
  padding: 12px;
}

.event-showcase-card:hover .event-showcase-img {
  transform: scale(1.025);
}

.event-showcase-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.88);
  color: #F1CF54;
  border: 1.5px solid #F1CF54;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 900;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.event-showcase-content {
  padding: clamp(24px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.event-showcase-content .honor-category-pill {
  margin-bottom: 12px;
}

.event-showcase-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  color: var(--charcoal-dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.event-showcase-desc {
  font-size: 15px;
  color: var(--umber-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.event-showcase-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.event-showcase-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.event-showcase-point-icon {
  color: #E54C44;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.event-showcase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .event-showcase-grid,
  .event-showcase-grid.reverse-layout {
    grid-template-columns: 1fr !important;
  }
  
  .event-showcase-grid.reverse-layout .event-showcase-media {
    order: -1;
  }

  .event-showcase-media {
    min-height: 280px;
  }
}

/* ================= MOBILE TOUCH TARGETS & ACCESSIBILITY POLISH ================= */
* {
  -webkit-tap-highlight-color: rgba(241, 207, 84, 0.25);
}

.btn,
.nav-link,
.live-join-btn,
.live-agenda-btn,
.live-modal-btn,
.live-center-btn,
.floating-whatsapp-btn {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .btn {
    min-height: 46px;
    font-size: 14.5px;
  }

  input, select, textarea {
    font-size: 16px !important; /* Prevents auto zoom in iOS Safari */
  }

  .floating-whatsapp-btn {
    bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
    right: max(18px, env(safe-area-inset-right, 18px)) !important;
  }
  
  .brand-name {
    font-size: 16px !important;
  }

  .brand-sub {
    font-size: 10px !important;
  }

  .page-hero-title {
    font-size: clamp(24px, 6vw, 34px) !important;
  }

  .page-hero-subtitle {
    font-size: 14.5px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}