/* =========================================================
   Employee Monitoring System Feature Landing Page
   Premium SaaS CRM Style — 365 CRM
   Palette: #3a3285 (Primary), #e60c80 (Accent), #05b7b7 (Teal)
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
  --em-primary:       #3a3285;
  --em-primary-light: #5a52c0;
  --em-primary-dark:  #2a2465;
  --em-accent:        #e60c80;
  --em-teal:          #05b7b7;
  --em-green:         #45c4a0;
  --em-amber:         #fab758;
  --em-red:           #e2626b;
  --em-white:         #ffffff;
  --em-light-bg:      #f8f9ff;
  --em-light-bg2:     #f0f2ff;
  --em-text-dark:     #1e2228;
  --em-text-body:     #60697b;
  --em-border:        rgba(58, 50, 133, 0.12);
  --em-shadow-sm:     0 4px 16px rgba(58, 50, 133, 0.08);
  --em-shadow-md:     0 8px 32px rgba(58, 50, 133, 0.12);
  --em-shadow-lg:     0 16px 48px rgba(58, 50, 133, 0.18);
  --em-radius:        14px;
  --em-radius-lg:     22px;
  --em-radius-xl:     32px;
  --em-transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Page-Level Overflow Guard ---- */
.em-hero,
.em-section,
.em-testimonials,
.em-cta-banner {
  overflow-x: hidden;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS (Lightweight — No GSAP)
   ============================================================ */
.em-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.em-reveal.em-revealed {
  opacity: 1;
  transform: translateY(0);
}
.em-reveal-left {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.em-reveal-left.em-revealed {
  opacity: 1;
  transform: translateX(0);
}
.em-reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.em-reveal-right.em-revealed {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 992px) {
  .em-reveal-left  { transform: translateX(-42px); }
  .em-reveal-right { transform: translateX(42px); }
}
.em-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.em-reveal-scale.em-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Delay Utilities */
.em-delay-1 { transition-delay: 0.10s; }
.em-delay-2 { transition-delay: 0.20s; }
.em-delay-3 { transition-delay: 0.30s; }
.em-delay-4 { transition-delay: 0.40s; }
.em-delay-5 { transition-delay: 0.50s; }
.em-delay-6 { transition-delay: 0.60s; }

/* ============================================================
   SECTION BASE & TYPOGRAPHY UTILITIES
   ============================================================ */
.em-section {
  padding: 35px 0;
}
.em-section-alt  { background: var(--em-light-bg); }
.em-section-alt2 { background: var(--em-light-bg2); }

.em-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--em-light-bg2);
  color: var(--em-primary);
  border: 1px solid var(--em-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.em-badge .em-dot {
  width: 7px; height: 7px;
  background: var(--em-teal);
  border-radius: 50%;
  display: inline-block;
  animation: em-pulse 1.6s infinite;
}
@keyframes em-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 183, 183, 0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(5, 183, 183, 0); }
}
.em-section-title {
  font-size: clamp(1.55rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--em-text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.em-section-title .em-gradient-text {
  background: linear-gradient(90deg, var(--em-primary), var(--em-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.em-section-subtitle {
  color: var(--em-text-body);
  font-size: 0.92rem;
  line-height: 1.78;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.em-hero {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 55%, #4c3ba8 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 35px;
  min-height: 94vh;
  display: flex;
  align-items: center;
}
.em-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 580px; height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 12, 128, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.em-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 183, 183, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Floating grid overlay */
.em-hero .em-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.em-hero .em-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255, 0.10);
  border: 1px solid rgba(255,255,255, 0.22);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.em-hero .em-hero-badge .em-dot {
  width: 8px; height: 8px;
  background: var(--em-teal);
  border-radius: 50%;
  display: inline-block;
  animation: em-pulse 1.6s infinite;
}
.em-hero .em-hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  margin-bottom: 20px;
}
.em-hero .em-hero-title .em-hero-highlight {
  background: linear-gradient(90deg, var(--em-teal), var(--em-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.em-hero .em-hero-desc {
  color: rgba(255,255,255,0.76);
  font-size: 0.96rem;
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 520px;
}

/* Hero CTA Buttons */
.em-btn-primary {
  background: #fff;
  color: var(--em-primary);
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  transition: var(--em-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-decoration: none;
}
.em-btn-primary:hover {
  background: var(--em-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.32);
}
.em-btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.87rem;
  transition: var(--em-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.em-btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  transform: translateY(-2px);
}

/* App Install Buttons */
.em-app-btn {
  display: inline-flex;
  align-items: center;
  transition: var(--em-transition);
  /* border-radius: 12px; */
  overflow: hidden;
  height: 48px; /* Standardize height */
  text-decoration: none !important;
}
.em-app-btn svg {
  height: 100%;
  width: auto;
  display: block;
}
.em-app-btn:hover {
  transform: translateY(-3px);
  /* filter: brightness(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3); */
}

/* Google Rating Component */
.em-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.em-google-rating:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.em-rating-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.em-rating-icon svg {
  width: 100%;
  height: 100%;
}

.em-rating-content {
  display: flex;
  flex-direction: column;
}

.em-rating-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  line-height: 1;
}

.em-rating-stars-wrap {
  display: flex;
  /* align-items: center; */
  gap: 8px;
  margin-bottom: 2px;
}

.em-rating-num {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.em-stars-row {
  color: #fab758;
  font-size: 0.8rem;
  display: flex;
  gap: 1px;
}

.em-rating-count {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}


/* Responsiveness for app buttons */
@media (max-width: 575px) {
  .em-app-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero Trust Area */
.em-hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
}
.em-hero-avatars {
  display: flex;
  align-items: center;
}
.em-hero-avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid #3a3285;
  margin-left: -12px;
  object-fit: cover;
  transition: var(--em-transition);
}
.em-hero-avatars img:first-child { margin-left: 0; }
.em-hero-avatars img:hover {
  transform: translateY(-4px);
  z-index: 10;
}
.em-trust-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.em-trust-text strong { color: #fff; font-weight: 700; }

/* Hero Mockup — Activity Dashboard */
.em-hero-mockup-outer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}
.em-hero-mockup {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--em-radius-lg);
  backdrop-filter: blur(12px);
  padding: 16px;
  box-shadow: var(--em-shadow-lg), 0 0 80px rgba(58, 50, 133, 0.45);
  width: 100%;
  max-width: 540px;
  overflow: hidden;
}
.em-mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  /* padding-bottom: 10px; */
  /* border-bottom: 1px solid rgba(255,255,255,0.08); */
}
.em-mockup-topbar .em-dot-r { width: 10px; height: 10px; border-radius: 50%; background: #e2626b; display: inline-block; }
.em-mockup-topbar .em-dot-y { width: 10px; height: 10px; border-radius: 50%; background: #fab758; display: inline-block; }
.em-mockup-topbar .em-dot-g { width: 10px; height: 10px; border-radius: 50%; background: #45c4a0; display: inline-block; }
.em-mockup-topbar .em-mockup-title {
  flex: 1;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

/* Mockup Body: Activity Monitor UI */
.em-mockup-body {
  background: linear-gradient(155deg, #1a2040 0%, #0e1326 100%);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
}
.em-mockup-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
.em-mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.em-mockup-header-row .em-mockup-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.em-mockup-header-row .em-live-badge {
  background: rgba(69, 196, 160, 0.18);
  border: 1px solid rgba(69, 196, 160, 0.35);
  color: var(--em-green);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.em-mockup-header-row .em-live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--em-green);
  border-radius: 50%;
  display: inline-block;
  animation: em-pulse 1.4s infinite;
}

/* Activity timeline rows */
.em-activity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  animation: em-row-appear 0.5s ease both;
}
.em-activity-row:nth-child(1) { animation-delay: 0.5s; }
.em-activity-row:nth-child(2) { animation-delay: 0.7s; }
.em-activity-row:nth-child(3) { animation-delay: 0.9s; }
.em-activity-row:nth-child(4) { animation-delay: 1.1s; }
.em-activity-row:nth-child(5) { animation-delay: 1.3s; }
@keyframes em-row-appear {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.em-activity-avatar {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.em-activity-info { flex: 1; }
.em-activity-name {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}
.em-activity-task {
  color: rgba(255,255,255,0.45);
  font-size: 0.58rem;
  margin-top: 1px;
}
.em-activity-status {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 50px;
  white-space: nowrap;
}
.em-status-active   { background: rgba(69,196,160,0.18); color: #45c4a0; border: 1px solid rgba(69,196,160,0.3); }
.em-status-idle     { background: rgba(250,183,88,0.18); color: #fab758; border: 1px solid rgba(250,183,88,0.3); }
.em-status-break    { background: rgba(116,126,209,0.2); color: #747ed1; border: 1px solid rgba(116,126,209,0.35); }
.em-status-offline  { background: rgba(96,105,123,0.18); color: #8090aa; border: 1px solid rgba(96,105,123,0.3); }

/* Mockup Progress Bar Row */
.em-mockup-progress-row {
  margin-bottom: 5px;
}
.em-mockup-progress-label {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 0.58rem;
  margin-bottom: 4px;
}
.em-mockup-bar {
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  height: 5px;
  overflow: hidden;
}
.em-mockup-bar-fill {
  height: 100%;
  border-radius: 50px;
  animation: em-bar-grow 1.8s ease-out both;
}
@keyframes em-bar-grow {
  from { width: 0; }
}
.em-mockup-bar-fill.c1 { background: linear-gradient(90deg, var(--em-teal), var(--em-primary)); width: 86%; animation-delay: 0.8s; }
.em-mockup-bar-fill.c2 { background: linear-gradient(90deg, var(--em-green), var(--em-teal)); width: 72%; animation-delay: 1.0s; }
.em-mockup-bar-fill.c3 { background: linear-gradient(90deg, var(--em-amber), #f78b77); width: 58%; animation-delay: 1.2s; }

/* Mockup Stats Row */
.em-mockup-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.em-mockup-stat-item {
  text-align: center;
}
.em-mockup-stat-val {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.em-mockup-stat-lbl {
  display: block;
  color: rgba(255,255,255,0.42);
  font-size: 0.58rem;
  margin-top: 4px;
}

/* ============================================================
   SECTION 2 — PROBLEM → SOLUTION
   ============================================================ */
.em-ps-section {
  background: #fff;
}
.em-ps-section .em-problem-card,
.em-ps-section .em-solution-card {
  border-radius: var(--em-radius-lg);
  padding: 36px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
/* Problem Card */
.em-ps-section .em-problem-card {
  background: #fff;
  border: 1px solid #f2e8e8;
  box-shadow: var(--em-shadow-sm);
}
.em-ps-section .em-problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--em-red), #f78b77);
  border-radius: var(--em-radius-lg) var(--em-radius-lg) 0 0;
}
/* Solution Card */
.em-ps-section .em-solution-card {
  background: linear-gradient(145deg, #3a3285, #2a2465);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--em-shadow-lg);
}
.em-ps-section .em-solution-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 20px solid rgba(255,255,255,0.05);
}
.em-ps-section .em-solution-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(5, 183, 183, 0.08);
}

/* Card Icon Wrapper */
.em-card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.em-card-icon.em-danger  { background: rgba(226,98,107,0.1);   color: var(--em-red); }
.em-card-icon.em-primary { background: rgba(255,255,255,0.12); color: var(--em-teal); }

/* Problem items */
.em-problem-item, .em-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.em-problem-item:last-child, .em-solution-item:last-child { border-bottom: none; }

.em-pi-icon {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}
.em-pi-icon.danger  { background: rgba(226,98,107,0.12); color: var(--em-red); }
.em-pi-icon.success { background: var(--em-green); color: #fff; box-shadow: 0 3px 10px rgba(69,196,160,0.35); }

.em-pi-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--em-text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.em-pi-title.light { color: #fff; }
.em-pi-desc {
  font-size: 0.78rem;
  color: var(--em-text-body);
  line-height: 1.6;
  margin: 0;
}
.em-pi-desc.light { color: rgba(255,255,255,0.68); }

/* ============================================================
   SECTION 3 — FEATURE HIGHLIGHTS
   ============================================================ */
.em-features-section {
  background: var(--em-light-bg);
}
.em-feature-card {
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--em-shadow-sm);
  transition: var(--em-transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.em-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background: linear-gradient(135deg, rgba(58,50,133,0.04) 0%, transparent 60%);
  border-radius: var(--em-radius);
  pointer-events: none;
  opacity: 0;
  transition: var(--em-transition);
}
.em-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--em-shadow-lg);
  border-color: rgba(58,50,133,0.25);
}
.em-feature-card:hover::after { opacity: 1; }

.em-feature-icon {
  width: 62px; height: 62px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(58,50,133,0.1), rgba(5,183,183,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--em-primary);
  margin-bottom: 22px;
  transition: var(--em-transition);
}
.em-feature-card:hover .em-feature-icon {
  background: linear-gradient(135deg, var(--em-primary), #5a52c0);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
}
.em-feature-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--em-text-dark);
  margin-bottom: 10px;
}
.em-feature-desc {
  font-size: 0.82rem;
  color: var(--em-text-body);
  line-height: 1.72;
  margin-bottom: 0;
}
/* Feature card colored top accent */
.em-feature-card::before {
  /* content: ''; */
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 2px;
  background: var(--em-border);
  border-radius: 0 0 2px 2px;
  transition: var(--em-transition);
}
/* .em-feature-card:hover::before {
  left: 0; right: 0;
  background: linear-gradient(90deg, var(--em-primary), var(--em-teal));
} */

/* ============================================================
   SECTION 4 — HOW IT WORKS
   ============================================================ */
.em-how-section {
  background: #fff;
}
.em-steps-flow {
  position: relative;
}
/* Connecting dashed line between steps on desktop */
/* .em-steps-flow::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 18px);
  right: calc(10% + 18px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--em-border) 0,
    var(--em-border) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
} */
/* @media (max-width: 991px) {
  .em-steps-flow::before { display: none; }
} */

.em-step-card {
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 30px 22px 20px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: var(--em-shadow-sm);
  transition: var(--em-transition);
  z-index: 1;
}
.em-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--em-shadow-md);
  border-color: rgba(58,50,133,0.22);
}
.em-step-number {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--em-primary), var(--em-primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(58,50,133,0.35);
  z-index: 2;
}
.em-step-icon {
  font-size: 2.2rem;
  color: var(--em-primary);
  /* margin-bottom: 16px; */
  display: block;
  transition: var(--em-transition);
}
.em-step-card:hover .em-step-icon {
  /* color: var(--em-teal); */
  transform: scale(1.1);
}
.em-step-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--em-text-dark);
  margin-bottom: 10px;
}
.em-step-desc {
  font-size: 0.8rem;
  color: var(--em-text-body);
  line-height: 1.72;
  margin-bottom: 0;
}

/* ============================================================
   SECTION 5 — PRODUCT PREVIEW
   ============================================================ */
.em-preview-section {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 60%, #4c3ba8 100%);
  position: relative;
  overflow: hidden;
  z-index: 10;
}
.em-preview-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
/* Tab Navigation for Preview */
.em-preview-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.em-preview-tab {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--em-transition);
}
.em-preview-tab.active,
.em-preview-tab:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.em-preview-tab.active {
  background: #fff;
  color: var(--em-primary);
  border-color: transparent;
}

/* Preview Screen Frame */
.em-screen-frame {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--em-radius-lg);
  padding: 14px;
  box-shadow: var(--em-shadow-lg), 0 0 80px rgba(0,0,0,0.3);
  transition: var(--em-transition);
}
.em-screen-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
}
.em-screen-inner {
  background: #12172a;
  border-radius: 10px;
  overflow: hidden;
  /* min-height: 320px; */
  position: relative;
}
.em-screen-topbar {
  background: #0c0f1e;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.em-screen-topbar .em-s-dot { width: 8px; height: 8px; border-radius: 50%; }
.em-screen-topbar .em-s-lbl {
  flex: 1;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

/* Screen Tab Panels */
.em-screen-panel { display: none; }
.em-screen-panel.active { display: block; }

/* Preview: Staff Dashboard Panel */
.em-staff-dash {
  padding: 18px;
}
.em-staff-dash img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}
@media (max-width: 767px) {
  .em-staff-dash {
    padding: 10px;
  }
}
.em-staff-dash .em-dash-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.em-dash-stat-box {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.em-dash-stat-box .em-ds-val {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.em-dash-stat-box .em-ds-lbl {
  display: block;
  color: rgba(255,255,255,0.42);
  font-size: 0.58rem;
  margin-top: 5px;
}
/* Timeline */
.em-timeline-list { padding: 0 2px; }
.em-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
}
.em-timeline-dot {
  width: 10px; height: 10px; min-width: 10px;
  border-radius: 50%;
  margin-top: 4px;
}
.em-timeline-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.68rem;
  line-height: 1.5;
}
.em-timeline-time {
  color: rgba(255,255,255,0.35);
  font-size: 0.6rem;
  margin-top: 2px;
  display: block;
}

/* Preview: Admin Panel */
.em-admin-panel {
  display: flex;
  height: 280px;
}
.em-admin-sidebar {
  width: 130px;
  min-width: 130px;
  background: rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 12px 8px;
}
.em-admin-sidebar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.2s;
}
.em-admin-sidebar-row:hover, .em-admin-sidebar-row.active-row {
  background: rgba(255,255,255,0.09);
}
.em-admin-sidebar-row .em-staff-avatar {
  width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
}
.em-admin-sidebar-row .em-staff-name {
  color: rgba(255,255,255,0.75);
  font-size: 0.65rem;
  font-weight: 600;
}
.em-admin-content {
  flex: 1;
  padding: 14px;
  overflow: hidden;
}
.em-admin-content-title {
  color: rgba(255,255,255,0.55);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.em-admin-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 14px;
}
.em-chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1.5s ease;
  animation: em-bar-up 1.5s ease both;
}
@keyframes em-bar-up {
  from { height: 0 !important; }
}
.em-admin-list .em-al-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.em-admin-list .em-al-row:last-child { border-bottom: none; }
.em-admin-list .em-al-label { color: rgba(255,255,255,0.5); font-size: 0.62rem; }
.em-admin-list .em-al-value { color: #fff; font-size: 0.68rem; font-weight: 700; }

/* Preview: Screenshot Logs */
.em-screenshot-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.em-screenshot-thumb {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--em-transition);
}
.em-screenshot-thumb:hover {
  transform: scale(1.04);
  border-color: var(--em-teal);
}
.em-screenshot-inner {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  padding: 6px;
}
.em-screenshot-mockbar {
  display: flex; gap: 4px; margin-bottom: 4px;
}
.em-screenshot-mockbar span { width: 6px; height: 6px; border-radius: 50%; }
.em-screenshot-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.em-screenshot-line {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}
.em-screenshot-time {
  position: absolute;
  bottom: 5px; left: 0; right: 0;
  text-align: center;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   SECTION 6 — BENEFITS
   ============================================================ */
.em-benefits-section {
  background: var(--em-light-bg);
}
.em-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  box-shadow: var(--em-shadow-sm);
  margin-bottom: 16px;
  transition: var(--em-transition);
}
.em-benefit-item:last-child { margin-bottom: 0; }
.em-benefit-item:hover {
  transform: translateX(6px);
  box-shadow: var(--em-shadow-md);
  border-color: rgba(58,50,133,0.22);
}
.em-benefit-icon {
  width: 52px; min-width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(58,50,133,0.1), rgba(5,183,183,0.08));
  color: var(--em-primary);
  transition: var(--em-transition);
}
/* .em-benefit-item:hover .em-benefit-icon {
  background: linear-gradient(135deg, var(--em-primary));
  color: #fff;
} */
.em-benefit-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--em-text-dark);
  margin-bottom: 5px;
}
.em-benefit-desc {
  font-size: 0.8rem;
  color: var(--em-text-body);
  line-height: 1.65;
  margin: 0;
}

/* Stats visual panel */
.em-stats-visual {
  background: linear-gradient(135deg, var(--em-light-bg) 0%, var(--em-light-bg2) 100%);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.em-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.em-stat-box {
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 26px 20px;
  box-shadow: var(--em-shadow-sm);
  text-align: center;
  transition: var(--em-transition);
}
.em-stat-box:hover { transform: translateY(-4px); box-shadow: var(--em-shadow-md); }
.em-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.em-stat-sub {
  font-size: 0.7rem;
  color: var(--em-text-body);
  margin-top: 7px;
}
.em-stat-line {
  width: 40px; height: 3px;
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ============================================================
   SECTION 7 — TRUST / PLATFORM INFO
   ============================================================ */
.em-trust-section {
  background: #fff;
}
.em-trust-banner {
  background: linear-gradient(135deg, var(--em-light-bg2), var(--em-light-bg));
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-xl);
  padding: 30px 30px;
  position: relative;
  overflow: hidden;
}
.em-trust-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,50,133,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.em-platform-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.em-platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 18px 24px;
  box-shadow: var(--em-shadow-sm);
  flex: 1;
  min-width: 180px;
  transition: var(--em-transition);
}
.em-platform-card:hover { transform: translateY(-3px); box-shadow: var(--em-shadow-md); }
.em-platform-card .em-platform-icon {
  font-size: 1.8rem;
  color: var(--em-primary);
  line-height: 1;
}
.em-platform-card .em-platform-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--em-text-dark);
}
.em-platform-card .em-platform-hint {
  font-size: 0.72rem;
  color: var(--em-text-body);
  margin-top: 1px;
}
.em-platform-card .em-platform-status {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-top: 3px;
  display: inline-block;
}
.em-status-available { background: rgba(69,196,160,0.15); color: var(--em-green); border: 1px solid rgba(69,196,160,0.3); }
.em-status-coming    { background: rgba(250,183,88,0.15);   color: var(--em-amber); border: 1px solid rgba(250,183,88,0.3); }

/* Trust badges bar */
.em-trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.em-trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--em-light-bg2);
  border: 1px solid var(--em-border);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.75rem;
  color: var(--em-text-dark);
  font-weight: 600;
  transition: var(--em-transition);
}
/* .em-trust-badge:hover { background: var(--em-primary); color: #fff; border-color: var(--em-primary); }
.em-trust-badge:hover i { color: #fff; } */
.em-trust-badge i { color: var(--em-primary); transition: var(--em-transition); }

