/* =========================================================
   HRMS Feature Landing Page - Premium SaaS Style
   Standardized with 365 CRM "V2" UI Patterns
   ========================================================= */

:root {
  --hrms-primary: #3a3285;
  --hrms-primary-light: #5a52c0;
  --hrms-primary-dark: #2a2465;
  --hrms-accent: #e60c80;
  --hrms-teal: #05b7b7;
  --hrms-green: #45c4a0;
  --hrms-amber: #fab758;
  --hrms-red: #e2626b;
  --hrms-white: #ffffff;
  --hrms-light-bg: #f8f9ff;
  --hrms-light-bg2: #f0f2ff;
  --hrms-text-dark: #1e2228;
  --hrms-text-body: #60697b;
  --hrms-border: rgba(58, 50, 133, 0.12);
  --hrms-shadow-sm: 0 4px 16px rgba(58, 50, 133, 0.08);
  --hrms-shadow-md: 0 8px 32px rgba(58, 50, 133, 0.12);
  --hrms-shadow-lg: 0 16px 48px rgba(58, 50, 133, 0.18);
  --hrms-radius: 14px;
  --hrms-radius-lg: 22px;
  --hrms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Global Section Guard ---- */
.hrms-hero,
.hrms-section,
.hrms-preview,
.hrms-instagram-reviews,
.hrms-testimonials,
.hrms-cta-banner {
  overflow-x: hidden;
}

/* ---- Scroll Animations ---- */
.hrms-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hrms-reveal.hrms-revealed {
  opacity: 1;
  transform: translateY(0);
}

.hrms-reveal-left {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hrms-reveal-left.hrms-revealed {
  opacity: 1;
  transform: translateX(0);
}

.hrms-reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hrms-reveal-right.hrms-revealed {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 992px) {
  .hrms-reveal-left {
    transform: translateX(-42px);
  }

  .hrms-reveal-right {
    transform: translateX(42px);
  }
}
@media (max-width: 575px) {
  .hrms-hero {
    padding: 40px 0 40px !important;
  }
  .hrms-section {
    padding: 20px 0 !important;
  }
  .hrms-preview-tabs{
    gap: 6px !important;
  }
}
.hrms-delay-1 {
  transition-delay: 0.10s;
}

.hrms-delay-2 {
  transition-delay: 0.20s;
}

.hrms-delay-3 {
  transition-delay: 0.30s;
}

.hrms-delay-4 {
  transition-delay: 0.40s;
}

.hrms-delay-5 {
  transition-delay: 0.50s;
}

.hrms-delay-6 {
  transition-delay: 0.60s;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hrms-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;
}

.hrms-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;
}

.hrms-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;
}

.hrms-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;
}

.hrms-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;
}

.hrms-hero-badge .hrms-dot {
  width: 8px;
  height: 8px;
  background: var(--hrms-teal);
  border-radius: 50%;
  display: inline-block;
  animation: hrms-pulse 1.6s infinite;
}

@keyframes hrms-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);
  }
}

.hrms-hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  margin-bottom: 20px;
}

.hrms-hero-title .highlight {
  background: linear-gradient(90deg, var(--hrms-teal), var(--hrms-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hrms-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 */
.hrms-btn-primary {
  background: #fff;
  color: var(--hrms-primary);
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  transition: var(--hrms-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.hrms-btn-primary:hover {
  background: var(--hrms-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.32);
}

.hrms-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(--hrms-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.hrms-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width:376px) {
  .hrms-apk-buttons {
    flex-wrap: wrap;
  }
}
/* Google Rating Component */
.hrms-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);
}

.hrms-google-rating:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.hrms-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);
}

.hrms-rating-icon svg {
  width: 100%;
  height: 100%;
}

.hrms-rating-content {
  display: flex;
  flex-direction: column;
}

.hrms-rating-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  line-height: 1;
}

.hrms-rating-stars-wrap {
  display: flex;
  /* align-items: center; */
  gap: 8px;
  margin-bottom: 2px;
}

.hrms-rating-num {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hrms-stars-row {
  color: #fab758;
  font-size: 0.8rem;
  display: flex;
  gap: 1px;
}

.hrms-rating-count {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

/* Hero Trust Area */
.hrms-hero-trust-area {
  display: flex;
  align-items: center;
  gap: 12px;  
}

.hrms-hero-avatars {
  display: flex;
  align-items: center;
}

.hrms-hero-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--hrms-primary);
  margin-left: -12px;
  object-fit: cover;
  transition: var(--hrms-transition);
}

.hrms-hero-avatars img:first-child {
  margin-left: 0;
}

.hrms-hero-avatars img:hover {
  transform: translateY(-4px);
  z-index: 10;
}

