/* =========================================================
   Payroll Management Feature Landing Page - Premium SaaS Style
   Standardized with 365 CRM "V2" UI Patterns
   Prefix: pay-
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
  --pay-primary:     #3a3285;
  --pay-primary-light: #5a52c0;
  --pay-primary-dark: #2a2465;
  --pay-accent:      #e60c80;
  --pay-accent-2:    #05b7b7;
  --pay-white:       #ffffff;
  --pay-light-bg:    #f8f9ff;
  --pay-light-bg2:   #f0f2ff;
  --pay-text-dark:   #1e2228;
  --pay-text-body:   #60697b;
  --pay-border:      rgba(58, 50, 133, 0.12);
  --pay-shadow-sm:   0 4px 16px rgba(58, 50, 133, 0.08);
  --pay-shadow-md:   0 8px 32px rgba(58, 50, 133, 0.12);
  --pay-shadow-lg:   0 16px 48px rgba(58, 50, 133, 0.16);
  --pay-radius:      14px;
  --pay-radius-lg:   20px;
  --pay-transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- PAGE-LEVEL OVERFLOW GUARD ---- */
.pay-hero,
.pay-section,
.pay-preview,
.pay-cta-banner,
.pay-problem-solution,
.pay-features,
.pay-how-it-works,
.pay-benefits,
.pay-testimonials,
.pay-faq {
  overflow-x: hidden;
}

/* ---- Scroll Animation Base States ---- */
.pay-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.pay-reveal.pay-revealed {
  opacity: 1;
  transform: translateY(0);
}
.pay-reveal-left {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.pay-reveal-left.pay-revealed {
  opacity: 1;
  transform: translateX(0);
}
.pay-reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.pay-reveal-right.pay-revealed {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 992px) {
  .pay-reveal-left  { transform: translateX(-40px); }
  .pay-reveal-right { transform: translateX(40px); }
}
.pay-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pay-reveal-scale.pay-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Delay Utilities */
.pay-delay-1 { transition-delay: 0.1s; }
.pay-delay-2 { transition-delay: 0.2s; }
.pay-delay-3 { transition-delay: 0.3s; }
.pay-delay-4 { transition-delay: 0.4s; }
.pay-delay-5 { transition-delay: 0.5s; }
.pay-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.pay-hero {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 50%, #5330a8 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 35px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.pay-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 12, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.pay-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 183, 183, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pay-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;
}
.pay-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pay-hero .hero-badge span.dot {
  width: 8px; height: 8px;
  background: #05b7b7;
  border-radius: 50%;
  display: inline-block;
  animation: pay-pulse 1.6s infinite;
}
@keyframes pay-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); }
}
.pay-hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.pay-hero .hero-title .highlight {
  background: linear-gradient(90deg, #05b7b7, #e60c80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pay-hero .hero-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.pay-hero .hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.pay-hero .hero-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--pay-radius-lg);
  backdrop-filter: blur(10px);
  padding: 16px;
  box-shadow: var(--pay-shadow-lg), 0 0 60px rgba(58, 50, 133, 0.4);
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 1;
}
.pay-hero .hero-mockup .mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.pay-hero .hero-mockup .dot-r { width: 10px; height: 10px; border-radius: 50%; background: #e2626b; }
.pay-hero .hero-mockup .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #fab758; }
.pay-hero .hero-mockup .dot-g { width: 10px; height: 10px; border-radius: 50%; background: #45c4a0; }

.pay-hero .btn-hero-primary {
  background: #fff;
  color: var(--pay-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--pay-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-decoration: none !important;
}
.pay-hero .btn-hero-primary:hover {
  background: var(--pay-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.3);
}
.pay-hero .btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--pay-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}
.pay-hero .btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.pay-hero .hero-trust-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.pay-hero .hero-avatars {
  display: flex;
  align-items: center;
}
.pay-hero .hero-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #3a3285;
  margin-left: -12px;
  object-fit: cover;
  transition: var(--pay-transition);
}
.pay-hero .hero-avatars img:first-child {
  margin-left: 0;
}
.pay-hero .trust-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.pay-hero .trust-text strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width:376px) {
  .pay-apk-buttons {
    flex-wrap: wrap;
  }
  .pay-benefits .benefits-cards { 
    display:grid !important; 
    grid-template-columns:1fr !important; 
    gap:10px !important;
    width:100%;
  }
}

/* Google Rating Component */
.pay-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);
}

