/* =========================================================
   Face Attendance Feature Landing Page - Premium Style
   Matching Map Tracking V2 Design Language
   Prefix: fa-
   ========================================================= */

/* ---- CSS Variables (Mirrored from Map Tracking) ---- */
:root {
  --fa-primary: #3a3285;
  --fa-primary-light: #5a52c0;
  --fa-primary-dark: #2a2465;
  --fa-accent: #e60c80;
  /* Crimson/Pink Accent */
  --fa-accent-2: #45c4a0;
  /* Teal */
  --fa-white: #ffffff;
  --fa-red: #e2626b;
  --fa-light-bg: #f8f9ff;
  --fa-light-bg2: #f0f2ff;
  --fa-text-dark: #1e2228;
  --fa-text-body: #60697b;
  --fa-border: rgba(58, 50, 133, 0.12);
  --fa-shadow-sm: 0 4px 16px rgba(58, 50, 133, 0.08);
  --fa-shadow-md: 0 8px 32px rgba(58, 50, 133, 0.12);
  --fa-shadow-lg: 0 16px 48px rgba(58, 50, 133, 0.16);
  --fa-radius: 14px;
  --fa-radius-lg: 20px;
  --fa-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Sections */
.fa-hero,
.fa-section,
.fa-preview,
.fa-cta-banner,
.fa-problem-solution,
.fa-features,
.fa-how-it-works,
.fa-security,
.fa-faq {
  overflow-x: hidden;
}

/* ---- Scroll Animation Base States ---- */
.fa-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fa-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fa-delay-1 {
  transition-delay: 0.1s;
}

.fa-delay-2 {
  transition-delay: 0.2s;
}

.fa-delay-3 {
  transition-delay: 0.3s;
}

.fa-delay-4 {
  transition-delay: 0.4s;
}

.fa-delay-5 {
  transition-delay: 0.5s;
}

.fa-delay-6 {
  transition-delay: 0.6s;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.fa-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;
}

.fa-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;
}

.fa-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;
}

.fa-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;
}

.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;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #05b7b7;
  border-radius: 50%;
  display: inline-block;
  animation: fa-pulse 1.6s infinite;
}

@keyframes fa-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 183, 183, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(5, 183, 183, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 183, 183, 0);
  }
}

.fa-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 24px;
}

.fa-hero-title .highlight {
  background: linear-gradient(90deg, #05b7b7, #e60c80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.fa-hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

/* Mockup Style */
.fa-hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.fa-hero-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--fa-radius-lg);
  backdrop-filter: blur(10px);
  padding: 16px;
  box-shadow: var(--fa-shadow-lg), 0 0 60px rgba(58, 50, 133, 0.4);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

/* App Install Buttons */
.fa-app-btn {
  display: inline-flex;
  align-items: center;
  transition: var(--fa-transition);
  /* border-radius: 12px; */
  overflow: hidden;
  height: 48px;
  /* Standardize height */
  text-decoration: none !important;
}

.fa-app-btn svg {
  height: 100%;
  width: auto;
  display: block;
}

.fa-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) {
  .fa-app-btn {
    width: 100%;
    justify-content: center;
  }

  .fa-hero {
    padding: 40px 0px;
  }

  .fa-section {
    padding: 20px 0 !important;
  }
}

@media (max-width:376px) {
  .face-apk-buttons {
    flex-wrap: wrap;
  }
}

.fa-mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.fa-mockup-topbar .fa-dot-r {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2626b;
  display: inline-block;
}

.fa-mockup-topbar .fa-dot-y {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fab758;
  display: inline-block;
}

.fa-mockup-topbar .fa-dot-g {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45c4a0;
  display: inline-block;
}

.fa-mockup-topbar .fa-mockup-title {
  flex: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.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;
}

/* ============================================================
   SECTION DEFAULTS
   ============================================================ */
.fa-section {
  padding: 35px 0;
}

.fa-section-alt {
  background: var(--fa-light-bg);
}

.fa-section-label {
  display: inline-block;
  background: var(--fa-light-bg2);
  color: var(--fa-primary);
  border: 1px solid var(--fa-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.fa-section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--fa-text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

/* ============================================================
   PROBLEM SOLUTION (TWO COLUMN)
   ============================================================ */
.fa-problem-solution .card {
  transition: var(--fa-transition);
}

.fa-problem-solution .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fa-shadow-md) !important;
}

.fa-problem-solution .solution-card {
  transition: var(--fa-transition);
}