/* ============================================================
   SECTION 8 — FAQ
   ============================================================ */
.em-faq-section {
  background: var(--em-light-bg);
}
.em-faq-item {
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  margin-bottom: 12px;
  box-shadow: var(--em-shadow-sm);
  overflow: hidden;
  transition: var(--em-transition);
}
.em-faq-item:hover {
  box-shadow: var(--em-shadow-md);
  border-color: rgba(58,50,133,0.22);
}
.em-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--em-text-dark);
  cursor: pointer;
  transition: var(--em-transition);
}
.em-faq-btn:hover { color: var(--em-primary); }
.em-faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  background: var(--em-light-bg2);
  color: var(--em-primary);
  font-size: 1.1rem;
  transition: var(--em-transition);
}
.em-faq-btn:not(.collapsed) .em-faq-chevron {
  background: var(--em-primary);
  color: #fff;
  transform: rotate(180deg);
}
.em-faq-btn.collapsed .em-faq-chevron { transform: rotate(0deg); }
.em-faq-body {
  padding: 0 24px 22px;
  font-size: 0.85rem;
  color: var(--em-text-body);
  line-height: 1.78;
  border-top: 1px solid var(--em-border);
  padding-top: 16px;
}

/* ============================================================
   SECTION 9 — GET IN TOUCH / CONTACT FORM
   ============================================================ */
