/* ResultFirst - AI SEO Services landing page
   Implemented from Figma to Bootstrap 5 */

:root {
  --rf-bg: #08132d;
  --rf-bg-alt: #0f1e57;
  --rf-accent: #d62e49;
  --rf-accent-dark: #b8253e;
  --rf-heading-muted: #5b6475;
  --rf-text: #e0e0e0;
  --rf-white: #ffffff;
  --rf-gradient-start: #f595d5;
  --rf-gradient-end: #211652;
  --rf-card-bg: rgba(8, 19, 45, 0.2);
  --rf-pill-bg: rgba(255, 255, 255, 0.03);
  --rf-border-soft: rgba(255, 255, 255, 0.12);
  --rf-container-width: 1310px;
}
html{overflow-x: hidden;}
body {
  background-color: var(--rf-bg);
  color: var(--rf-white);
  font-family: "Nunito", sans-serif;
 
}

a {
  text-decoration: none;
}


.text-muted-heading {
  color: var(--rf-heading-muted);
}

.text-rf {
  color: var(--rf-text);
}

.text-accent {
  color: var(--rf-accent) !important;
}

.bg-accent {
  background-color: var(--rf-accent) !important;
}

.fw-light {
  font-weight: 300 !important;
}

/* ---------- Buttons ---------- */

.btn-rf-primary {
  background-color: var(--rf-accent);
  border: 1px solid var(--rf-accent);
  color: var(--rf-white);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.9rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-rf-primary:hover {
  background-color: var(--rf-accent-dark);
  color: var(--rf-white);
  transform: translateY(-1px);
}

.btn-rf-primary .icon-circle {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-rf-outline {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rf-accent);
  color: var(--rf-white);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-rf-outline:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--rf-white);
}

.btn-rf-outline img,
.btn-rf-primary img {
  width: 100%;
  height: 100%;
}

/* ---------- Navbar ---------- */

.rf-navbar {
  padding-block: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(to bottom, rgba(8, 19, 45, 0.96), rgba(8, 19, 45, 0.85));
  backdrop-filter: blur(6px);
}

.rf-navbar .navbar-brand img {
  height: 60px;
}


@media (max-width: 420px) {
  .rf-navbar .navbar-brand img {
    height: 30px;
  }

  .btn-rf-outline {
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    gap: 6px;
  }

  .btn-rf-outline .icon-circle {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Hero ---------- */

.rf-hero {
  position: relative;
  padding-block: 3rem 5rem;
  overflow: hidden;
}
/* 
.rf-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: linear-gradient(135deg, var(--rf-gradient-start), var(--rf-gradient-end));
  transform: rotate(18deg);
  opacity: 0.4;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
} */

.rf-hero > .container {
  position: relative;
  z-index: 1;
}

.rf-tag-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 8px 30px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.rf-hero-title {
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.375rem);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.rf-hero-rotator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 4.0625rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.rf-hero-rotator .rotator-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.rf-hero-rotator .rotator-word {
  color: var(--rf-accent);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease;
}

.rf-hero-desc {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--rf-white);
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
  max-width: 540px;
  margin-bottom: 1.75rem;
}

.rf-hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rf-hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.125rem;
  color: #f3f3f3;
}

.rf-hero-checklist img {
  width: 16px;
  height: 16px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Hero form card */

.rf-hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rf-white);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
}

.rf-hero-card h3 {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.rf-hero-card > p {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--rf-text);
  margin-bottom: 1.75rem;
}

.rf-hero-card .form-control {
  height: 60px;
  border-radius: 12px;
  border: 1px solid #e3dfdc;
  color: #393636;
  font-size: 1.125rem;
  padding-inline: 1.5rem;
}

.rf-hero-card .form-control::placeholder {
  color: #393636;
}

.rf-hero-card .btn-rf-primary {
  width: 100%;
  font-size: 1.25rem;
  padding-block: 1rem;
}

/* ---------- Logo marquee ---------- */

.rf-marquee-section {
  padding-block: 1rem 3rem;
  overflow: hidden;
}

.rf-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.rf-marquee-track {
  display: flex;
  align-items: center;
  gap: 62px;
  flex-shrink: 0;
  padding-inline: 31px;
}