.fa-problem-solution .solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(58, 50, 133, 0.3) !important;
}


/* ============================================================
   SECTION 4 — CAPABILITIES (Everything You Need)
   ============================================================ */
.fa-features-section {
  background: var(--fa-light-bg);
}

.fa-feature-card {
  background: #fff;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius);
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--fa-shadow-sm);
  transition: var(--fa-transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.fa-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(--fa-radius);
  pointer-events: none;
  opacity: 0;
  transition: var(--fa-transition);
}

.fa-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--fa-shadow-lg);
  border-color: rgba(58, 50, 133, 0.25);
}

.fa-feature-card:hover::after {
  opacity: 1;
}

.fa-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(--fa-primary);
  margin-bottom: 22px;
  transition: var(--fa-transition);
}

.fa-feature-card:hover .fa-feature-icon {
  background: linear-gradient(135deg, var(--fa-primary), #5a52c0);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
}

.fa-feature-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--fa-text-dark);
  margin-bottom: 10px;
}

.fa-feature-desc {
  font-size: 0.82rem;
  color: var(--fa-text-body);
  line-height: 1.72;
  margin-bottom: 0;
}

/* Buttons */
.fa-btn-primary {
  background: #fff;
  color: #3a3285;
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--fa-transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.fa-btn-primary:hover {
  background: #e60c80;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.4);
}

.fa-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--fa-transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.fa-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  color: #fff;
}

/* App Buttons */
.fa-app-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.fa-app-btn {
  display: inline-flex;
  align-items: center;
  transition: var(--fa-transition);
  overflow: hidden;
  height: 48px;
  text-decoration: none !important;
}

.fa-app-btn svg {
  height: 100%;
  width: auto;
  display: block;
}

.fa-app-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* Trust Area */
.fa-hero-trust {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.fa-trust-avatars {
  display: flex;
  align-items: center;
}

.fa-trust-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #3a3285;
  margin-left: -12px;
  object-fit: cover;
  transition: var(--fa-transition);
}

.fa-trust-avatars img:first-child {
  margin-left: 0;
}

.fa-trust-avatars img:hover {
  transform: translateY(-4px);
  z-index: 10;
}

.fa-trust-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.fa-trust-text strong {
  color: #fff;
  font-weight: 700;
}

.fa-trust-stars {
  color: #fab758;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.fa-preview-section {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 60%, #4c3ba8 100%);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.fa-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;
}

.reel-swiper {
  padding: 40px 0 60px;
}

.fa-youtube-reviews {
  background-color: #f8f9fa;
  overflow: hidden;
}
.swiper-pagination-bullet-active {
  background: #2a2465 !important;
}
.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 5 — HOW IT WORKS
   ============================================================ */
.fa-how-section {
  background: #fff;
  padding: 60px 0;
}

.fa-step-card {
  background: #fff;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius);
  padding: 30px 22px 20px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: var(--fa-shadow-sm);
  transition: var(--fa-transition);
  z-index: 1;
}

.fa-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fa-shadow-md);
  border-color: rgba(58, 50, 133, 0.22);
}

.fa-step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--fa-primary), var(--fa-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;
}

.fa-step-icon {
  font-size: 2.2rem;
  color: var(--fa-primary);
  display: block;
  transition: var(--fa-transition);
  margin-bottom: 10px;
}

.fa-step-card:hover .fa-step-icon {
  transform: scale(1.1);
}

.fa-step-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--fa-text-dark);
  margin-bottom: 10px;
}

.fa-step-desc {
  font-size: 0.8rem;
  color: var(--fa-text-body);
  line-height: 1.72;
  margin-bottom: 0;
}

/* ============================================================
   SECTION 6 — FAQ
   ============================================================ */
.fa-faq-section {
  background: var(--fa-light-bg);
}

.fa-faq-item {
  background: #fff;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius);
  margin-bottom: 12px;
  box-shadow: var(--fa-shadow-sm);
  overflow: hidden;
  transition: var(--fa-transition);
}

.fa-faq-item:hover {
  box-shadow: var(--fa-shadow-md);
  border-color: rgba(58, 50, 133, 0.22);
}

.fa-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(--fa-text-dark);
  cursor: pointer;
  transition: var(--fa-transition);
}

.fa-faq-btn:hover {
  color: var(--fa-primary);
}

.fa-faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--fa-light-bg2);
  color: var(--fa-primary);
  font-size: 1.1rem;
  transition: var(--fa-transition);
}