.pay-google-rating:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.pay-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);
}

.pay-rating-icon svg {
  width: 100%;
  height: 100%;
}

.pay-rating-content {
  display: flex;
  flex-direction: column;
}

.pay-rating-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  line-height: 1;
}

.pay-rating-stars-wrap {
  display: flex;
  /* align-items: center; */
  gap: 8px;
  margin-bottom: 2px;
}

.pay-rating-num {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pay-stars-row {
  color: #fab758;
  font-size: 0.8rem;
  display: flex;
  gap: 1px;
}

.pay-rating-count {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

/* App Install Buttons */
.pay-app-btn {
  display: inline-flex;
  align-items: center;
  transition: var(--pay-transition);
  /* border-radius: 12px; */
  overflow: hidden;
  height: 48px; /* Standardize height */
  text-decoration: none !important;
}
.pay-app-btn svg {
  height: 100%;
  width: auto;
  display: block;
}
.pay-app-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsiveness for app buttons */
@media (max-width: 575px) {
  .pay-app-btn {
    width: 100%;
    justify-content: center;
  }
}

.mockup-body {
  background: linear-gradient(155deg, #1a2040 0%, #0e1326 100%);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-body img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* ============================================================
   SECTION: Common Section Heading
   ============================================================ */
.pay-section {
  padding: 30px 0;
}
.pay-section-alt {
  background: var(--pay-light-bg);
}
.pay-section-alt2 {
  background: var(--pay-light-bg2);
}
.pay-section-label {
  display: inline-block;
  background: var(--pay-light-bg2);
  color: var(--pay-primary);
  border: 1px solid var(--pay-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pay-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--pay-text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.pay-section-subtitle {
  color: var(--pay-text-body);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 730px;
  margin: 0 auto;
}

/* ============================================================
   SECTION 2 — PROBLEM → SOLUTION
   ============================================================ */
.pay-problem-solution{
  overflow: hidden;
}
.pay-problem-solution .ps-card {
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--pay-shadow-sm);
  transition: var(--pay-transition);
  position: relative;
  overflow: hidden;
}
.pay-problem-solution .ps-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--pay-radius) var(--pay-radius) 0 0;
}
.pay-problem-solution .ps-card.problem::before {
  background: linear-gradient(90deg, #e2626b, #f78b77);
}
.pay-problem-solution .ps-card.solution::before {
  background: linear-gradient(90deg, #3a3285, #05b7b7);
}
.pay-problem-solution .ps-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pay-shadow-md);
}
.pay-problem-solution .ps-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.pay-problem-solution .ps-icon.red { background: rgba(226, 98, 107, 0.1); color: #e2626b; }
.pay-problem-solution .ps-icon.primary { background: rgba(58, 50, 133, 0.1); color: var(--pay-primary); }
.pay-problem-solution .ps-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.pay-problem-solution .ps-item:last-child { border-bottom: none; }
.pay-problem-solution .ps-item .ps-bullet {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  margin-top: 1px;
}
.pay-problem-solution .ps-item .ps-bullet.red { background: rgba(226, 98, 107, 0.12); color: #e2626b; }
.pay-problem-solution .ps-item .ps-bullet.green { background: rgba(69, 196, 160, 0.12); color: #45c4a0; }

/* ============================================================
   SECTION 3 — FEATURES
   ============================================================ */
.pay-features{
  overflow: hidden;
}
.pay-features .feature-card {
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius);
  padding: 32px 24px;
  height: 100%;
  box-shadow: var(--pay-shadow-sm);
  transition: var(--pay-transition);
  position: relative;
  overflow: hidden;
}
.pay-features .feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background: linear-gradient(135deg, rgba(58, 50, 133, 0.03) 0%, transparent 60%);
  border-radius: var(--pay-radius);
  pointer-events: none;
  opacity: 0;
  transition: var(--pay-transition);
}
.pay-features .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pay-shadow-lg);
  border-color: rgba(58, 50, 133, 0.25);
}
.pay-features .feature-card:hover::after {
  opacity: 1;
}
.pay-features .feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 14px;
  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.5rem;
  color: var(--pay-primary);
  margin-bottom: 20px;
  transition: var(--pay-transition);
}
.pay-features .feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--pay-primary), #5a52c0);
  color: #fff;
  transform: rotate(-4deg) scale(1.08);
}
.pay-features .feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  margin-bottom: 10px;
}
.pay-features .feature-desc {
  font-size: 0.82rem;
  color: var(--pay-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   SECTION 4 — HOW IT WORKS
   ============================================================ */
.pay-how-it-works {
  background: var(--pay-light-bg);
}
.pay-how-it-works .step-card {
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius);
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: var(--pay-shadow-sm);
  transition: var(--pay-transition);
}
.pay-how-it-works .step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pay-shadow-md);
}
.pay-how-it-works .step-number {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--pay-primary), #5a52c0);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(58, 50, 133, 0.35);
}
.pay-how-it-works .step-icon {
  font-size: 2.2rem;
  color: var(--pay-primary);
  margin-bottom: 16px;
  display: block;
}
.pay-how-it-works .step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  margin-bottom: 10px;
}
.pay-how-it-works .step-desc {
  font-size: 0.82rem;
  color: var(--pay-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}
/* Arrow between steps */
.pay-how-it-works .step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  color: rgba(58, 50, 133, 0.3);
  font-size: 1.3rem;
}

