/* Rahul Jha — mobile-first performance & credibility UI */

:root {
  --rj-accent: #c4ef17;
  --rj-accent-dark: #a8cf12;
  --rj-surface: rgba(12, 14, 18, 0.92);
  --rj-border: rgba(196, 239, 23, 0.25);
  --rj-mobile-bar-h: 62px;
}

/* ── Trust bar (credibility) ── */
.rj-trust-bar {
  background: var(--rj-surface);
  border-top: 1px solid var(--rj-border);
  border-bottom: 1px solid var(--rj-border);
  padding: 1rem 0;
}
.rj-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .rj-trust-bar__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
.rj-trust-bar__item {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.rj-trust-bar__num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rj-accent);
  line-height: 1.2;
}
.rj-trust-bar__label {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
  margin-top: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Mobile sticky contact bar ── */
.rj-mobile-cta {
  display: none;
  position: fixed;
  bottom: 30px !important;
  left: 1% !important;
  width:98% !important;
  border-radius:20px;
  z-index: 998;
  background: var(--rj-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rj-border);
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
}
@media (max-width: 991px) {
  .rj-mobile-cta {
    display: flex;
    gap: 0.5rem;
  }
  body.rj-has-mobile-cta {
    padding-bottom: calc(var(--rj-mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  }
  .scrollToTop {
    bottom: calc(var(--rj-mobile-bar-h) + 12px) !important;
  }
}
.rj-mobile-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 44px;
}
.rj-mobile-cta__btn:active {
  transform: scale(0.97);
}
.rj-mobile-cta__btn--wa {
  background: #25d366;
  color: #fff !important;
}
.rj-mobile-cta__btn--call {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.rj-mobile-cta__btn--primary {
  background: var(--rj-accent);
  color: #000 !important;
}

/* ── Floating WhatsApp (desktop) ── */
.rj-wa-float {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 997;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rj-wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff !important;
}
@media (min-width: 992px) {
  .rj-wa-float {
    display: flex;
  }
}

/* ─ Header mobile CTA ── */
@media (max-width: 991px) {
  .header-section--style2 .header-action .header-btn .trk-btn--outline {
    display: none;
  }
  .header-section--style2 .header-action .header-btn .rj-header-wa {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    background: #25d366;
    color: #fff !important;
    border-radius: 6px;
    border: none;
    min-height: 38px;
  }
}
.rj-header-wa {
  display: none;
}

/* ── Performance: lazy images ── */
img[loading="lazy"] {
  background: rgba(255, 255, 255, 0.04);
}
.rj-portfolio-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  border-radius: 6px;
}

/* ── Video facade (no autoplay until click) ── */
.rj-video-facade {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.rj-video-facade img {
  width: 100%;
  display: block;
  opacity: 0.85;
}
.rj-video-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s;
}
.rj-video-facade:hover .rj-video-facade__play {
  background: rgba(0, 0, 0, 0.5);
}
.rj-video-facade__play i {
  font-size: 3rem;
  color: var(--rj-accent);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* ─ Cleaner CTAs (no button inside anchor) ── */
a.trk-btn,
a.rj-cta-link {
  text-decoration: none !important;
}
.track_btn.nobtn {
  padding: 0;
  font: inherit;
  color: inherit;
}

/* ─ Credibility strip on hero ── */
.rj-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.rj-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(196, 239, 23, 0.1);
  border: 1px solid var(--rj-border);
  color: rgba(255, 255, 255, 0.85);
}
.rj-hero-badge i {
  color: var(--rj-accent);
}

/* ── Reduce motion for perf + a11y ── */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Mobile typography tweaks ── */
@media (max-width: 575px) {
  .banner__content-heading {
    font-size: clamp(1.65rem, 7vw, 2.25rem) !important;
  }
  .banner__btn-group {
    flex-direction: column;
    align-items: stretch !important;
  }
  .banner__btn-group .trk-btn,
  .banner__btn-group .play-btn {
    width: 100%;
    justify-content: center;
  }
  .contact-info {
    flex-direction: column !important;
  }
}
/* ── Service detail — clean, focused layout ── */
.rj-service-detail .project-details__content h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.rj-service-detail .project-details__content .rj-service-desc {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.88;
  margin-bottom: 0;
}
.rj-service-detail .project-details__content .rj-service-desc p:last-child {
  margin-bottom: 0;
}
.rj-service-detail .project-details__thumb img {
  border-radius: 12px;
  width: 100%;
}
.rj-service-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.rj-service-sidebar__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.rj-service-sidebar__cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.rj-service-sidebar__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}
.rj-service-sidebar__meta li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rj-service-sidebar__meta li:last-child {
  border-bottom: 0;
}
.rj-service-sidebar__meta a {
  color: var(--rj-accent);
  text-decoration: none;
}
.rj-service-work {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rj-service-work__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.rj-service-work__header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.rj-service-work__header p {
  opacity: 0.7;
  font-size: 0.95rem;
  margin: 0;
}
.rj-service-work__grid img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.rj-service-cta {
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(196, 239, 23, 0.06);
  border: 1px solid var(--rj-border);
  border-radius: 12px;
  margin: 2rem 0 3rem;
}
.rj-service-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.rj-service-cta p {
  opacity: 0.75;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.rj-service-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.rj-service-landing .header-wrapper {
  display: none !important;
}
.rj-service-landing .the_mobile_fooeter,
.rj-service-landing .rj-mobile-cta {
  display: none !important;
}
.rj-pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rj-border);
  border-radius: 12px;
  padding: 1.5rem;
}
.rj-pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.rj-pricing-card h3 span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
}
.rj-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.rj-pricing-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rj-pricing-card li:before {
  content: "✓";
  color: var(--rj-accent);
  margin-right: 0.5rem;
}
@media (max-width: 991px) {
  .rj-service-sidebar {
    position: static;
    margin-top: 1.5rem;
  }
}
body:has(.rj-service-detail) .zubuz-breadcrumb {
  display: none !important;
}
.rj-service-sidebar hr,
.rj-service-sidebar small {
  display: none;
}
.rj-service-sidebar .trk-btn[type="submit"] {
  margin-top: 0.5rem;
}