.rf-marquee-track.rf-marquee-left {
  animation: rf-marquee-scroll-left 32s linear infinite;
}

.rf-marquee-track.rf-marquee-right {
  animation: rf-marquee-scroll-right 32s linear infinite;
}

.rf-marquee-track img {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0) invert(1);
}

@keyframes rf-marquee-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes rf-marquee-scroll-right {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ---------- Section shared ---------- */

.rf-section {
  padding-block: 5rem;
}

.rf-stats-section,
.rf-compare-section {
  position: relative;
  overflow: hidden;
}

.rf-stats-section > .container,
.rf-compare-section > .container {
  position: relative;
  z-index: 1;
}

.rf-stats-bg,
.rf-compare-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;

}

.rf-stats-bg::before,
.rf-compare-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f595d5, #211652);
  -webkit-mask-image: url("../assets/img/bg/wave-mesh-mask.webp");
  mask-image: url("../assets/img/bg/wave-mesh-mask.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.rf-stats-bg {
  top: -12%;
  right: -14%;
  width: 44%;
  aspect-ratio: 897 / 973;
  transform: rotate(71.38deg);
}

.rf-stats-bg::before {
  opacity: 0.8;
  -webkit-mask-size: 106% 121%;
  mask-size: 106% 121%;
  -webkit-mask-position: -3% -11%;
  mask-position: -3% -11%;
}

.rf-compare-bg {
  top: -3%;
  left: -34%;
  width: 68%;
  aspect-ratio: 982 / 834;
}

.rf-compare-bg::before {
  opacity: 0.45;
  -webkit-mask-size: 80% 100%;
  mask-size: 80% 100%;
  -webkit-mask-position: 10% 0%;
  mask-position: 10% 0%;
}

.rf-glow-section {
  position: relative;
  overflow: hidden;
}
#top{scroll-margin-top: 100px;}
.rf-compare-section::before{
    content: '';
    position: absolute;
    background: url(../assets/img/tradirtional-SEO-bg.webp) no-repeat;
    width: 35%;
    height: 100%;
    top: -2%;
}
.rf-faq{position: relative;}
.rf-faq::before{
     content: '';
    position: absolute;
    background: url(../assets/img/FAQ-bg.webp) no-repeat;
    width: 40%;
    height: 100%;
      top: 13%;
}
.rf-glow-section > .container {
  position: relative;
  z-index: 1;
}
#brand::before{
  content: '';
  position: absolute;
  background: url(../assets/img/case-stuy-dtted-bg.webp) no-repeat;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: cover;
}
.rf-glow {
  position: absolute;
  width: 43%;
  height: 90%;
  border-radius: 50%;
  background: linear-gradient(180deg, #d62e49, #211652);
  opacity: 0.2;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.rf-glow--left {
  top: 0;
  left: -14%;
  transform: translateY(26%);
}

.rf-section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3.125rem);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.25rem;
}

.rf-section-subtitle {
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--rf-text);
  text-align: center;
  max-width: 850px;
  margin-inline: auto;
  margin-bottom: 0;
}

/* ---------- Buyers stats ---------- */

.rf-stat-row {
  margin-top: 4rem;
}

.rf-stat {
  text-align: center;
  padding-inline: 1rem;
}

.rf-stat .rf-stat-number {
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 5.625rem);
  color: var(--rf-accent);
  text-transform: uppercase;
  line-height: 0.8;
}

.rf-stat .rf-stat-number sup {
  font-size: 0.5em;
  color: var(--rf-text);
  top: -1.5em;
}

.rf-stat-label {
  font-weight: 500;
  font-size: 1.375rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.rf-stat-desc {
  font-weight: 300;
  font-size: 1.125rem;
  color: var(--rf-text);
}

.rf-stat-divider {
  position: relative;
}

.rf-stat-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.28) 20%,
    rgba(255, 255, 255, 0.28) 80%,
    transparent
  );
}
.plus{
      color: #fff;
    font-size: 60px;
    position: relative;
    top: -31px;
    left: -18px;
    letter-spacing: -30px;
}
/* ---------- Traditional vs AI SEO ---------- */