.em-contact-section {
  background: #fff;
  border-top: 1px solid var(--em-border);
}
.em-contact-card {
  background: var(--em-light-bg);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  padding: 44px 40px;
  box-shadow: var(--em-shadow-sm);
}

/* ============================================================
   SECTION 10 — CTA BANNER
   ============================================================ */
.em-cta-banner {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 55%, #4c3ba8 100%);
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}
.em-cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,12,128,0.14) 0%, transparent 70%);
}
.em-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,183,183,0.12) 0%, transparent 70%);
}
.em-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.em-cta-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.em-btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--em-transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.em-btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 991px) {
  .em-hero { min-height: auto; padding: 70px 0 50px; }
  .em-hero-mockup { max-width: 100%; }
  .em-section { padding: 25px 0; }
  .em-cta-banner { padding: 70px 0; }
  .em-trust-banner { padding: 32px 26px; }
  .em-contact-card { padding: 32px 26px; }
  .em-screenshot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .em-stats-grid { grid-template-columns: 1fr 1fr; }
  .em-admin-panel { flex-direction: column; height: auto; }
  .em-admin-sidebar { width: 100%; min-width: unset; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
  .em-admin-chart { height: 60px; }
  .em-platform-grid { flex-direction: column; }
  .em-preview-tabs { gap: 6px; }
  .em-preview-tab { font-size: 0.7rem; padding: 6px 14px; }
}
@media (max-width: 575px) {
  .em-screenshot-grid { grid-template-columns: 1fr 1fr; }
  .em-stats-grid { grid-template-columns: 1fr 1fr; }
  .em-contact-card { padding: 24px 18px; }
  .em-hero { padding: 40px 0;}
  .em-cta-banner { padding: 20px 0; }
}
@media (max-width: 376px) {
  .em-stats-grid { grid-template-columns: 1fr; }
}

.reel-swiper {
    padding: 40px 0 60px;
}
.swiper-pagination-bullet-active {
  background: #2a2465 !important;
}
.em-youtube-reviews {
    background-color: #f8f9fa;
    overflow: hidden;
}
.reel-card {
    width: 100%; /* Take full width of swiper-slide */
    max-width: 260px;
    height: 460px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
    margin: 0 auto;
}
.reel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(58, 50, 133, 0.15);
}
.reel-video-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}
.reel-video-container img, .reel-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}
.em-section-label {
  display: inline-block;
  background: var(--em-light-bg2);
  color: var(--em-primary);
  border: 1px solid var(--em-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============================================================
   SECTION — TESTIMONIALS
   ============================================================ */
/* .em-testimonials {
  background: var(--em-light-bg);
}
.em-testimonials .testimonial-card {
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 32px 28px;
  box-shadow: var(--em-shadow-sm);
  transition: var(--em-transition);
  position: relative;
}
.em-testimonials .testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 22px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(58, 50, 133, 0.08);
  font-family: Georgia, serif;
}
.em-testimonials .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--em-shadow-md);
  border-color: rgba(58, 50, 133, 0.2);
}
.em-testimonials .t-stars {
  color: #fab758;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.em-testimonials .t-quote {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--em-text-body);
  margin-bottom: 24px;
  font-style: italic;
}
.em-testimonials .t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.em-testimonials .t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.em-testimonials .t-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--em-text-dark);
  margin-bottom: 2px;
}
.em-testimonials .t-role {
  font-size: 0.72rem;
  color: var(--em-text-body);
} */
.em-testimonials .trust-bar {
  border-top: 1px solid var(--em-border);
  padding-top: 56px;
  margin-top: 56px;
  text-align: center;
}
.em-testimonials .trust-bar .trust-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--em-text-body);
  margin-bottom: 24px;
}
.em-testimonials .trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.em-testimonials .trust-badge {
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: 10px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--em-text-dark);
  box-shadow: var(--em-shadow-sm);
  transition: var(--em-transition);
}
.em-testimonials .trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--em-shadow-md);
}
.em-testimonials .trust-badge i {
  font-size: 1.2rem;
  color: var(--em-primary);
}