/* ============================================================
   SECTION 5 — PRODUCT PREVIEW
   ============================================================ */
.pay-preview {
  background: var(--pay-primary);
  position: relative;
  overflow: hidden;
}
.pay-preview::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;
}
.pay-preview .preview-screen-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--pay-radius-lg);
  padding: 12px;
  box-shadow: var(--pay-shadow-lg);
  backdrop-filter: blur(6px);
  transition: var(--pay-transition);
}
.pay-preview .preview-screen-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.pay-preview .preview-screen {
  border-radius: 10px;
  overflow: hidden;
  background: #1a1f3a;
  min-height: 280px;
  position: relative;
}
.pay-preview .preview-screen .ps-header {
  background: #0f1220;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pay-preview .preview-screen .ps-header .ps-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.pay-preview .preview-sidebar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pay-radius);
  padding: 12px;
}
.pay-preview .preview-sidebar .ps-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: var(--pay-transition);
}
.pay-preview .preview-sidebar .ps-metric:hover {
  background: rgba(255,255,255,0.1);
}
.pay-preview .preview-sidebar .ps-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.pay-preview .preview-sidebar .ps-metric-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  display: block;
}
.pay-preview .preview-sidebar .ps-progress {
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
}
.pay-preview .preview-sidebar .ps-progress .ps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pay-accent-2), #3a3285);
  border-radius: 50px;
  animation: pay-progress-fill 2.5s ease-out forwards;
}
@keyframes pay-progress-fill {
  from { width: 0; }
}

/* ============================================================
   SECTION 6 — BENEFITS
   ============================================================ */