.hrms-trust-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hrms-trust-text strong {
  color: #fff;
  font-weight: 700;
  display: block;
}

/* App Install Buttons */
.hrms-app-btn {
  display: inline-flex;
  align-items: center;
  transition: var(--hrms-transition);
  overflow: hidden;
  height: 48px;
  text-decoration: none !important;
}

.hrms-app-btn svg {
  height: 100%;
  width: auto;
  display: block;
}

.hrms-app-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Mockup Wrapper */
.hrms-hero-mockup {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--hrms-radius-lg);
  backdrop-filter: blur(12px);
  padding: 16px;
  box-shadow: var(--hrms-shadow-lg), 0 0 80px rgba(58, 50, 133, 0.45);
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  position: relative;
}

.hrms-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.hrms-mockup-header .dot-r {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2626b;
}

.hrms-mockup-header .dot-y {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fab758;
}

.hrms-mockup-header .dot-g {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45c4a0;
}
.hrms-mockup-header .mockup-title{
    flex: 1;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}
.hrms-mockup-inner {
  background: linear-gradient(155deg, #1a2040 0%, #0e1326 100%);
  border-radius: 10px;
  overflow: hidden;
}
.mockup-body {
  background: linear-gradient(155deg, #1a2040 0%, #0e1326 100%);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
  /* min-height: 300px; */
  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;
}

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
.hrms-section {
  padding: 35px 0;
}

.hrms-section-alt {
  background: var(--hrms-light-bg);
}

.hrms-section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(58, 50, 133, 0.08);
  color: var(--hrms-primary);
  border: 1px solid rgba(58, 50, 133, 0.15);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hrms-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--hrms-text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hrms-section-subtitle {
  color: var(--hrms-text-body);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 730px;
  margin: 0 auto;
}

/* ============================================================
   SECTION 2 — PROBLEM → SOLUTION
   ============================================================ */
.hrms-problem-list .card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f2f4f7 !important;
  transition: var(--hrms-transition);
}

.hrms-problem-list .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hrms-shadow-md);
}

.hrms-problem-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(226, 98, 107, 0.08);
  color: #e2626b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(226, 98, 107, 0.2);
}

.hrms-solution-card {
  background: #3a3285;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--hrms-shadow-lg);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.hrms-solution-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 20px solid rgba(255, 255, 255, 0.05);
}

.hrms-solution-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.hrms-solution-bullet {
  width: 26px;
  height: 26px;
  background: #45c4a0;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(69, 196, 160, 0.3);
  margin-right: 1rem;
}

.hrms-solution-text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   SECTION 3 — PILLARS (FEATURE CARDS)
   ============================================================ */
.hrms-pillars{
  overflow: hidden;
}
.hrms-feature-card {
  background: #fff;
  border: 1px solid var(--hrms-border);
  border-radius: var(--hrms-radius);
  padding: 32px 24px;
  height: 100%;
  box-shadow: var(--hrms-shadow-sm);
  transition: var(--hrms-transition);
  position: relative;
  overflow: hidden;
}

.hrms-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(--hrms-radius);
  pointer-events: none;
  opacity: 0;
  transition: var(--hrms-transition);
}

.hrms-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hrms-shadow-lg);
  border-color: rgba(58, 50, 133, 0.25);
}

.hrms-feature-card:hover::after {
  opacity: 1;
}

.hrms-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(--hrms-primary);
  margin-bottom: 20px;
  transition: var(--hrms-transition);
}

.hrms-feature-card:hover .hrms-feature-icon-wrap {
  background: linear-gradient(135deg, var(--hrms-primary), #5a52c0);
  color: #fff;
  transform: rotate(-4deg) scale(1.08);
}

.hrms-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hrms-text-dark);
  margin-bottom: 10px;
}

.hrms-feature-desc {
  font-size: 0.82rem;
  color: var(--hrms-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   SECTION 4 — THE WORKFLOW (HOW IT WORKS)
   ============================================================ */
.hrms-workflow-card {
  background: #fff;
  border: 1px solid var(--hrms-border);
  border-radius: var(--hrms-radius);
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: var(--hrms-shadow-sm);
  transition: var(--hrms-transition);
}

.hrms-workflow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hrms-shadow-md);
}

.hrms-workflow-card .step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--hrms-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);
}

.hrms-workflow-card .step-icon {
  font-size: 2.2rem;
  color: var(--hrms-primary);
  margin-bottom: 16px;
  display: block;
}

.hrms-workflow-card .step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hrms-text-dark);
  margin-bottom: 10px;
}