/* ---- Keyframes ---- */
@keyframes em-tm-scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Marquee outer wrapper with left/right fade edges ---- */
.em-tm-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

/* ---- The animated track ---- */
.em-tm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* Single row — right to left (clockwise) */
.em-tm-scroll-ltr {
  animation: em-tm-scroll-ltr 38s linear infinite;
}

/* ---- Pause on hover ---- */
.em-tm-wrap:hover .em-tm-track {
  animation-play-state: paused;
}

/* ============================================================
   Individual Testimonial Card
   ============================================================ */
.em-tm-card {
  flex-shrink: 0;
  width: 340px;
  /* perfectly fit approx 30 words / 200 characters */
  min-height: 326px;
  background: var(--em-white);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  padding: 28px 26px 11px;
  box-shadow: var(--em-shadow-sm);
  transition: var(--em-transition);
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  cursor: default;
}

/* Bottom gradient bar (primary) — revealed on hover */
.em-tm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--em-primary) 0%, var(--em-primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--em-radius-lg) var(--em-radius-lg) 0 0;
}

/* Hover state */
.em-tm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--em-shadow-lg);
  border-color: rgba(58, 50, 133, 0.2);
}

.em-tm-card:hover::before {
  opacity: 1;
}

/* ---- Top row: quote icon ---- */
.em-tm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* margin-bottom: 12px; */
}