.pay-benefits .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius);
  box-shadow: var(--pay-shadow-sm);
  margin-bottom: 16px;
  transition: var(--pay-transition);
}
.pay-benefits .benefit-item:hover {
  transform: translateX(4px);
  box-shadow: var(--pay-shadow-md);
  border-color: rgba(58, 50, 133, 0.25);
}
.pay-benefits .benefit-icon {
  width: 50px; min-width: 50px; height: 50px;
  border-radius: 12px;
  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(--pay-primary);
}
.pay-benefits .benefit-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  margin-bottom: 6px;
}
.pay-benefits .benefit-desc {
  font-size: 0.82rem;
  color: var(--pay-text-body);
  line-height: 1.65;
  margin-bottom: 0;
}
.pay-benefits .benefits-visual {
  background: linear-gradient(135deg, var(--pay-light-bg) 0%, var(--pay-light-bg2) 100%);
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius-lg);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pay-benefits .benefits-cards { 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:16px;
  width:100%;
}
/* ============================================================
   SECTION youtube Reviews
   ============================================================ */
.reel-swiper {
    padding: 40px 0 60px;
}
.swiper-pagination-bullet-active {
  background: #2a2465 !important;
}
.pay-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;
}


/* ============================================================
   SECTION — TESTIMONIALS
   ============================================================ */
.pay-testimonials {
  background: var(--pay-light-bg);
}
.pay-testimonials .testimonial-card {
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius);
  padding: 32px 28px;
  box-shadow: var(--pay-shadow-sm);
  /* height: 100%; */
  transition: var(--pay-transition);
  position: relative;
}
.pay-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;
}
.pay-testimonials .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pay-shadow-md);
  border-color: rgba(58, 50, 133, 0.2);
}
.pay-testimonials .t-stars {
  color: #fab758;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.pay-testimonials .t-quote {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--pay-text-body);
  margin-bottom: 24px;
  font-style: italic;
}
.pay-testimonials .t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pay-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;
}
.pay-testimonials .t-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  margin-bottom: 2px;
}
.pay-testimonials .t-role {
  font-size: 0.72rem;
  color: var(--pay-text-body);
}
.pay-testimonials .trust-bar {
  border-top: 1px solid var(--pay-border);
  padding-top: 56px;
  margin-top: 56px;
  text-align: center;
}
.pay-testimonials .trust-bar .trust-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pay-text-body);
  margin-bottom: 24px;
}
.pay-testimonials .trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.pay-testimonials .trust-badge {
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: 10px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  box-shadow: var(--pay-shadow-sm);
  transition: var(--pay-transition);
}
.pay-testimonials .trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--pay-shadow-md);
}
.pay-testimonials .trust-badge i {
  font-size: 1.2rem;
  color: var(--pay-primary);
}


/* ============================================================
   SECTION 8 — FAQ
   ============================================================ */
.pay-faq .faq-item {
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--pay-shadow-sm);
  transition: var(--pay-transition);
}
.pay-faq .faq-item:hover {
  border-color: rgba(58, 50, 133, 0.22);
  box-shadow: var(--pay-shadow-md);
}
.pay-faq .faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  transition: var(--pay-transition);
}
.pay-faq .faq-btn .faq-chevron {
  width: 28px; min-width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pay-light-bg2);
  color: var(--pay-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--pay-transition);
}
.pay-faq .faq-btn[aria-expanded="true"] .faq-chevron {
  background: var(--pay-primary);
  color: #fff;
  transform: rotate(180deg);
}
.pay-faq .faq-body {
  padding: 0 24px 22px;
  font-size: 0.84rem;
  color: var(--pay-text-body);
  line-height: 1.75;
}

/* ============================================================
   SECTION — CTA BANNER
   ============================================================ */
