/* ==========================================================================
   PAGE: TESTIMONIALS (MVP n Beyond Theme Design System)
   ========================================================================== */

:root {
  --testi-primary: #3157f5;
  --testi-primary-dark: #1736b8;
  --testi-heading: #111827;
  --testi-body: #59647D;
  --testi-border: #e5e9f1;
  --testi-bg-light: #f8fafc;
  --testi-card-shadow: 0 9px 26px rgba(17, 36, 86, 0.06);
  --testi-card-shadow-hover: 0 18px 38px rgba(49, 87, 245, 0.12);
}

/* --- 1. HERO SECTION --- */
.testimonials-hero-section {
  position: relative;
  padding: 100px 0 65px;
  background: radial-gradient(circle at 50% 0%, rgba(49, 87, 245, 0.06) 0%, rgba(248, 250, 252, 0) 70%), #ffffff;
  border-bottom: 1px solid #e5e9f1;
}

.testimonials-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 320px;
  background: radial-gradient(circle, rgba(49, 87, 245, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Breadcrumb */
.testimonials-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
}

.testimonials-breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.testimonials-breadcrumb .breadcrumb-item a:hover {
  color: #3157f5;
}

.testimonials-breadcrumb .breadcrumb-item.active {
  color: #111827;
  font-weight: 600;
}

.testimonials-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #cbd5e1;
}

/* Eyebrow Badge */
.testimonials-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4ff;
  color: #3157f5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid #d9e3fe;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3157f5;
  box-shadow: 0 0 0 3px rgba(49, 87, 245, 0.2);
}

/* Hero Typography */
.testimonials-hero-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.testimonials-hero-title span {
  color: #3157f5;
}

.testimonials-hero-description {
  font-size: clamp(15.5px, 1.8vw, 17.5px);
  color: #59647D;
  line-height: 1.7;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Trust Metrics Bar */
.testimonials-trust-bar {
  padding: 16px 28px;
  background: #ffffff;
  border: 1px solid #e5e9f1;
  border-radius: 9999px;
  box-shadow: 0 6px 20px -3px rgba(17, 36, 86, 0.06);
  display: inline-flex;
  max-width: 100%;
}

.trust-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: #334155;
}

.trust-metric-stars {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #f59e0b !important;
}

.trust-metric-icon {
  font-size: 16px;
}

.trust-metric-text strong {
  color: #111827;
}

.trust-metric-divider {
  width: 1px;
  height: 28px;
  background: #e5e9f1;
}

/* --- 2. TRUSTED COMPANIES SECTION --- */
.trusted-section {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e5e9f1;
}

.trusted-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.trusted-text {
  flex: 0 0 auto;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.trusted-logos-viewport {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.trusted-logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: trustedMarquee 28s linear infinite;
}

.trusted-logos-track:hover {
  animation-play-state: paused;
}

.trusted-logo-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.company-logo {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.company-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes trustedMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 3. FOUNDER SPOTLIGHT SECTION --- */
.testimonials-spotlight-section {
  background: #ffffff;
  padding: 85px 0 60px;
}

.spotlight-card {
  background: linear-gradient(135deg, #091a48 0%, #061338 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 48px 42px;
  box-shadow: 0 16px 40px rgba(9, 26, 72, 0.16);
  border: 1px solid rgba(49, 87, 245, 0.24);
}

.spotlight-bg-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(49, 87, 245, 0.3) 0%, rgba(9, 26, 72, 0) 70%);
  pointer-events: none;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(49, 87, 245, 0.25);
  color: #93b5ff;
  border: 1px solid rgba(49, 87, 245, 0.4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.spotlight-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.8px;
}

.spotlight-quote p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15.5px;
  line-height: 1.7;
}

.spotlight-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3157f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.spotlight-author-name {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.spotlight-location-pill {
  font-size: 11px;
  font-weight: 600;
  color: #93b5ff;
  background: rgba(49, 87, 245, 0.2);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(49, 87, 245, 0.3);
}

.spotlight-author-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.spotlight-author-role strong {
  color: rgba(255, 255, 255, 0.95);
}

.spotlight-stats-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.spotlight-stats-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.spotlight-stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75) !important;
}