.rf-compare-headers {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.rf-stats-section:after{
    content: '';
    position: absolute;
    background: url(../assets/img/stat-bg.webp) no-repeat;
    right: -30px;
    height: 100%;
    width: 35%;
    top: 0%;
    background-position: 100% 100%
}
.rf-stats-section:before{
content: '';
  position: absolute;
  left: 0;
  opacity: 0.2;
  background: linear-gradient(180deg, rgba(214, 46, 73, 0.80) 0%, rgba(33, 22, 82, 0.80) 100%);
  filter: blur(107px);
  top: 0;
  width: 20%;
  height: 100%;
}
@media (min-width: 992px) {
  /* Figma's pill row is inset 6.447% from the left but flush right */
  .rf-compare-headers {
    margin-left: 6.447%;
  }
}

.rf-compare-pill {
  flex: 1;
  text-align: center;
  border-radius: 18px;
  padding: 1.1rem 1rem;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  max-width: 306px;
}

.rf-compare-pill.traditional {
  background-color: var(--rf-bg-alt);
}

.rf-compare-pill.ai {
  background-color: var(--rf-accent);
}

.rf-compare-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rf-compare-tabs .rf-compare-pill {
  font-family: inherit;
  border: none;
  cursor: pointer;
  color: var(--rf-white);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.rf-compare-tabs .rf-compare-pill.active {
  opacity: 1;
}

.rf-compare-body {
  display: flex;
  align-items: center;
  gap: 4%;
}

.rf-compare-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.rf-compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Exact per-row insets from Figma (node 110:2392): icons trace the brain
   illustration's silhouette rather than sitting at a uniform distance. */
.rf-compare-col-left .rf-compare-row:nth-child(1) {
  margin-right: 0%;
}
.rf-compare-col-left .rf-compare-row:nth-child(2) {
  margin-right: 15.89%;
}
.rf-compare-col-left .rf-compare-row:nth-child(3) {
  margin-right: 7.94%;
}
.rf-compare-col-left .rf-compare-row:nth-child(4) {
  margin-right: 15.89%;
}
.rf-compare-col-left .rf-compare-row:nth-child(5) {
  margin-right: 0%;
}

.rf-compare-col-right .rf-compare-row:nth-child(1) {
  margin-left: 16%;
}
.rf-compare-col-right .rf-compare-row:nth-child(2) {
  margin-left: 0%;
}
.rf-compare-col-right .rf-compare-row:nth-child(3) {
  margin-left: 8%;
}
.rf-compare-col-right .rf-compare-row:nth-child(4) {
  margin-left: 0%;
}
.rf-compare-col-right .rf-compare-row:nth-child(5) {
  margin-left: 16%;
}

.rf-compare-text {
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--rf-text);
  max-width: 230px;
}

.rf-compare-col-left .rf-compare-row {
  justify-content: flex-end;
}

.rf-compare-col-left .rf-compare-text {
  text-align: right;
  margin-left: auto;
}

.rf-compare-col-right .rf-compare-text {
  text-align: left;
  margin-right: auto;
}

.rf-compare-line {
  flex: 1 1 auto;
  min-width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.rf-compare-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rf-compare-icon img {
  width: 100%;
  height: 100%;
  max-width: 35px;
  max-height: 35px;
  object-fit: contain;
}

.rf-compare-brain-wrap {
  position: relative;
  flex: 1.02;
  max-width: 340px;
  aspect-ratio: 385.913 / 380.617;
  margin-block: 1.5rem;
}

.rf-compare-brain-arc {
  position: absolute;
  top: 0;
  height: 100%;
  width: 33.086%;
  opacity: 0.6;
}

.rf-compare-brain-arc--left {
  left: 0;
}

.rf-compare-brain-arc--right {
  right: 0;
  transform: scaleX(-1);
}

.rf-compare-brain-img {
  position: absolute;
  left: 4.735%;
  top: 1.556%;
  width: 90.529%;
  height: 96.889%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.55));
}

/* ---------- Traditional vs AI SEO: pixel-exact desktop layout ----------
   Every position below is derived directly from Figma node 110:2392
   (1238.7266 x 386.375 source box), converted to percentages so the
   layout stays exact while scaling with the container. */

.rf-compare-exact {
  position: relative;
  width: 100%;
  aspect-ratio: 1238.7266 / 386.375;
  margin-top: 2.5rem;
  container-type: inline-size;
}