.fa-faq-btn:not(.collapsed) .fa-faq-chevron {
  background: var(--fa-primary);
  color: #fff;
  transform: rotate(180deg);
}

.fa-faq-btn.collapsed .fa-faq-chevron {
  transform: rotate(0deg);
}

.fa-faq-body {
  padding: 0 24px 22px;
  font-size: 0.85rem;
  color: var(--fa-text-body);
  line-height: 1.78;
  border-top: 1px solid var(--fa-border);
  padding-top: 16px;
}

.fa-section-subtitle {
  color: var(--fa-text-body);
  font-size: 0.92rem;
  line-height: 1.78;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
   SECTION — TESTIMONIALS  (Old static grid styles — COMMENTED OUT)
   Preserved below for reference. Active new styles use fat- prefix.
   ============================================================ */
.fa-testimonials {
  background: var(--fa-light-bg);
}
/*.fa-testimonials .testimonial-card {
  background: #fff;
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius);
  padding: 32px 28px;
  box-shadow: var(--fa-shadow-sm);
  transition: var(--fa-transition);
  position: relative;
}
.fa-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;
}
.fa-testimonials .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fa-shadow-md);
  border-color: rgba(58, 50, 133, 0.2);
}
.fa-testimonials .t-stars {
  color: #fab758;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.fa-testimonials .t-quote {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--fa-text-body);
  margin-bottom: 24px;
  font-style: italic;
}
.fa-testimonials .t-author { display: flex; align-items: center; gap: 14px; }
.fa-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;
}
.fa-testimonials .t-name { font-size: 0.85rem; font-weight: 700; color: var(--fa-text-dark); margin-bottom: 2px; }
.fa-testimonials .t-role { font-size: 0.72rem; color: var(--fa-text-body); }*/
.fa-testimonials .trust-bar { border-top: 1px solid var(--fa-border); padding-top: 35px; margin-top: 35px; text-align: center; }
.fa-testimonials .trust-bar .trust-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fa-text-body); margin-bottom: 24px; }
.fa-testimonials .trust-badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; align-items: center; }
.fa-testimonials .trust-badge { background: #fff; border: 1px solid var(--fa-border); border-radius: 10px; padding: 14px 24px; display: flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; color: var(--fa-text-dark); box-shadow: var(--fa-shadow-sm); transition: var(--fa-transition); }
.fa-testimonials .trust-badge:hover { transform: translateY(-2px); box-shadow: var(--fa-shadow-md); }
.fa-testimonials .trust-badge i { font-size: 1.2rem; color: var(--fa-primary); }
/* END OLD STYLES ============================================================ */

/* ============================================================
   SECTION — TESTIMONIALS MARQUEE  (NEW — Dual Infinite-Scroll)
   Prefix: fat- (Testimonials Animated)
   ============================================================ */

/* ---- Section ---- */
.fa-tm-section {
  background: linear-gradient(180deg, var(--fa-light-bg2) 0%, var(--fa-light-bg) 50%, #eef0fb 100%);
  padding: 80px 0 70px;
  overflow: hidden;
  position: relative;
}

/* Subtle decorative blobs */
.fa-tm-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 50, 133, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.fa-tm-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 12, 128, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Keyframes ---- */
@keyframes fa-tm-scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Marquee outer wrapper with left/right fade edges ---- */
.fa-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 ---- */
.fa-tm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* Single row — right to left (clockwise) */
.fa-tm-scroll-ltr {
  animation: fa-tm-scroll-ltr 38s linear infinite;
}

/* ---- Pause on hover ---- */
.fa-tm-wrap:hover .fa-tm-track {
  animation-play-state: paused;
}

/* ============================================================
   Individual Testimonial Card
   ============================================================ */
.fa-tm-card {
  flex-shrink: 0;
  width: 340px;
  /* perfectly fit approx 30 words / 200 characters */
  min-height: 326px;
  background: var(--fa-white);
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius-lg);
  padding: 28px 26px 11px;
  box-shadow: var(--fa-shadow-sm);
  transition: var(--fa-transition);
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  cursor: default;
}

/* Bottom gradient bar (primary) — revealed on hover */
.fa-tm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fa-primary) 0%, var(--fa-primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--fa-radius-lg) var(--fa-radius-lg) 0 0;
}

/* Hover state */
.fa-tm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--fa-shadow-lg);
  border-color: rgba(58, 50, 133, 0.2);
}

.fa-tm-card:hover::before {
  opacity: 1;
}