.spotlight-stats-panel .border-bottom {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* --- 4. TESTIMONIALS LISTING SECTION --- */
.testimonials-listing-section {
  background: #f8fafc;
  padding: 85px 0 95px;
}

.testimonials-section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-sub-badge {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3157f5;
}

.testimonials-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}

.testimonials-section-subtitle {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
}

/* Category Filter Pills */
.testimonials-filter-bar {
  margin-bottom: 36px;
}

.testi-filter-btn {
  background: #ffffff;
  border: 1px solid #e5e9f1;
  color: #4b5563;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.testi-filter-btn:hover {
  background: #f0f4ff;
  border-color: #d0dcff;
  color: #3157f5;
}

.testi-filter-btn.active {
  background: #3157f5;
  border-color: #3157f5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(49, 87, 245, 0.3);
}

/* Testimonial Cards */
.testimonial-page-card {
  background: #ffffff;
  border: 1px solid #e5e9f1;
  border-radius: 14px;
  padding: 32px 30px;
  box-shadow: 0 9px 26px rgba(17, 36, 86, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(49, 87, 245, 0.12);
  border-color: rgba(49, 87, 245, 0.28);
}

/* Stars */
.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

/* Verified Pill */
.testi-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

/* Tag Pill */
.testi-tag-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Quote Icon */
.testimonial-card-quote-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f4ff;
  color: #3157f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* Quote Body */
.testimonial-card-quote {
  margin: 18px 0 22px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.testimonial-card-quote p {
  margin-bottom: 0;
  color: #334155 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

/* Author Footer */
.testimonial-card-footer {
  border-top: 1px solid #f1f5f9;
}

.testimonial-avatar-wrap {
  width: 50px;
  height: 50px;
}

.testimonial-page-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e9f1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-author-name {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.2px;
}

.testimonial-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #3157f5;
  background: #f0f4ff;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #d9e3fe;
}

.testimonial-author-role {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

/* --- 5. WHY FOUNDERS TRUST US SECTION --- */
.testimonials-why-section {
  background: #ffffff;
  padding: 85px 0;
  border-top: 1px solid #e5e9f1;
}

.testimonials-why-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -1.2px;
}

.testimonials-why-title span {
  color: #3157f5;
}

.testimonials-why-subtitle {
  font-size: 15px;
  line-height: 1.7;
}

.why-trust-card {
  background: #f8fafc;
  border: 1px solid #e5e9f1;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-trust-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(49, 87, 245, 0.3);
  box-shadow: 0 12px 30px rgba(49, 87, 245, 0.1);
}

.why-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef2ff;
  color: #3157f5;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.why-trust-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 9999px;
}

.why-trust-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}

.why-trust-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
}

/* ==========================================================================
   6. FEATURED WORK SECTION (MATCHING SCREENSHOT 1)
   ========================================================================== */
.featured-work-section {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background: #ffffff;
  border-top: 1px solid #e5e9f1;
}

.featured-work-top {
  margin-bottom: 42px;
}

.featured-work-eyebrow {
  display: inline-block;
  margin-bottom: 11px;
  color: #3157f5;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.featured-work-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.featured-work-intro {
  max-width: 480px;
  margin: 0;
  color: #6B7280;
  font-size: 15px;
  line-height: 1.75;
}

.featured-work-button-wrap {
  display: flex;
  justify-content: flex-end;
}

.featured-work-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 22px;
  color: #ffffff;
  background: #314DDF;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.featured-work-main-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2443d4 0%, #1736b8 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(49, 87, 245, 0.3);
}

.featured-work-main-btn .fa-arrow-right {
  transition: transform 0.25s ease;
}

.featured-work-main-btn:hover .fa-arrow-right {
  transform: translateX(4px);
}

.featured-project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e9f1;
  border-radius: 12px;
  box-shadow: 0 9px 26px rgba(17, 36, 86, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(49, 87, 245, 0.28);
  box-shadow: 0 18px 38px rgba(49, 87, 245, 0.14);
}

.featured-project-image-wrap {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #edf1f5;
}

.featured-project-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.featured-project-card:hover .featured-project-image {
  transform: scale(1.035);
  filter: brightness(0.82);
}

.featured-project-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 27, 85, 0.05) 0%, rgba(8, 27, 85, 0.48) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.featured-project-card:hover .featured-project-overlay {
  opacity: 1;
}