.rf-ce-icon {
  position: absolute;
  width: 4.44%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rf-ce-icon img {
  width: 100%;
  height: 100%;
}

.rf-ce-line {
  position: absolute;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
}

.rf-ce-text {
  position: absolute;
  transform: translateY(-50%);
  white-space: nowrap;
  font-weight: 300;
  font-size: clamp(0.8rem, 1.6146cqw, 1.25rem);
  line-height: 1.15;
  color: var(--rf-text);
}

.rf-ce-text--left {
  text-align: right;
}

.rf-ce-text--right {
  text-align: left;
}

/* .rf-ce-text relies on translateY(-50%) for its exact vertical centering;
   override AOS's own transform so the slide-in animation doesn't clobber it. */
.rf-ce-text[data-aos="fade-right"] {
  transform: translateY(-50%) translateX(-60px);
}

.rf-ce-text[data-aos="fade-left"] {
  transform: translateY(-50%) translateX(60px);
}

.rf-ce-text[data-aos="fade-right"].aos-animate,
.rf-ce-text[data-aos="fade-left"].aos-animate {
  transform: translateY(-50%) translateX(0);
}

/* Row vertical centers (rowTop% + halfIconHeight%) — shared by both sides */
.rf-ce-row-1 {
  top: 7.118%;
}
.rf-ce-row-2 {
  top: 28.558%;
}
.rf-ce-row-3 {
  top: 49.998%;
}
.rf-ce-row-4 {
  top: 71.438%;
}
.rf-ce-row-5 {
  top: 92.878%;
}

/* Left column icons */
.rf-ce-icon--left.rf-ce-row-1,
.rf-ce-icon--left.rf-ce-row-5 {
  left: 26.058%;
}
.rf-ce-icon--left.rf-ce-row-2,
.rf-ce-icon--left.rf-ce-row-4 {
  left: 21.212%;
}
.rf-ce-icon--left.rf-ce-row-3 {
  left: 23.634%;
}

/* Left column lines */
.rf-ce-line--left.rf-ce-row-1 {
  left: 30.593%;
  width: 10.615%;
}
.rf-ce-line--left.rf-ce-row-2 {
  left: 25.789%;
  width: 10.531%;
}
.rf-ce-line--left.rf-ce-row-3 {
  left: 28.209%;
  width: 6.57%;
}
.rf-ce-line--left.rf-ce-row-4 {
  left: 25.789%;
  width: 10.354%;
}
.rf-ce-line--left.rf-ce-row-5 {
  left: 30.593%;
  width: 10.602%;
}

/* Left column text (right-aligned, ends where its row's line begins) */
.rf-ce-text--left.rf-ce-row-1,
.rf-ce-text--left.rf-ce-row-5 {
  right: 75.314%;
}
.rf-ce-text--left.rf-ce-row-2,
.rf-ce-text--left.rf-ce-row-4 {
  right: 80.16%;
}
.rf-ce-text--left.rf-ce-row-3 {
  right: 77.738%;
}

/* Right column icons */
.rf-ce-icon--right.rf-ce-row-1,
.rf-ce-icon--right.rf-ce-row-5 {
  left: 74.566%;
}
.rf-ce-icon--right.rf-ce-row-2,
.rf-ce-icon--right.rf-ce-row-4 {
  left: 69.718%;
}
.rf-ce-icon--right.rf-ce-row-3 {
  left: 72.144%;
}

/* Right column lines */
.rf-ce-line--right.rf-ce-row-1 {
  left: 59.354%;
  width: 15.323%;
}
.rf-ce-line--right.rf-ce-row-2 {
  left: 63.826%;
  width: 6.103%;
}
.rf-ce-line--right.rf-ce-row-3 {
  left: 65.568%;
  width: 6.685%;
}
.rf-ce-line--right.rf-ce-row-4 {
  left: 64.335%;
  width: 5.497%;
}
.rf-ce-line--right.rf-ce-row-5 {
  left: 59.418%;
  width: 15.264%;
}

/* Right column text (left-aligned, starts where its row's icon ends) */
.rf-ce-text--right.rf-ce-row-1,
.rf-ce-text--right.rf-ce-row-5 {
  left: 80.378%;
}
.rf-ce-text--right.rf-ce-row-2,
.rf-ce-text--right.rf-ce-row-4 {
  left: 75.53%;
}
.rf-ce-text--right.rf-ce-row-3 {
  left: 77.956%;
}

.rf-ce-brain {
  position: absolute;
  left: 34.532%;
  top: 0.745%;
  width: 31.152%;
  aspect-ratio: 385.913 / 380.617;
}

/* The ring is not a circle — it's two crescent "Intersect" arcs (a lens/
   vesica shape) that hug the brain illustration's actual silhouette,
   taken directly from Figma's exported assets. */
.rf-ce-brain-arc {
  position: absolute;
  top: 0;
  height: 100%;
  width: 33.086%;
  opacity: 0.9;
}

.rf-ce-brain-arc--left {
  left: 0;
}

.rf-ce-brain-arc--right {
  right: 0;
  transform: scaleX(-1);
}

.rf-ce-brain-photo {
  position: absolute;
  left: 4.735%;
  top: 1.556%;
  width: 90.529%;
  height: 96.889%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.55));
}

