/*=============================================================================
  MARWIZ VISION - VIDEO MANAGEMENT SYSTEM (VMS) LIGHT THEME STYLESHEET
  Design: Agina-Style Pinned Viewport Horizontal Scroll Showcase
  Theme: Clean Ivory-White (#fdfaf4 / #ffffff), Marwiz Gold (#bb873d, #f39314), Slate (#111827)
=============================================================================*/

:root {
  --vms-gold: #bb873d;
  --vms-gold-light: #f39314;
  --vms-gold-dark: #8f6222;
  --vms-gold-glow: rgba(187, 135, 61, 0.25);
  --vms-gold-subtle: rgba(187, 135, 61, 0.08);
  --vms-gold-border: rgba(187, 135, 61, 0.25);

  --vms-bg-page: #fdfaf4;
  --vms-bg-surface: #ffffff;
  --vms-bg-subtle: #f7f3e8;

  --vms-text-dark: #111827;
  --vms-text-muted: #5d6261;
  --vms-text-light: #6b7280;

  --vms-font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --vms-font-mono: 'Space Mono', 'Consolas', monospace;
  --vms-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Breadcrumb Hero Area */
.about-header-area {
  position: relative;
  z-index: 1;
  min-height: 280px;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 0 46px !important;
  box-sizing: border-box;
}

.about-header-area .about-inner-header h1 {
  font-family: var(--ztc-family-font1, 'Figtree', sans-serif);
  font-size: clamp(26px, 3.5vw, 42px) !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
}

.about-header-area .about-inner-header a {
  font-size: 14px;
}

/* Base Horizontal Scroll Section */
.vms-horizontal-scroll-section {
  position: relative;
  background-color: var(--vms-bg-page);
  color: var(--vms-text-dark);
  font-family: var(--vms-font-sans);
  overflow: hidden;
  width: 100%;
}

.vms-horizontal-scroll-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(187, 135, 61, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(243, 147, 20, 0.06) 0%, transparent 45%),
    linear-gradient(to right, rgba(187, 135, 61, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(187, 135, 61, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  pointer-events: none;
}

/* Pinned Wrapper: Fills Viewport and Balances Space for Maximum Card Height */
.vms-pinned-wrapper {
  height: 100vh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(16px, 2.4vh, 32px) 0 clamp(12px, 1.8vh, 18px) !important;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* =============================================================================
   PINNED HEADER (EXACT REFERENCE STYLE WITH CONTROLLED FOOTPRINT)
   ============================================================================= */
.vms-pinned-header-container {
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin: 0 auto 22px auto !important;
  padding-top: 0 !important;
  max-width: 900px;
}

/* Badge matching user reference screenshot */
.vms-pinned-header-container h5,
.vms-sys-tag {
  display: inline-block;
  font-family: var(--ztc-family-font1, 'Figtree', sans-serif) !important;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 14px;
  color: #bb873d !important;
  background: #f6ebd9 !important;
  border: none !important;
  padding: 4px 12px;
  border-radius: 6px;
  margin: 0 0 6px 0 !important;
  box-shadow: none;
  letter-spacing: 0;
  text-transform: none;
}

/* Title matching user reference screenshot */
.vms-section-heading,
.vms-pinned-header-container h2 {
  font-family: var(--ztc-family-font1, 'Figtree', sans-serif) !important;
  font-size: clamp(24px, 2vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #bb873d !important;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0 !important;
}

.vms-section-heading span.gradient-word {
  color: #bb873d !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

/* Subtitle */
.vms-intro-lead,
.vms-pinned-header-container p {
  font-family: var(--ztc-family-font1, 'Figtree', sans-serif) !important;
  font-size: clamp(13px, 0.9vw, 15px) !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #5d6261 !important;
  max-width: 760px;
  margin: 0 auto !important;
}

/* =============================================================================
   HORIZONTAL SLIDING TRACK
   ============================================================================= */
.vms-horizontal-track-container {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  position: relative;
  z-index: 5;
  padding: 0;
  min-height: 0;
}

.vms-horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(24px, 2.2vw, 36px);
  padding-left: clamp(28px, 4.5vw, 84px);
  padding-right: clamp(48px, 7vw, 120px);
  will-change: transform;
  align-items: center;
}

@media (max-width: 1320px) {
  .vms-horizontal-track {
    padding-left: clamp(20px, 3vw, 40px);
  }
}

/* =============================================================================
   FEATURE CARD (BALANCED DUAL COLUMN: INFO + MEDIA + OPTIONAL BOTTOM FULL-WIDTH)
   ============================================================================= */
/* =============================================================================
   FEATURE CARD (BALANCED DUAL COLUMN: INFO + MEDIA + OPTIONAL BOTTOM FULL-WIDTH)
   ============================================================================= */
.vms-feature-card {
  flex: 0 0 clamp(840px, 68vw, 980px);
  width: clamp(840px, 68vw, 980px);
  max-width: 980px;
  height: auto;
  min-height: auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(187, 135, 61, 0.25);
  box-shadow:
    0 14px 40px -12px rgba(187, 135, 61, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.vms-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(187, 135, 61, 0.55), transparent);
  pointer-events: none;
}

.vms-feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 60px -10px rgba(187, 135, 61, 0.24),
    0 0 0 1px rgba(255, 255, 255, 1) inset;
  border-color: rgba(187, 135, 61, 0.45);
}

/* Upper Two-Column Layout (Info Left, Media Right - top aligned, no dead space) */
.vms-card-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 22px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

/* Left Narrative Column */
.vms-card-info-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.vms-panel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.vms-panel-num {
  font-family: var(--vms-font-mono, monospace);
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #bb873d 0%, #f39314 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.5px;
}

.vms-panel-tag {
  font-family: var(--vms-font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #8f6222;
  background: rgba(187, 135, 61, 0.09);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(187, 135, 61, 0.24);
  line-height: normal;
}

.vms-card-title {
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin: 0 0 11px 0;
  letter-spacing: -0.3px;
}

.vms-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #526071;
  margin: 0 0 10px 0;
  font-weight: 400;
}

/* Styled Feature Point Cards (matching reference card mockup) */
.vms-point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.vms-point-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f7f1e5 100%);
  border: 1px solid rgba(187, 135, 61, 0.22);
  border-radius: 9px;
  padding: 6px 11px;
  box-shadow: 0 1px 3px rgba(187, 135, 61, 0.04);
  transition: all 0.2s ease;
}

.vms-point-card:hover {
  background: #ffffff;
  border-color: rgba(187, 135, 61, 0.45);
  box-shadow: 0 3px 8px rgba(187, 135, 61, 0.09);
}

.vms-point-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bb873d;
  font-size: 11px;
  margin-top: 1px;
  flex-shrink: 0;
}

.vms-point-text {
  font-size: 11.5px;
  line-height: 1.38;
  color: #475569;
}

.vms-point-text strong {
  color: #8f6222;
  font-weight: 700;
  margin-right: 4px;
}

/* Bottom Full-Width Points (Continuous seamless flow, no separating line) */
.vms-card-bottom-points {
  display: none !important;
}

.vms-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.vms-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f7f1e5 100%);
  border: 1px solid rgba(187, 135, 61, 0.22);
  border-radius: 9px;
  padding: 6px 11px;
  box-shadow: 0 1px 3px rgba(187, 135, 61, 0.04);
  transition: all 0.2s ease;
  font-size: 11.5px;
  line-height: 1.38;
  color: #475569;
}