.hrms-workflow-card .step-desc {
  font-size: 0.82rem;
  color: var(--hrms-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

.hrms-workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  color: rgba(58, 50, 133, 0.3);
  font-size: 1.3rem;
}

@media (max-width: 991.98px) {
  .hrms-workflow-arrow {
    display: none;
  }
}

/* ============================================================
   SECTION 5 — PRODUCT PREVIEW
   ============================================================ */
.hrms-preview {
  background: var(--hrms-primary);
  position: relative;
  overflow: hidden;
}

.hrms-preview .container {
  position: relative;
  z-index: 2;
}

.hrms-preview-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

.hrms-preview-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.hrms-preview-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hrms-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 7px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: var(--hrms-transition);
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

.hrms-tab-btn i {
  font-size: 1.15rem;
}

.hrms-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hrms-tab-btn.active {
  background: #fff;
  color: var(--hrms-primary);
  border-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.preview-screen-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--hrms-radius);
  padding: 12px;
  box-shadow: var(--hrms-shadow-lg);
  backdrop-filter: blur(6px);
  transition: var(--hrms-transition);
}

.preview-screen-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.preview-screen {
  border-radius: 10px;
  overflow: hidden;
  background: #0d1226;
  position: relative;
}

.ps-header {
  background: #0a0e1f;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.preview-sidebar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hrms-radius);
  padding: 12px;
  height: 100%;
}

.ps-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 15px;
  transition: var(--hrms-transition);
}

.ps-metric:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ps-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.ps-metric-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ps-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
}

.ps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hrms-primary), #5a52c0);
  border-radius: 10px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .hrms-hero {
    padding: 80px 0 60px;
    /* text-align: center; */
  }

  .hrms-hero .hrms-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   SECTION 8 — FAQ
   ============================================================ */
.hrms-faq .faq-item {
  background: #fff;
  border: 1px solid var(--hrms-border);
  border-radius: var(--hrms-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--hrms-shadow-sm);
  transition: var(--hrms-transition);
}
.hrms-faq .faq-item:hover {
  border-color: rgba(58, 50, 133, 0.22);
  box-shadow: var(--hrms-shadow-md);
}
.hrms-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(--hrms-text-dark);
  transition: var(--hrms-transition);
}
.hrms-faq .faq-btn:hover {
  color: var(--hrms-primary);
}
.hrms-faq .faq-btn .faq-chevron {
  width: 28px; min-width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--hrms-light-bg2);
  color: var(--hrms-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--hrms-transition);
}
.hrms-faq .faq-btn[aria-expanded="true"] .faq-chevron {
  background: var(--hrms-primary);
  color: #fff;
  transform: rotate(180deg);
}
.hrms-faq .faq-btn[aria-expanded="true"] {
  color: var(--hrms-primary);
}
.hrms-faq .faq-body {
  padding: 0 24px 22px;
  font-size: 0.84rem;
  color: var(--hrms-text-body);
  line-height: 1.75;
}

/* Premium Instagram reels review section */
.hrms-instagram-reviews {
    background-color: #f8f9fa;
    overflow: hidden;
}
.reel-swiper {
    padding: 40px 0 60px;
}
.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;
}
.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    z-index: 2;
}
.reel-handle {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.reel-handle i {
    color: #e1306c;
    font-size: 1rem;
}
.reel-content {
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.reel-card:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255,255,255,0.4);
    opacity: 1;
}
.reel-label {
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
    color: #343f52;
    font-size: 0.85rem;
    display: block;
}

@media (max-width: 991px) {
    .reel-card {
        max-width: 220px;
        height: 380px;
    }
}
.swiper-pagination-bullet-active {
  background: #2a2465 !important;
}

/* ============================================================
   SECTION 7 — TESTIMONIALS
   ============================================================ */
.hrms-testimonials {
  background: var(--hrms-light-bg);
}
.hrms-testimonials .testimonial-card {
  background: #fff;
  border: 1px solid var(--hrms-border);
  border-radius: var(--hrms-radius);
  padding: 32px 28px;
  box-shadow: var(--hrms-shadow-sm);
  /* height: 100%; */
  transition: var(--hrms-transition);
  position: relative;
}
.hrms-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;
}
.hrms-testimonials .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hrms-shadow-md);
  border-color: rgba(58, 50, 133, 0.2);
}
.hrms-testimonials .t-stars {
  color: #fab758;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.hrms-testimonials .t-quote {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--hrms-text-body);
  margin-bottom: 24px;
  font-style: italic;
}
.hrms-testimonials .t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hrms-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;
}
.hrms-testimonials .t-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hrms-text-dark);
  margin-bottom: 2px;
}
.hrms-testimonials .t-role {
  font-size: 0.72rem;
  color: var(--hrms-text-body);
}
.hrms-testimonials .trust-bar {
  border-top: 1px solid var(--hrms-border);
  padding-top: 56px;
  margin-top: 56px;
  text-align: center;
}
.hrms-testimonials .trust-bar .trust-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hrms-text-body);
  margin-bottom: 24px;
}
.hrms-testimonials .trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.hrms-testimonials .trust-badge {
  background: #fff;
  border: 1px solid var(--hrms-border);
  border-radius: 10px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hrms-text-dark);
  box-shadow: var(--hrms-shadow-sm);
  transition: var(--hrms-transition);
}
.hrms-testimonials .trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--hrms-shadow-md);
}
.hrms-testimonials .trust-badge i {
  font-size: 1.2rem;
  color: var(--hrms-primary);
}