/* Service extras sections */
.rj-svc-section {
  padding: 3rem 0;
}
.rj-svc-section--muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rj-svc-section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.rj-svc-section__head h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.rj-svc-section__head p {
  opacity: 0.7;
  margin: 0;
  font-size: 0.95rem;
}
.rj-svc-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rj-accent);
  background: rgba(196, 239, 23, 0.1);
  border: 1px solid var(--rj-border);
  border-radius: 999px;
}
.rj-svc-section--why {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 239, 23, 0.12), transparent),
    rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rj-why-card {
  height: 100%;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.rj-why-card:hover {
  transform: translateY(-3px);
  border-color: var(--rj-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.rj-why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(196, 239, 23, 0.2), rgba(196, 239, 23, 0.05));
  border: 1px solid var(--rj-border);
  color: var(--rj-accent);
  font-size: 1.2rem;
}
.rj-why-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.rj-why-card p {
  font-size: 0.85rem;
  opacity: 0.72;
  margin: 0;
  line-height: 1.5;
}
.rj-svc-section--experience {
  background:
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(196, 239, 23, 0.06), transparent),
    rgba(255, 255, 255, 0.02);
}
.rj-timeline--visual {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 0;
}
.rj-timeline__track {
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--rj-accent), rgba(196, 239, 23, 0.15));
  border-radius: 2px;
}
.rj-timeline--visual .rj-timeline__item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: 0 0 1.5rem;
  border-bottom: 0;
}
.rj-timeline--visual .rj-timeline__item:last-child {
  padding-bottom: 0;
}
.rj-timeline__node {
  flex-shrink: 0;
  z-index: 1;
}
.rj-timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #12141a;
  border: 2px solid var(--rj-accent);
  color: var(--rj-accent);
  font-size: 1rem;
  box-shadow: 0 0 0 4px rgba(196, 239, 23, 0.12);
}
.rj-timeline__item.is-active .rj-timeline__icon {
  background: var(--rj-accent);
  color: #000;
  box-shadow: 0 0 20px rgba(196, 239, 23, 0.35);
}
.rj-timeline__card {
  flex: 1;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.rj-timeline__item.is-active .rj-timeline__card {
  border-color: var(--rj-border);
  background: rgba(196, 239, 23, 0.04);
}
.rj-timeline__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.rj-timeline__tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(196, 239, 23, 0.12);
  color: var(--rj-accent);
  border: 1px solid var(--rj-border);
}
.rj-timeline--visual .rj-timeline__year {
  width: auto;
  padding: 0;
  font-size: 0.82rem;
}
.rj-timeline__card h4 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}
.rj-timeline__card p {
  font-size: 0.88rem;
  opacity: 0.75;
  margin: 0;
  line-height: 1.55;
}
.rj-highlight-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: rgba(196, 239, 23, 0.12);
  color: var(--rj-accent);
  border: 1px solid var(--rj-border);
}
.rj-highlight-card {
  height: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.rj-highlight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.rj-highlight-card p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}
.rj-highlight-card__img {
  border-radius: 8px;
}
.rj-skill-item {
  text-align: center;
  padding: 0.75rem 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.rj-skill-item img {
  height: 40px;
  width: auto;
  margin-bottom: 0.35rem;
}
.rj-skill-item span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.8;
}
.rj-portfolio-full[hidden] {
  display: none !important;
}
.rj-portfolio-full:not([hidden]) {
  animation: rjFadeIn 0.35s ease;
}
@keyframes rjFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.rj-portfolio-feature {
  margin-bottom: 0.5rem;
}
.rj-portfolio-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.rj-portfolio-feature p {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.rj-lazy-portfolio {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.rj-testimonial-card {
  height: 100%;
  margin: 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.rj-testimonial-card__stars {
  color: var(--rj-accent);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.rj-testimonial-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 1rem;
}
.rj-testimonial-card footer strong {
  display: block;
  font-size: 0.9rem;
}
.rj-testimonial-card footer span {
  font-size: 0.8rem;
  opacity: 0.65;
}