.vms-check-list li:hover {
  background: #ffffff;
  border-color: rgba(187, 135, 61, 0.45);
  box-shadow: 0 3px 8px rgba(187, 135, 61, 0.09);
}

.vms-check-list strong {
  color: #8f6222;
  font-weight: 700;
  margin-right: 3px;
}

.vms-check-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #bb873d 0%, #f39314 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(187, 135, 61, 0.25);
  margin-top: 1px;
  flex-shrink: 0;
}

.vms-check-icon i {
  font-size: 7.5px;
}

.vms-card-spec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--vms-font-mono);
  font-weight: 600;
  color: #8f6222;
  background: linear-gradient(135deg, #fdfaf4 0%, #f7f3e8 100%);
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid rgba(187, 135, 61, 0.28);
  box-shadow: 0 2px 8px rgba(187, 135, 61, 0.08);
  width: fit-content;
}

.vms-card-spec i {
  color: #bb873d;
  font-size: 13px;
}

/* Right Media Column */
.vms-card-media-col {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
}

.vms-gallery-group {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.vms-card-video-wrap {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1120;
  position: relative;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(187, 135, 61, 0.28);
  display: block;
  transform: none;
  transform-origin: center;
  text-decoration: none;
  margin: 0;
}

.vms-card-video-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  z-index: 10;
  pointer-events: none;
}