/* ============================================================
   SECTION 9 — CTA BANNER
   ============================================================ */
.hrms-cta-banner {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 50%, #5330a8 100%);
  position: relative;
  overflow: hidden;
}
.hrms-cta-banner::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 183, 183, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hrms-cta-banner::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 12, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hrms-cta-banner .cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.hrms-cta-banner .cta-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hrms-cta-banner .btn-cta-primary {
  background: #fff;
  color: var(--hrms-primary);
  border: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--hrms-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hrms-cta-banner .btn-cta-primary:hover {
  background: var(--hrms-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.3);
}
.hrms-cta-banner .btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--hrms-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hrms-cta-banner .btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ---- Keyframes ---- */
@keyframes hrms-tm-scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Marquee outer wrapper with left/right fade edges ---- */
.hrms-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 ---- */
.hrms-tm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* Single row — right to left (clockwise) */
.hrms-tm-scroll-ltr {
  animation: hrms-tm-scroll-ltr 38s linear infinite;
}

/* ---- Pause on hover ---- */
.hrms-tm-wrap:hover .hrms-tm-track {
  animation-play-state: paused;
}

/* ============================================================
   Individual Testimonial Card
   ============================================================ */
.hrms-tm-card {
  flex-shrink: 0;
  width: 340px;
  /* perfectly fit approx 30 words / 200 characters */
  min-height: 326px;
  background: var(--hrms-white);
  border: 1px solid var(--hrms-border);
  border-radius: var(--hrms-radius-lg);
  padding: 28px 26px 11px;
  box-shadow: var(--hrms-shadow-sm);
  transition: var(--hrms-transition);
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  cursor: default;
}

/* Bottom gradient bar (primary) — revealed on hover */
.hrms-tm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hrms-primary) 0%, var(--hrms-primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--hrms-radius-lg) var(--hrms-radius-lg) 0 0;
}

/* Hover state */
.hrms-tm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hrms-shadow-lg);
  border-color: rgba(58, 50, 133, 0.2);
}

.hrms-tm-card:hover::before {
  opacity: 1;
}

/* ---- Top row: quote icon ---- */
.hrms-tm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* margin-bottom: 12px; */
}

.hrms-tm-quote {
  font-size: 2.8rem;
  line-height: 0.5;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: var(--hrms-primary);
  opacity: 0.15;
  margin-top: -8px;
  user-select: none;
  pointer-events: none;
}

/* ---- Review text ---- */
.hrms-tm-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--hrms-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 ---- */
.hrms-tm-stars {
  color: #fab758;
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
/* ---- Author row ---- */
.hrms-tm-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 7px;
  border-top: 1px solid var(--hrms-border);
  margin-top: auto;
}

/* ---- Avatar ---- */
.hrms-tm-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hrms-border);
  box-shadow: 0 2px 8px rgba(58, 50, 133, 0.1);
  flex-shrink: 0;
}

.hrms-tm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Name & designation ---- */
.hrms-tm-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hrms-tm-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--hrms-text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hrms-tm-role {
  font-size: 0.72rem;
  color: var(--hrms-text-body);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .hrms-tm-card {
    width: 300px;
    min-height: 320px; /* Consistent height across breakpoints */
    padding: 24px 22px 20px;
  }

  .hrms-tm-scroll-ltr { animation-duration: 32s; }
}

@media (max-width: 575px) {
  .hrms-tm-section {
    padding: 50px 0 40px;
  }

  .hrms-tm-card {
    width: 260px;
    min-height: 320px; /* Standardizing for mobile as well */
    padding: 20px 18px 22px;
  }

  .hrms-tm-text {
    font-size: 0.82rem;
    -webkit-line-clamp: 4;
  }

  .hrms-tm-track {
    gap: 16px;
  }

  .hrms-tm-scroll-ltr { animation-duration: 25s; }
}
 
@media (max-width: 375px) {
  .hrms-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, .hrms-preview-section .container {
    overflow: visible !important;
}

/* Ensure the section stays above the following section to prevent label overlap */
.hrms-preview-section {
    z-index: 50 !important;
    position: relative !important;
}