/* ---------- How AI SEO works ---------- */

.rf-stack {
  position: relative;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .rf-stack {
    height: 600px;
  }

  .rf-stack .rf-step-card {
    position: absolute;
    inset: 0;
    width: 100%;
    /* The card's default background (--rf-card-bg) is only ~20% opaque,
       which is fine when a single tab-pane is shown at a time. Here all
       6 cards sit stacked on top of each other, so each one needs a
       fully opaque backing or the card underneath bleeds through. */
    background-color: var(--rf-bg);
  }

  .rf-stack .card1 {
    z-index: 6;
  }
  .rf-stack .card2 {
    z-index: 5;
  }
  .rf-stack .card3 {
    z-index: 4;
  }
  .rf-stack .card4 {
    z-index: 3;
  }
  .rf-stack .card5 {
    z-index: 2;
  }
  .rf-stack .card6 {
    z-index: 1;
  }
}

@media (max-width: 991.98px) {
  .rf-stack .rf-step-card {
    margin-bottom: 2rem;
  }

  .rf-stack .rf-step-card:last-child {
    margin-bottom: 0;
  }
}

.rf-step-card {
  position: relative;
  background: var(--rf-card-bg);
  border: 0.5px solid var(--rf-white);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.rf-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--rf-gradient-start), var(--rf-gradient-end));
  opacity: 0.25;
  -webkit-mask-image: radial-gradient(circle at 85% 20%, black, transparent 60%);
  mask-image: radial-gradient(circle at 85% 20%, black, transparent 60%);
}

.rf-step-card .rf-step-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  /* opacity: 0.18; */
}

.rf-step-ghost-number {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: clamp(6rem, 16vw, 14.375rem);
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.rf-step-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.rf-step-content h3 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 1.4rem;
}

.rf-step-content p.rf-step-desc {
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--rf-text);
  margin-bottom: 1.75rem;
}

.rf-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.rf-step-tag {
  background: var(--rf-pill-bg);
  border: 0.5px solid var(--rf-white);
  border-radius: 138px;
  padding: 0.7rem 1.4rem;
  font-weight: 300;
  font-size: 1.125rem;
  white-space: nowrap;
}

/* ---------- Testimonials ---------- */

.rf-testimonial-card {
  position: relative;
  padding: 2rem 0;
  min-height: 490px;
}

.rf-testimonial-stat {
  font-weight: 700;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  color: var(--rf-accent);
  line-height: 1;
  margin-bottom: 1.75rem;
}

.rf-testimonial-desc {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2.5rem;

}

.rf-testimonial-logo {
  display: block;
  height: 70.326px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 1.75rem;
}