.featured-project-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #3157f5;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  box-shadow: 0 9px 22px rgba(8, 27, 85, 0.28);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.featured-project-arrow i {
  transform: rotate(45deg);
}

.featured-project-card:hover .featured-project-arrow {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.featured-project-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 193px;
  padding: 24px 22px;
}

.featured-project-content h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.featured-project-content h3 a {
  color: #111827;
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 20px;
}

.featured-project-content h3 a:hover {
  color: #3157f5;
}

.featured-project-category {
  display: block;
  margin-bottom: 12px;
  color: #8891a2;
  font-size: 12px;
  font-weight: 500;
}

.featured-project-content p {
  margin: 0 0 20px;
  color: #59647D;
  font-size: 15px;
  line-height: 1.65;
}

.featured-project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #314DDF;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.featured-project-link:hover {
  color: #1736b8;
  gap: 11px;
}

/* ==========================================================================
   7. RESOURCE DOWNLOAD SECTION (MATCHING SCREENSHOT 4)
   ========================================================================== */
.resource-download-section {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background: #f8fafc;
  border-top: 1px solid #e5e9f1;
}

.resource-download-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #3157f5;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.resource-download-intro h2 {
  margin: 0;
  color: #111827;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
}

.resource-file-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 25px 23px;
  background: #ffffff;
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(17, 36, 86, 0.09);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.resource-file-card:hover {
  transform: translateY(-6px);
  border-color: rgba(49, 87, 245, 0.3);
  box-shadow: 0 18px 38px rgba(49, 87, 245, 0.14);
}

.resource-file-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.resource-file-icon {
  position: relative;
  flex: 0 0 45px;
  width: 45px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #111827;
  background: #ffffff;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  font-size: 24px;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.resource-file-card:hover .resource-file-icon {
  color: #3157f5;
  border-color: rgba(49, 87, 245, 0.35);
  background: #f4f6ff;
}

.resource-download-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #f04438;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 8px;
}

.resource-file-header h3 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.resource-file-header h3 a {
  color: #173abf;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.25s ease;
  font-size: 17px;
  font-weight: 700;
}

.resource-file-header h3 a:hover {
  color: #3157f5;
}

.resource-file-card > p {
  margin: 0 0 20px;
  color: #333333;
  font-size: 14px;
  line-height: 1.65;
}

.resource-file-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  margin-top: auto;
  padding: 8px 24px;
  color: #ffffff;
  background: #314DDF;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-file-btn:hover {
  color: #ffffff;
  background: #2343cf;
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(49, 87, 245, 0.3);
}

/* ==========================================================================
   8. COMMON QUESTIONS (FAQ) SECTION (MATCHING SCREENSHOT 3)
   ========================================================================== */
.faq-section {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  background: #ffffff;
  border-top: 1px solid #e5e9f1;
}

.faq-heading {
  margin: 0;
  color: #111827;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.faq-heading span {
  display: block;
  color: #314DDF;
}

.faq-heading-line {
  width: 105px;
  height: 2px;
  margin: 20px 0 22px;
  background: #314DDF;
  border-radius: 20px;
}

.faq-description {
  margin: 0 0 26px;
  color: #6B7280;
  font-size: 15px;
  line-height: 1.7;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 36px;
  color: #ffffff;
  background: #314DDF;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-contact-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2343d2 0%, #1736b8 100%);
  box-shadow: 0 14px 30px rgba(49, 87, 245, 0.3);
}

.faq-contact-btn .fa-arrow-right {
  transition: transform 0.25s ease;
}

.faq-contact-btn:hover .fa-arrow-right {
  transform: translateX(4px);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4e8f1 !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 18px rgba(17, 36, 86, 0.07);
}

.faq-item:not(:first-of-type) {
  border-top: 1px solid #e4e8f1 !important;
}

.faq-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 22px;
  color: #111827;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  border: 0;
  box-shadow: none !important;
}

.faq-button::after {
  display: none;
}

.faq-button:not(.collapsed) {
  color: #111827;
  background: #ffffff;
  box-shadow: none;
  font-size: 15px;
}

.faq-button:focus {
  border: 0;
  box-shadow: none;
}

.faq-button:not(.collapsed)::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: #edf0f5;
}

.faq-button:hover {
  color: #314DDF;
}