.vms-card-video-wrap video,
.vms-card-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vms-card-video-wrap:hover img {
  transform: scale(1.02);
}

/* Gallery Trigger & Hover Zoom Effect */
.vms-card-video-wrap.vms-gallery-trigger {
  cursor: pointer;
}

.vms-zoom-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.65) 100%);
  backdrop-filter: blur(2.5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
}

.vms-card-video-wrap:hover .vms-zoom-overlay {
  opacity: 1;
}

.vms-zoom-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bb873d 0%, #f39314 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow:
    0 4px 12px rgba(187, 135, 61, 0.4),
    0 0 0 2.5px rgba(255, 255, 255, 0.3);
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  pointer-events: none;
}

.vms-card-video-wrap:hover .vms-zoom-btn {
  transform: scale(1);
}

.vms-zoom-label {
  font-family: var(--vms-font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  padding: 2.5px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transform: translateY(3px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.vms-card-video-wrap:hover .vms-zoom-label {
  transform: translateY(0);
}

/* ===== MAGNIFIC POPUP CUSTOM GALLERY MODAL STYLING ===== */
.mfp-bg.vms-mfp-bg {
  background: rgba(8, 12, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99991;
}

.mfp-bg.vms-mfp-bg.mfp-ready {
  opacity: 0.96;
}

.mfp-bg.vms-mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-wrap.vms-mfp-wrap {
  z-index: 99992;
}

.vms-mfp-wrap .mfp-container {
  padding: 24px 32px;
  box-sizing: border-box;
}

/* Smooth Hardware-Accelerated Modal Transitions */
.vms-mfp-wrap .mfp-content {
  max-width: 88vw;
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vms-mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.vms-mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  transform: scale(0.94) translateY(12px);
}

.vms-mfp-wrap .mfp-figure {
  position: relative;
  line-height: 0;
}

.vms-mfp-wrap .mfp-figure figure {
  margin: 0;
  background: #090e1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(187, 135, 61, 0.35);
  box-shadow:
    0 30px 90px -15px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 40px rgba(187, 135, 61, 0.12);
}

.vms-mfp-wrap img.mfp-img {
  width: auto;
  max-width: 100%;
  max-height: 75vh !important;
  padding: 0 !important;
  margin: 0 auto;
  display: block;
  background: #030712;
  border-radius: 15px 15px 0 0;
}

/* Sleek Caption Bottom Bar */
.vms-mfp-wrap .mfp-bottom-bar {
  position: static !important;
  margin-top: 0 !important;
  padding: 14px 22px !important;
  background: linear-gradient(180deg, #0d1527 0%, #080d1a 100%) !important;
  border-top: 1px solid rgba(187, 135, 61, 0.22) !important;
  border-radius: 0 0 15px 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.vms-mfp-wrap .mfp-title {
  font-family: var(--vms-font-sans);
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  line-height: 1.4 !important;
  padding-right: 0 !important;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vms-mfp-wrap .mfp-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bb873d;
  box-shadow: 0 0 10px #f39314;
  flex-shrink: 0;
}

.vms-mfp-wrap .mfp-counter {
  font-family: var(--vms-font-mono);
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #f39314 !important;
  background: rgba(187, 135, 61, 0.12) !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(187, 135, 61, 0.35) !important;
  position: static !important;
  line-height: normal !important;
  white-space: nowrap !important;
  letter-spacing: 0.8px;
  flex-shrink: 0;
}

/* Completely remove any close button/circle from inside the image/figure */
.vms-mfp-wrap .mfp-figure .mfp-close,
.vms-mfp-wrap .mfp-figure div.mfp-close,
.vms-mfp-wrap figure .mfp-close {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Modern Minimalist Floating Close Button (Top-Right of Viewport Only) */
.vms-mfp-wrap>button.mfp-close,
.vms-mfp-wrap button.mfp-close {
  position: fixed !important;
  top: 24px !important;
  right: 28px !important;
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
  padding: 0 !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(187, 135, 61, 0.4) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  font-family: Arial, sans-serif !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  cursor: pointer !important;
  z-index: 1060 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vms-mfp-wrap>button.mfp-close:hover,
.vms-mfp-wrap button.mfp-close:hover {
  background: linear-gradient(135deg, #bb873d 0%, #f39314 100%) !important;
  border-color: #f39314 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.08) !important;
  box-shadow: 0 10px 28px rgba(187, 135, 61, 0.55) !important;
}

/* Crisp Vector Navigation Arrows */
.vms-mfp-wrap .mfp-arrow {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.82) !important;
  border: 1px solid rgba(187, 135, 61, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  position: absolute !important;
  top: 50% !important;
  margin-top: -24px !important;
  opacity: 0.9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  z-index: 1050 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vms-mfp-wrap .mfp-arrow:before {
  display: none !important;
  content: none !important;
}

.vms-mfp-wrap .mfp-arrow:after {
  content: '' !important;
  display: block !important;
  width: 11px !important;
  height: 11px !important;
  position: static !important;
  margin: 0 !important;
  border: none !important;
  border-top: 2.5px solid #ffffff !important;
  border-right: 2.5px solid #ffffff !important;
  transition: border-color 0.2s ease !important;
}

.vms-mfp-wrap .mfp-arrow-left {
  left: 28px !important;
}

.vms-mfp-wrap .mfp-arrow-left:after {
  transform: rotate(-135deg) !important;
  margin-left: 4px !important;
}

.vms-mfp-wrap .mfp-arrow-right {
  right: 28px !important;
}

.vms-mfp-wrap .mfp-arrow-right:after {
  transform: rotate(45deg) !important;
  margin-right: 4px !important;
}

.vms-mfp-wrap .mfp-arrow:hover {
  opacity: 1 !important;
  background: linear-gradient(135deg, #bb873d 0%, #f39314 100%) !important;
  border-color: #f39314 !important;
  box-shadow: 0 10px 28px rgba(187, 135, 61, 0.55) !important;
  transform: scale(1.1) !important;
}

@media (max-width: 767px) {
  .vms-mfp-wrap .mfp-container {
    padding: 16px 8px;
  }

  .vms-mfp-wrap img.mfp-img {
    max-height: 65vh !important;
  }

  .vms-mfp-wrap .mfp-arrow {
    width: 38px !important;
    height: 38px !important;
    margin-top: -19px !important;
  }

  .vms-mfp-wrap .mfp-arrow-left {
    left: 8px !important;
  }

  .vms-mfp-wrap .mfp-arrow-right {
    right: 8px !important;
  }

  .vms-mfp-wrap .mfp-close {
    top: 14px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
  }

  .vms-mfp-wrap .mfp-bottom-bar {
    padding: 10px 14px !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .vms-mfp-wrap .mfp-title {
    font-size: 13px !important;
  }
}

/* Live HUD Bar on each screen */
.vms-screen-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 7px 12px;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.92) 0%, rgba(10, 15, 30, 0.6) 60%, transparent 100%);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--vms-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.8px;
  z-index: 4;
}

.vms-screen-hud .hud-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
  font-weight: 700;
}

.vms-screen-hud .hud-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: vmsPulse 2s infinite ease-in-out;
}

@keyframes vmsPulse {

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

  50% {
    transform: scale(1.2);
    opacity: 0.75;
  }
}

/* =============================================================================
   BOTTOM PROGRESS TRACK & META FOOTER
   ============================================================================= */
.vms-pinned-footer-container {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 8px;
}

.vms-horizontal-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(187, 135, 61, 0.14);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
}

.vms-horizontal-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #bb873d, #f39314);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(243, 147, 20, 0.4);
}

.vms-pinned-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--vms-font-mono);
}

.vms-scroll-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vms-scroll-hint i {
  color: #bb873d;
  animation: vmsNudge 1.5s infinite ease-in-out;
}

@keyframes vmsNudge {

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

  50% {
    transform: translateX(5px);
  }
}

.vms-counter-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8f6222;
  background: rgba(187, 135, 61, 0.08);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(187, 135, 61, 0.2);
}

/* =============================================================================
   SHORT SCREENS (LAPTOPS WITH 560px - 720px VIEWPORT HEIGHT)
   ============================================================================= */
@media (max-height: 720px) {
  .vms-pinned-wrapper {
    padding: 50px 0 8px !important;
  }

  .vms-pinned-header-container {
    margin: 0 auto 14px auto !important;
  }

  .vms-pinned-header-container h5,
  .vms-sys-tag {
    font-size: 11.5px;
    padding: 2px 9px;
    margin-bottom: 3px !important;
  }

  .vms-section-heading,
  .vms-pinned-header-container h2 {
    font-size: 22px !important;
    line-height: 26px !important;
    margin-bottom: 3px !important;
  }

  .vms-intro-lead {
    font-size: 12px !important;
    line-height: 16px !important;
    max-width: 580px;
  }

  .vms-feature-card {
    height: auto;
    padding: 13px 18px;
  }

  .vms-card-video-wrap {
    height: auto;
    max-height: 230px;
    min-height: auto;
  }

  .vms-card-title {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  .vms-point-list {
    gap: 5px !important;
  }

  .vms-point-card {
    padding: 5px 9px !important;
  }

  .vms-point-text {
    font-size: 11px !important;
    line-height: 1.32 !important;
  }

  .vms-panel-num {
    font-size: 23px !important;
  }

  .vms-panel-tag {
    font-size: 9.5px !important;
  }
}

/* =============================================================================
   MEDIUM DESKTOPS / SMALL LAPTOPS (992px - 1200px)
   ============================================================================= */
@media (min-width: 992px) and (max-width: 1200px) {
  .vms-pinned-header-container {
    margin: 0 auto 20px auto !important;
  }

  .vms-feature-card {
    flex: 0 0 clamp(720px, 72vw, 840px);
    width: clamp(720px, 72vw, 840px);
    padding: 14px 18px;
  }

  .vms-card-main-grid {
    gap: 16px;
  }

  .vms-card-title {
    font-size: 16.5px;
    margin-bottom: 9px;
  }

  .vms-point-list {
    gap: 5px;
  }

  .vms-point-card {
    padding: 5px 9px;
    gap: 8px;
  }

  .vms-point-text {
    font-size: 11.2px;
  }
}

/* =============================================================================
   PHONE & TABLET VIEW (<= 991px) - NORMAL VERTICAL STACKING (NO HORIZONTAL SCROLL)
   ============================================================================= */
@media (max-width: 991px) {
  .about-header-area {
    min-height: 220px !important;
    height: auto !important;
    padding: 100px 16px 36px !important;
    overflow: hidden !important;
  }

  .about-header-area .about-inner-header h1 {
    font-size: 26px !important;
    line-height: 34px !important;
    margin-bottom: 10px !important;
  }

  .vms-horizontal-scroll-section {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 44px 0 44px !important;
    overflow: visible !important;
  }

  .vms-pinned-wrapper {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 0 16px !important;
    overflow: visible !important;
    display: block !important;
  }

  /* Consistent header-to-card space on tablets */
  .vms-pinned-header-container {
    margin: 0 auto 22px auto !important;
    padding: 0 10px;
    max-width: 720px;
  }

  .vms-section-heading,
  .vms-pinned-header-container h2 {
    font-size: clamp(23px, 3.8vw, 27px) !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .vms-intro-lead {
    font-size: 13.5px !important;
    line-height: 20px !important;
  }

  /* Track becomes a normal vertical stack */
  .vms-horizontal-track-container {
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .vms-horizontal-track {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    padding: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 640px;
    margin: 0 auto;
  }

  /* Cards in vertical stack */
  .vms-feature-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    gap: 0 !important;
    padding: 18px 20px !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px -8px rgba(187, 135, 61, 0.14);
  }

  .vms-card-main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .vms-card-media-col {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    order: 2;
  }

  .vms-card-info-col {
    order: 1;
    width: 100% !important;
  }

  .vms-card-video-wrap {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    max-height: 280px !important;
    min-height: 160px !important;
    height: auto !important;
    border-radius: 12px;
  }

  .vms-panel-meta {
    margin-bottom: 6px !important;
  }

  .vms-panel-num {
    font-size: 25px !important;
  }

  .vms-panel-tag {
    font-size: 10px !important;
    padding: 3px 10px !important;
  }

  .vms-card-title {
    font-size: 17.5px !important;
    line-height: 1.3 !important;
    margin: 0 0 10px 0 !important;
  }

  .vms-point-list {
    gap: 6px !important;
  }

  .vms-point-card {
    padding: 6px 10px !important;
    gap: 8px !important;
  }

  .vms-point-text {
    font-size: 11.8px !important;
    line-height: 1.38 !important;
  }

  /* Bottom progress bar not needed in vertical stack */
  .vms-pinned-footer-container {
    display: none !important;
  }
}

/* =============================================================================
   MOBILE PHONES (<= 575px)
   ============================================================================= */
@media (max-width: 575px) {
  .about-header-area {
    min-height: 180px !important;
    height: auto !important;
    padding: 85px 12px 26px !important;
    overflow: hidden !important;
  }

  .about-header-area .about-inner-header h1 {
    font-size: 22px !important;
    line-height: 28px !important;
    margin-bottom: 8px !important;
  }

  .about-header-area .space24 {
    height: 8px !important;
  }

  .about-header-area .about-inner-header a {
    font-size: 12px !important;
  }

  .vms-horizontal-scroll-section {
    padding: 30px 0 30px !important;
  }

  .vms-pinned-wrapper {
    padding: 0 10px !important;
  }

  /* Consistent header-to-card space on phones */
  .vms-pinned-header-container {
    margin: 0 auto 18px auto !important;
    padding: 0 4px;
  }

  .vms-pinned-header-container h5,
  .vms-sys-tag {
    font-size: 11px !important;
    padding: 2px 8px !important;
    margin-bottom: 3px !important;
  }

  .vms-section-heading,
  .vms-pinned-header-container h2 {
    font-size: 21px !important;
    line-height: 27px !important;
    margin-bottom: 4px !important;
  }

  .vms-intro-lead {
    font-size: 12.5px !important;
    line-height: 17px !important;
  }

  .vms-horizontal-track {
    gap: 16px !important;
    max-width: 100% !important;
  }

  .vms-feature-card {
    padding: 13px 13px !important;
    border-radius: 14px !important;
  }

  .vms-card-main-grid {
    gap: 12px !important;
  }

  .vms-panel-meta {
    gap: 8px !important;
    margin-bottom: 5px !important;
  }

  .vms-panel-num {
    font-size: 22px !important;
  }

  .vms-panel-tag {
    font-size: 9px !important;
    padding: 2.5px 7px !important;
    letter-spacing: 0.7px !important;
  }

  .vms-card-title {
    font-size: 15.5px !important;
    line-height: 1.3 !important;
    margin: 0 0 8px 0 !important;
  }

  .vms-card-video-wrap {
    max-height: 190px !important;
    border-radius: 10px !important;
  }

  .vms-point-list {
    gap: 5px !important;
  }

  .vms-point-card {
    padding: 5px 8px !important;
    gap: 7px !important;
    border-radius: 8px !important;
  }

  .vms-point-icon {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    font-size: 10px !important;
  }

  .vms-point-text {
    font-size: 11px !important;
    line-height: 1.32 !important;
  }
}