.rf-testimonial-shot {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* The SVG asset already contains its own circle + chevron (43.525px,
   thin white stroke) — the button is just a plain, unstyled hit target.
   Positioned absolutely, vertically centered against the whole card
   (Figma places these beside the card, not below it). */
.rf-testimonial-slider {
     position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px 80px;
    border-radius: 30px;
}

.rf-testimonial-slider .rf-testimonial-card {
  outline: none;
}

.rf-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 43.525px;
  height: 43.525px;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.rf-carousel-arrow--prev {
  left: 15px;
}

.rf-carousel-arrow--next {
  right: 15px;
}

@media (max-width: 991.98px) {
  /* Below lg the two columns stack, so a vertically-centered arrow would
     land on top of either the text or the image. Rely on dots + swipe. */
  .rf-carousel-arrow {
    display: none;
  }
}

/* Between lg and ~1410px the container only has 20px of side padding, so a
   -70px offset pushes the arrows off-canvas entirely. Inset them onto the
   card edge instead until there's enough surrounding margin to float them. */


.rf-carousel-arrow img {
  width: 100%;
  height: 100%;
}

/* Figma's left/right arrow assets are the same right-pointing glyph;
   the "previous" button mirrors it, matching the source's own transform. */
.rf-carousel-arrow--prev img {
  transform: scaleX(-1);
}

.rf-testimonial-slider .slick-dots {
    position: absolute;
    display: flex !important;
    align-items: center;
    list-style: none;
    left: auto;
    top: auto;
    margin: 0;
    padding: 0;
    right: 20%;
    bottom: 78px;
}

.rf-testimonial-slider .slick-dots li {
  width: 14px;
  height: 14px;
  margin: 0 7px;
}

.rf-testimonial-slider .slick-dots li button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  cursor: pointer;
}

.rf-testimonial-slider .slick-dots li.slick-active button {
  background-color: var(--rf-accent);
}

/* ---------- Secondary stats row ---------- */

.rf-stat2 {
  text-align: center;
}

.rf-stat2 .rf-stat2-number {
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--rf-white);
  line-height: 1;
}

.rf-stat2 .rf-stat2-label {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--rf-heading-muted);
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ---------- FAQ ---------- */

.rf-faq-accordion .accordion-item {
  background: var(--rf-pill-bg);
  border: 0.5px solid var(--rf-white);
  border-radius: 18px !important;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.rf-faq-accordion .accordion-button {
  background: transparent;
  color: var(--rf-text);
  font-weight: 300;
  font-size: 1.25rem;
  box-shadow: none;
  padding: 1.6rem 1.4rem;
  gap: 1rem;
  min-height: 99px;
}

.rf-faq-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--rf-white);
  box-shadow: none;
}

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

/* Custom plus/minus toggle (Bootstrap's default chevron replaced). The
   horizontal bar is always visible; the vertical bar collapses to a
   minus sign when the panel is expanded. */
.rf-faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.rf-faq-icon::before,
.rf-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--rf-white);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.rf-faq-icon::before {
  width: 18px;
  height: 2px;
}

.rf-faq-icon::after {
  width: 2px;
  height: 18px;
}

.rf-faq-accordion .accordion-button:not(.collapsed) .rf-faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.rf-faq-accordion .accordion-body {
  color: var(--rf-text);
  font-weight: 300;
  font-size: 1.05rem;
  padding: 0 1.4rem 1.6rem;
}

@media (min-width: 992px) {
  .rf-faq-accordion.row {
    --bs-gutter-x: 4.5rem;
  }
}

/* ---------- CTA ---------- */

.rf-cta {
  text-align: center;
}

.rf-cta h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.125rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.rf-cta p {
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--rf-text);
  margin-bottom: 2.375rem;
}

/* ---------- Thank you page ---------- */

.rf-ty-section {
  padding-block: 6rem;
}

.rf-ty-card {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.rf-ty-title {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.rf-ty-desc {
  font-size: 1.125rem;
  color: var(--rf-text);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.rf-ty-status {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--rf-heading-muted);
  margin-bottom: 2.5rem;
}

.rf-ty-status-arrow {
  color: var(--rf-accent);
  margin-inline: 0.35em;
}

.rf-ty-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .rf-ty-actions {
    flex-direction: column;
  }
}

/* ---------- Footer ---------- */

.rf-footer {
  padding-block: 4rem 2rem;
position: relative;
}
.rf-footer::before{
    content: '';
    position: absolute;
    background: url(../assets/img/Fotter-bg-dotted.webp) no-repeat;
    width: 100%;
    height: 184%;
    top: -81%;
}
.rf-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 3rem 0;
}

.rf-footer-col {
  flex: 1 1 0;
  
}

.rf-footer-col:first-child p {
  max-width: 290px;

}