/* ---- Top row: quote icon ---- */
.fa-tm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* margin-bottom: 12px; */
}

.fa-tm-quote {
  font-size: 2.8rem;
  line-height: 0.5;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: var(--fa-primary);
  opacity: 0.15;
  margin-top: -8px;
  user-select: none;
  pointer-events: none;
}

/* ---- Review text ---- */
.fa-tm-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--fa-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 ---- */
.fa-tm-stars {
  color: #fab758;
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}

/* ---- Author row ---- */
.fa-tm-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 7px;
  border-top: 1px solid var(--fa-border);
  margin-top: auto;
}

/* ---- Avatar ---- */
.fa-tm-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--fa-border);
  box-shadow: 0 2px 8px rgba(58, 50, 133, 0.1);
  flex-shrink: 0;
}

.fa-tm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Name & designation ---- */
.fa-tm-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fa-tm-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fa-text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fa-tm-role {
  font-size: 0.72rem;
  color: var(--fa-text-body);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .fa-tm-card {
    width: 300px;
    min-height: 320px; /* Consistent height across breakpoints */
    padding: 24px 22px 20px;
  }

  .fa-tm-scroll-ltr { animation-duration: 32s; }
}

@media (max-width: 575px) {
  .fa-tm-section {
    padding: 50px 0 40px;
  }

  .fa-tm-card {
    width: 260px;
    min-height: 320px; /* Standardizing for mobile as well */
    padding: 20px 18px 22px;
  }

  .fa-tm-text {
    font-size: 0.82rem;
    -webkit-line-clamp: 4;
  }

  .fa-tm-track {
    gap: 16px;
  }

  .fa-tm-scroll-ltr { animation-duration: 25s; }
}
 
@media (max-width: 375px) {
  .fa-testimonials .trust-bar{
    padding-top: 25px;
    margin-top: 25px;
  }
}
/* ============================================================
   SECTION 9 — CTA BANNER
   ============================================================ */
.fa-cta-banner {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 50%, #5330a8 100%);
  position: relative;
  overflow: hidden;
}

.fa-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;
}

.fa-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;
}

.fa-cta-banner .cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.fa-cta-banner .cta-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.fa-cta-banner .btn-cta-primary {
  background: #fff;
  color: var(--fa-primary);
  border: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--fa-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fa-cta-banner .btn-cta-primary:hover {
  background: var(--fa-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.3);
}

.fa-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(--fa-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fa-cta-banner .btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.fa-security .trust-badge {
  background: #ffffff;
  border: 1px solid rgba(58, 50, 133, 0.08);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(58, 50, 133, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.fa-security .trust-badge:hover {
  transform: translateY(-5px);
  background: #ffffff;
  /* border-color: rgba(230, 12, 128, 0.2); */
  box-shadow: 0 20px 40px rgba(58, 50, 133, 0.12);
}

.fa-security .trust-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(58, 50, 133, 0.06);
  color: var(--fa-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.fa-security .trust-badge:hover .trust-icon-box {
  /* background: var(--fa-accent); */
  /* color: #ffffff; */
  transform: scale(1.1) rotate(8deg);
  /* box-shadow: 0 4px 15px rgba(230, 12, 128, 0.3); */
}

.fa-security .trust-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fa-text-dark);
  letter-spacing: -0.01em;
}

/* Mobile adjustments for trust badges */
@media (max-width: 575px) {
  .fa-security .trust-badge {
    padding: 15px 20px;
  }

  .fa-security .trust-text {
    font-size: 0.82rem;
  }
}

/* Google Rating Component */
.fa-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);
}

.fa-google-rating:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.fa-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);
}

.fa-rating-icon svg {
  width: 100%;
  height: 100%;
}

.fa-rating-content {
  display: flex;
  flex-direction: column;
}

.fa-rating-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  line-height: 1;
}

.fa-rating-stars-wrap {
  display: flex;
  /* align-items: center; */
  gap: 8px;
  margin-bottom: 2px;
}

.fa-rating-num {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.fa-stars-row {
  color: #fab758;
  font-size: 0.8rem;
  display: flex;
  gap: 1px;
}

.fa-rating-count {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

/* @media (max-width: 575px) {
  .fa-google-rating {
    width: 100%;
    justify-content: center;
  }
} */

/* ============================================================
   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, .fa-preview-section .container {
    overflow: visible !important;
}

/* Ensure the section stays above the following section to prevent label overlap */
.fa-preview-section {
    z-index: 50 !important;
    position: relative !important;
}