.faq-toggle-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: #c8cfdb;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-button:not(.collapsed) .faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-button:not(.collapsed) .faq-toggle-icon::before,
.faq-button:not(.collapsed) .faq-toggle-icon::after {
  background: #3157f5;
}

.faq-answer {
  padding: 10px 22px 22px;
  color: #6B7280;
  font-size: 14px;
  line-height: 1.7;
}

/* ==========================================================================
   9. FINAL CTA SECTION (MATCHING SCREENSHOT 2)
   ========================================================================== */
.final-cta-section {
  position: relative;
  overflow: hidden;
  padding: 50px 0 80px;
  background: #ffffff;
}

.final-cta-box {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 30px 72px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 15%, rgba(66, 92, 255, 0.23) 0%, transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(29, 69, 210, 0.2) 0%, transparent 34%),
    linear-gradient(120deg, #051344 0%, #071b62 52%, #091f73 100%);
  border-radius: 16px;
}

.final-cta-box::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(72, 98, 255, 0.19) 0%, transparent 68%);
  pointer-events: none;
}

.final-cta-box > * {
  position: relative;
  z-index: 2;
}

.final-cta-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 18px;
  color: #5f7cff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.final-cta-eyebrow span {
  width: 34px;
  height: 1px;
  background: rgba(95, 124, 255, 0.6);
}

.final-cta-box h2 {
  margin: 0 0 17px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.2px;
}

.final-cta-description {
  max-width: 650px;
  margin: 0 auto 31px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 28px;
}

.final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.final-cta-btn-light {
  color: #3157f5;
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 7, 42, 0.2);
}

.final-cta-btn-light:hover {
  color: #1736bd;
  background: #f2f5ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 7, 42, 0.28);
}

.final-cta-btn-outline {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.final-cta-btn-outline:hover {
  color: #071b62;
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.final-cta-btn .fa-arrow-right {
  transition: transform 0.25s ease;
}

.final-cta-btn:hover .fa-arrow-right {
  transform: translateX(4px);
}

.final-cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.final-cta-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.5;
}

.final-cta-check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #3157f5;
  background: #ffffff;
  border-radius: 50%;
  font-size: 9px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991.98px) {
  .testimonials-hero-section {
    padding: 70px 0 50px;
  }
  .spotlight-card {
    padding: 36px 28px;
  }
  .testimonials-listing-section,
  .testimonials-why-section,
  .resource-download-section,
  .faq-section {
    padding: 60px 0 70px;
  }
  .testimonial-page-card {
    padding: 26px 22px;
  }
  .featured-work-section {
    padding: 68px 0;
  }
  .featured-work-top {
    margin-bottom: 34px;
  }
  .featured-work-heading,
  .featured-work-intro {
    text-align: center;
    margin-inline: auto;
  }
  .featured-work-button-wrap {
    justify-content: center;
  }
  .featured-project-image-wrap {
    height: 210px;
  }
  .faq-intro {
    max-width: 100%;
    text-align: center;
  }
  .faq-heading-line {
    margin-inline: auto;
  }
  .faq-description {
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 24px;
  }
  .faq-button {
    min-height: 62px;
  }
  .resource-download-intro {
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 24px;
  }
  .final-cta-section {
    padding: 65px 0;
  }
  .final-cta-box {
    padding: 66px 28px 62px;
  }
}

@media (max-width: 767.98px) {
  .testimonials-trust-bar {
    border-radius: 16px;
    flex-direction: column;
    gap: 12px !important;
    padding: 16px 20px;
    width: 100%;
  }
  .spotlight-card {
    padding: 28px 20px;
  }
  .spotlight-title {
    font-size: 22px;
  }
  .featured-work-section {
    padding: 55px 0;
  }
  .featured-work-heading h2 {
    font-size: 30px;
  }
  .featured-work-main-btn {
    width: 100%;
    max-width: 260px;
  }
  .featured-project-image-wrap {
    height: 230px;
  }
  .featured-project-content {
    min-height: auto;
    padding: 22px 19px;
  }
  .final-cta-section {
    padding: 55px 0;
  }
  .final-cta-box {
    padding: 52px 22px 48px;
    border-radius: 14px;
  }
  .final-cta-box h2 {
    font-size: 28px;
  }
  .final-cta-actions {
    flex-direction: column;
  }
  .final-cta-btn {
    width: 100%;
    max-width: 320px;
  }
}