.rf-footer h4 {
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.rf-footer p {
  font-weight: 300;
  color: var(--rf-text);
  font-size: 1.125rem;
}

.rf-footer-logo {
  height: 70px;
  margin-top: -12px;
}

.rf-social-icons {
  display: flex;
  align-items: center;

  gap: 1.25rem;
}

.rf-social-icons a {
  display: flex;
  transition: opacity 0.2s ease;
}

.rf-social-icons a:hover {
  opacity: 0.7;
}

.rf-social-icons img {
  height: 32px;
}

.rf-contact-group {
 max-width: 200px;
    margin-left: auto;
}

.rf-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.rf-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.125rem;
}

.rf-contact-list img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.rf-contact-list a {
  color: inherit;
  transition: color 0.2s ease;
}

.rf-contact-list a:hover {
  color: var(--rf-accent);
}

.footer-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.rf-copyright {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 1rem;
  color: var(--rf-text);
}
.rf-ce-icon{
  border: 1px solid #fff;
    width: 50px;
    height: 50px;
    padding: 10px;
}
/* ---------- Responsive ---------- */

@media(max-width:1280px){
.rf-testimonial-stat{font-size: clamp(3.5rem, 6vw, 7.5rem);}
.rf-section-title{    font-size: clamp(1.6rem, 4vw, 2.5rem);}
.rf-hero{    padding-block: 1rem 5rem;}
.rf-hero-title{    font-size: clamp(2.4rem, 4vw, 4.375rem);}
.rf-hero-rotator{    font-size: clamp(2rem, 3.5vw, 4.0625rem);}
}
@media (max-width: 1024px) {
   .rf-stat2 .rf-stat2-number{    font-size: clamp(2.25rem, 4vw, 3.5rem);}
}

