:root {
  --font-body: "Inter", sans-serif;
  --font-heading: "Playfair Display", serif;
  --color-primary: #1447e6;
  --color-dark: #030213;
  --color-text: #2f2f2f;
  --color-subheading: #101828;
  --color-muted: #4a5565;
  --color-heading: #101828;
  --color-border: #e5e7eb;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
}

.font-body {
  font-family: var(--font-body);
}

.font-heading {
  font-family: var(--font-heading);
}

/* ── Scrollbar for quote cards ── */
.testi-card-quote::-webkit-scrollbar {
  width: 4px;
}

.testi-card-quote::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 4px;
}

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
}

.mobile-nav.active {
  display: flex;
}

/* ── Hero title clamp ── */
.testi-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.testi-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.testi-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ── Card hover ── */
.testi-card {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.testi-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* ── Button hover ── */
.btn-outline-dark {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.btn-outline-dark:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* ── Nav link hover ── */
.header-nav a,
.mobile-nav a,
.footer-nav a,
.footer-social a,
.footer-legal-links a {
  transition:
    opacity 0.2s,
    color 0.2s;
}

.header-nav a:hover {
  opacity: 0.6;
}

.mobile-nav a:hover {
  opacity: 0.6;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social a:hover {
  color: #fff;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ── Form inputs ── */
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
}

.form-submit:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Footer bottom layout ── */
.footer-bottom {
  background: rgba(0, 0, 0, 0.6);
  padding: 48px max(24px, calc((100% - 1100px) / 2));
}

/* ── Testimonial stats layout ── */
.testi-stat-list {
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testi-stat-list::-webkit-scrollbar {
  display: none;
}

.testi-stat-item {
  flex: 1 1 0;
  min-width: 180px;
}

@media (min-width: 768px) {
  .testi-stat-item+.testi-stat-item {}
}

.testi-stat-list.is-scrollable {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.testi-stat-list.is-scrollable .testi-stat-item {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .testi-stat-list.is-scrollable .testi-stat-item {
    flex-basis: calc(100% / 3);
    max-width: calc(100% / 3);
  }
}

@media (min-width: 1024px) {
  .testi-stat-list.is-scrollable .testi-stat-item {
    flex-basis: 25%;
    max-width: 25%;
  }
}

@media (min-width: 1200px) {
  .testi-stat-list.is-scrollable .testi-stat-item {
    flex-basis: 20%;
    max-width: 20%;
  }
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
}

.affil-avatar {
  background: linear-gradient(145deg, var(--color-dark), var(--color-primary));
}

.faq-answer {
  display: none;
}

.faq-answer.open {
  display: block;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotated {
  transform: rotate(180deg);
}

.faq-card.active-blue {
  border-color: #3b82f6 !important;
}

.faq-card.active-green {
  border-color: #22c55e !important;
}

.faq-card.active-blue .faq-chevron {
  color: #3b82f6;
}

.faq-card.active-green .faq-chevron {
  color: #22c55e;
}

@media (max-width: 768px) {
  .mobile-tabs {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .mobile-content {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-tabs {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .mobile-content {
    display: none;
  }
}

.journey-card-img {
  transition: transform 0.5s ease;
}

.journey-card:hover .journey-card-img {
  transform: scale(1.08);
}

/* ── Newsletter subscribe button ── */
/* #newsletter-submit-btn {
  background-color: #fff;
  color: rgba(0, 0, 0, 0.7);
  border: 2px solid #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

#newsletter-submit-btn:hover {
  background-color: transparent;
  color: #fff;
} */

.newsletter-btn {
  background-color: #fff;
  color: rgba(0, 0, 0, 0.7);
  border: 2px solid #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: transparent;
  color: #fff;
}

.nav-desktop-link:hover {
  font-weight: 700;
}




/* revert old styles and use text-editor's style*/
.rich-content ol,
.rich-content ul {
  list-style: revert !important;
  margin: revert !important;
  padding: revert !important;
}

.rich-content li {
  list-style: revert !important;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
  font-size: revert !important;
  font-weight: revert !important;
  /* padding-bottom: 0.1rem; */
}