.pay-cta-banner {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 55%, #4c3ba8 100%);
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}
.pay-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%);
}
.pay-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%);
}
.pay-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.pay-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;
}
.pay-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(--pay-transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.pay-btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}
/* Hero CTA Buttons */
.pay-btn-primary {
  background: #fff;
  color: var(--pay-primary);
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  transition: var(--pay-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-decoration: none;
}
.pay-btn-primary:hover {
  background: var(--pay-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.32);
}
.pay-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(--pay-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.pay-btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991.98px) {
  .pay-hero {
    min-height: auto;
    padding: 80px 0 60px;
  }
  .pay-section {
    padding: 25px 0;
  }
  .pay-how-it-works .step-arrow {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .pay-hero {
    padding: 70px 0 50px;
  }
  .pay-section {
    padding: 20px 0;
  }
}
@media (max-width: 575px) {
  .pay-hero {
    padding: 40px 0 40px !important;
  }
  .pay-section {
    padding: 20px 0 !important;
  }
}

/* ---- Keyframes ---- */
@keyframes pay-tm-scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Marquee outer wrapper with left/right fade edges ---- */
.pay-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 ---- */
.pay-tm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* Single row — right to left (clockwise) */
.pay-tm-scroll-ltr {
  animation: pay-tm-scroll-ltr 38s linear infinite;
}

/* ---- Pause on hover ---- */
.pay-tm-wrap:hover .pay-tm-track {
  animation-play-state: paused;
}

/* ============================================================
   Individual Testimonial Card
   ============================================================ */
.pay-tm-card {
  flex-shrink: 0;
  width: 340px;
  /* perfectly fit approx 30 words / 200 characters */
  min-height: 326px;
  background: var(--pay-white);
  border: 1px solid var(--pay-border);
  border-radius: var(--pay-radius-lg);
  padding: 28px 26px 11px;
  box-shadow: var(--pay-shadow-sm);
  transition: var(--pay-transition);
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  cursor: default;
}

/* Bottom gradient bar (primary) — revealed on hover */
.pay-tm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pay-primary) 0%, var(--pay-primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--pay-radius-lg) var(--pay-radius-lg) 0 0;
}

/* Hover state */
.pay-tm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pay-shadow-lg);
  border-color: rgba(58, 50, 133, 0.2);
}

.pay-tm-card:hover::before {
  opacity: 1;
}

/* ---- Top row: quote icon ---- */
.pay-tm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* margin-bottom: 12px; */
}

.pay-tm-quote {
  font-size: 2.8rem;
  line-height: 0.5;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: var(--pay-primary);
  opacity: 0.15;
  margin-top: -8px;
  user-select: none;
  pointer-events: none;
}

/* ---- Review text ---- */
.pay-tm-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--pay-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 ---- */
.pay-tm-stars {
  color: #fab758;
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
/* ---- Author row ---- */
.pay-tm-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 7px;
  border-top: 1px solid var(--pay-border);
  margin-top: auto;
}

/* ---- Avatar ---- */
.pay-tm-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pay-border);
  box-shadow: 0 2px 8px rgba(58, 50, 133, 0.1);
  flex-shrink: 0;
}

.pay-tm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Name & designation ---- */
.pay-tm-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pay-tm-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pay-text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pay-tm-role {
  font-size: 0.72rem;
  color: var(--pay-text-body);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .pay-tm-card {
    width: 300px;
    min-height: 320px; /* Consistent height across breakpoints */
    padding: 24px 22px 20px;
  }

  .pay-tm-scroll-ltr { animation-duration: 32s; }
}

@media (max-width: 575px) {
  .pay-tm-section {
    padding: 50px 0 40px;
  }

  .pay-tm-card {
    width: 260px;
    min-height: 320px; /* Standardizing for mobile as well */
    padding: 20px 18px 22px;
  }

  .pay-tm-text {
    font-size: 0.82rem;
    -webkit-line-clamp: 4;
  }

  .pay-tm-track {
    gap: 16px;
  }

  .pay-tm-scroll-ltr { animation-duration: 25s; }
}
 
@media (max-width: 375px) {
  .pay-testimonials .trust-bar{
    padding-top: 25px;
    margin-top: 25px;
  }
}

/* ============================================================
   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, .pay-preview-section .container {
    overflow: visible !important;
}

/* Ensure the section stays above the following section to prevent label overlap */
.pay-preview-section {
    z-index: 50 !important;
    position: relative !important;
}