.em-tm-quote {
  font-size: 2.8rem;
  line-height: 0.5;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: var(--em-primary);
  opacity: 0.15;
  margin-top: -8px;
  user-select: none;
  pointer-events: none;
}

/* ---- Review text ---- */
.em-tm-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--em-text-body);
  font-style: italic;
  flex: 1;
  margin: 0 0 0 0;
  /* Clamp at 5 lines for approx 200 characters */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* ---- Star Rating ---- */
.em-tm-stars {
  color: #fab758;
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}

/* ---- Author row ---- */
.em-tm-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 7px;
  border-top: 1px solid var(--em-border);
  margin-top: auto;
}

/* ---- Avatar ---- */
.em-tm-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--em-border);
  box-shadow: 0 2px 8px rgba(58, 50, 133, 0.1);
  flex-shrink: 0;
}

.em-tm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Name & designation ---- */
.em-tm-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.em-tm-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--em-text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.em-tm-role {
  font-size: 0.72rem;
  color: var(--em-text-body);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .em-tm-card {
    width: 300px;
    min-height: 320px; /* Consistent height across breakpoints */
    padding: 24px 22px 20px;
  }

  .em-tm-scroll-ltr { animation-duration: 32s; }
}

@media (max-width: 575px) {
  .em-tm-section {
    padding: 50px 0 40px;
  }

  .em-tm-card {
    width: 260px;
    min-height: 320px; /* Standardizing for mobile as well */
    padding: 20px 18px 22px;
  }

  .em-tm-text {
    font-size: 0.82rem;
    -webkit-line-clamp: 4;
  }

  .em-tm-track {
    gap: 16px;
  }

  .em-tm-scroll-ltr { animation-duration: 25s; }
}
 
@media (max-width: 375px) {
  .em-testimonials .trust-bar{
    padding-top: 25px;
    margin-top: 25px;
  }
  .em-apk-buttons {
    flex-wrap: wrap;
  }
}

/* ============================================================
   FIXES: Country Code Dropdown Visibility
   ============================================================ */
.iti--container {
    z-index: 999999 !important;
}

.get_in_touch {
    overflow: visible !important;
}

.iti__dropdown-content, .iti__country-list {
    z-index: 99999 !important;
}

/* Ensure the form row doesn't clip the dropdown */
.getintouch, .getintouch .row {
    overflow: visible !important;
}


/* Ensure the form row and containers don't clip the dropdown */
.getintouch, .getintouch .row, .em-preview-section .container {
    overflow: visible !important;
}

/* Ensure the section stays above the following section to prevent label overlap */
.em-preview-section {
    z-index: 50 !important;
    position: relative !important;
}