@media (max-width: 991.98px) {
  .rf-compare-pill {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
    font-size: 1.1rem;
    padding-inline: 0.5rem;
  }

  .rf-footer-row {
    flex-direction: column;
  }

  .rf-footer-col {
    min-width: 0;
  }

  .footer-middle {
    align-items: center;
    text-align: center;
  }

  /* Mobile order: logo, then Follow Us / social, then Get In Touch, then copyright last */
  .rf-footer-row > .rf-footer-col:nth-child(1) {
    order: 2;
    text-align: center;
  }

  .rf-footer-row > .rf-footer-col:nth-child(2) {
    order: 1;
  }

  .rf-footer-row > .rf-footer-col:nth-child(3) {
    order: 3;
    text-align: center;
  }

  .rf-copyright-mobile {
    order: 4;
    width: 100%;
    margin-top: 0.5rem;
  }

  .rf-footer-col:nth-child(1) .rf-social-icons {
    justify-content: center;
  }

  .rf-contact-group {
       text-align: left;
   
  }

  .rf-contact-list {
    align-items: center;
  }

  .rf-hero-card {
    margin-top: 3rem;
  }

  .rf-compare-body {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .rf-compare-col-left .rf-compare-row {
    justify-content: flex-start;
  }

  .rf-compare-col-left .rf-compare-row,
  .rf-compare-col-right .rf-compare-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .rf-compare-col-left .rf-compare-text,
  .rf-compare-col-right .rf-compare-text {
    text-align: left;
    max-width: none;
    margin: 0;
  }

  .rf-compare-brain-wrap {
    width: 220px;
    margin-inline: auto;
  }

  .rf-compare-col-left,
  .rf-compare-col-right {
    display: none;
  }

  .rf-compare-col-left.show,
  .rf-compare-col-right.show {
    display: flex;
  }

  .rf-compare-line {
    display: none;
  }

  /* .rf-stat-divider::before {
    left: 10%;
    right: 10%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.28) 20%,
      rgba(255, 255, 255, 0.28) 80%,
      transparent
    );
  } */

  /* .rf-stat-divider {
    padding-top: 2rem;
    margin-top: 2rem;
  } */

  .rf-step-card {
    padding: 2.5rem 1.5rem;
    min-height: unset;
  }
  .rf-hero-card{padding: 20px;}
  .rf-stats-section:after{width: 50%;}
  .rf-stat-divider{margin-top: 0px;}
  .plus{    top: 0;
    left: 0;}
  .rf-stat2 .rf-stat2-label{font-size: 16px;}  
  .rf-stat2 .rf-stat2-number{font-size: 30px;}
  .rf-footer{padding-bottom: 0px;}
  .rf-testimonial-slider .slick-dots{bottom: 100px;}
  .rf-testimonial-slider + .row{margin-top: 0px!important;padding-top: 0px!important;}
  #brand{padding-bottom: 0px;}
  #contact{padding: 0px 0 30px;}
  .rf-stats-section{padding-bottom: 0px;}
  .rf-compare-section::before{width: 100%;}
  .rf-marquee-section{padding-top: 0px;}
  .rf-compare-section + .rf-section{padding-top: 0px;}
  .rf-testimonial-slider {margin-top: 0px!important;}
  #brand{padding-top: 0px;}
}

/* Tablet only: logo keeps its own full-width line, but Follow Us and
   Get In Touch sit side by side, equal width, instead of stacking full-width. */
@media (min-width: 576px) and (max-width: 991.98px) {
  .rf-footer-row {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 2rem;
  }

  .rf-footer-row > .rf-footer-col:nth-child(2) {
    flex: 1 1 100%;
  }

  .rf-footer-row > .rf-footer-col:nth-child(1),
  .rf-footer-row > .rf-footer-col:nth-child(3) {
    flex: 1 1 0;
  }

  .rf-copyright-mobile {
    flex: 1 1 100%;
  }
}

@media (max-width: 767.98px) {
  .rf-section {
    padding-block: 3rem;
  }
}

@media(max-width:576px){
  body{overflow-x: hidden;}
  .rf-compare-pill{font-size: 16px;}
  .rf-navbar .navbar-brand img {
    height: 40px;
}
    .rf-hero-card {
        margin-top: 0rem;
    }
    .rf-hero-card{padding:  20px;}
    .rf-stats-section:after{width: 100%;}
    .rf-compare-section::before{width: 100%;}
    .rf-hero{text-align: center;}
    .rf-hero ul li{text-align: left;}
    .rf-hero-rotator{    justify-content: center;
    min-width: 300px;}
    .rf-compare-col-left .rf-compare-row {
        justify-content: flex-end;
        flex-direction: row-reverse;
    }
    .rf-compare-col{gap: 10px;}
    .rf-hero{
          padding-block: 3rem 3rem;
    }
    .rf-section-title  br{display:none;}
    .plus {
    color: #fff;
    font-size: 60px;
    position: relative;
    top: 0;
    left: 0;
    letter-spacing: -30px;
}
.rf-compare-section{padding-top: 0px;padding-bottom: 0px;}
.rf-compare-body{        gap: 20px;}
.rf-compare-pill{padding: 10px;}
.rf-testimonial-desc{margin-bottom: 0px;}
.rf-testimonial-card {text-align: center;}
.rf-testimonial-logo{margin: 0 auto 20px;}
.rf-testimonial-slider{margin-top: 0px!important;padding-bottom: 40px;}
.rf-testimonial-slider  + .row{margin-top: 0px!important;}
.rf-faq{padding-top: 0px!important;}
#contact{padding: 0px!important;}
.rf-footer-row{    gap: 30px;}
.rf-footer{padding-bottom: 0px;}
.rf-copyright-mobile{padding-top: 0px;margin-top: 0px;}
.rf-footer-col:first-child p{max-width: 100%;}
.rf-section-subtitle{font-size: 18px;}
.rf-marquee-section{padding-bottom: 0px;}
.rf-footer-logo{height: 50px;}
.rf-footer-col:nth-child(1){margin-bottom: 20px;}
#brand{padding-bottom: 50px;}
.btn-rf-primary{padding: 10px;}
    .rf-compare-section + .rf-section {
        padding-top: 50px;
    }
    .rf-testimonial-desc{font-size: 16px;}
    .rf-testimonial-shot{height: 230px;object-fit: contain;}
        .rf-testimonial-slider .slick-dots {
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    .rf-section-subtitle br{display: none;}
    .rf-testimonial-slider {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0px 20px;
    border-radius: 30px;
    margin: 40px 0 30px;
}
#brand .rf-section-subtitle {padding-bottom:30px}
.rf-carousel-arrow{display: none;}
.rf-contact-group{max-width: 100%;}
.rf-footer h4{text-align: center;}
}