/* =============================================================
   RAMAHFAKHIRIN.COM — Custom Stylesheet
   Accent : #7463FF  |  Body : #F7F7FD  |  Font: Phudu + Onest
   File   : assets/css/ramah.css
   ============================================================= */

/* ============================================================
   RAMAHFAKHIRIN.COM  —  Mobile App Light Style
   Accent: #7463FF  |  Body: #F7F7FD  |  Font: Phudu + Onest
   ============================================================ */
:root {
  --rf-accent: #7463FF;
  --rf-accent2: #9585FF;
  --rf-dk: #7463FF;
  --rf-bg: #F7F7FD;
  --rf-bg2: #EEEEF8;
  --rf-dark: #0E0F11;
  --rf-mid: #66666C;
  --rf-bdr: #E2E2F0;

  /* FIX #2 — Override template's green preloader with our violet palette */
  --tp-theme-green: #7463FF !important;
  --tp-theme-1: #7463FF !important;
  --tp-common-green-light: #9585FF !important;
  --tp-common-green-regular: #7463FF !important;
  --tp-common-green-1: #7463FF !important;
}

/* FIX #2 — Preloader background: override green → cool light grey */
#preloader {
  background-color: #F7F7FD !important;
}

.preloader span {
  background: #7463FF !important;
}

/* ---- Skill bars ---- */
.rf-sb-item {
  margin-bottom: 26px
}

.rf-sb-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px
}

.rf-sb-name {
  font-size: 14px;
  font-weight: 500;
  color: #3a3a5c;
  font-family: 'Onest', 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px
}

.rf-sb-pct {
  font-size: 13px;
  font-weight: 700;
  color: #7463FF
}

.rf-sb-track {
  height: 5px;
  background: rgba(116, 99, 255, .15);
  border-radius: 99px;
  overflow: hidden
}

.rf-sb-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #7463FF, #9585FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1)
}

.rf-sb-fill.go {
  transform: scaleX(1)
}

/* ---- Cert tags ---- */
.rf-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px
}

.rf-ctag {
  font-size: 11px;
  font-weight: 500;
  color: #7463FF;
  background: rgba(116, 99, 255, .08);
  border: 1.5px solid rgba(116, 99, 255, .25);
  border-radius: 99px;
  padding: 5px 14px;
  font-family: 'Onest', 'Inter', sans-serif;
  transition: all .25s
}

.rf-ctag:hover {
  background: rgba(116, 99, 255, .16);
  border-color: rgba(116, 99, 255, .5)
}

/* ---- Floating bubbles next to phone ---- */
.rf-bubble {
  animation: rfFloat 4s ease-in-out infinite;
}

.rf-bubble:nth-child(2) {
  animation-delay: -1.3s;
}

.rf-bubble:nth-child(3) {
  animation-delay: -2.7s;
}

@keyframes rfFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* FIX #1 — Phone centered below in ROW 2 — bubbles outside image area */
.rf-phone-wrap-bottom {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 80px 40px;
  text-align: center;
}

.rf-phone-main-bottom {
  display: block;
  width: 110%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rf-phone-bg-bottom {
  position: absolute;
  top: 60%;
  left: 71%;
  transform: translate(-50%, -50%);
  width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
}

/* ---- Portfolio filter ---- */
.rf-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px
}

.rf-fbtn {
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--rf-bdr);
  background: transparent;
  color: var(--rf-mid);
  transition: all .3s;
  font-family: 'Onest', 'Inter', sans-serif
}

.rf-fbtn.on,
.rf-fbtn:hover {
  background: var(--rf-accent);
  border-color: var(--rf-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(116, 99, 255, .3)
}

/* ---- Portfolio cards ---- */
.rf-port-item {
  transition: opacity .3s, transform .3s;
  padding: 0;
}

.rf-pcard {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rf-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.rf-pcard-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ─── Card media wrapper: image + colorful gradient fallback ────────────────
   Structure: .rf-pcard-media (gradient bg, same as old .rf-ph-*)
                ├─ img.rf-pcard-img       (real screenshot, on top)
                └─ .rf-ph-fallback        (icon + label, hidden if img loads)

   If image fails to load (404), JS adds .rf-ph-empty to media wrapper,
   img hides itself, and .rf-ph-fallback becomes visible — showing the
   original colorful placeholder (icon + label) exactly as before.
   ──────────────────────────────────────────────────────────────────────────── */
.rf-pcard-media {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.rf-pcard-media .rf-pcard-img {
  height: 100%;
  position: relative;
  z-index: 1;
}

.rf-ph-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 0;
}

.rf-ph-fallback svg {
  width: 48px;
  height: 48px;
  opacity: .18;
}

.rf-ph-fallback span {
  font-size: 11px;
  color: #7463ff;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Onest', 'Inter', sans-serif;
  font-weight: 600;
}

/* When image fails to load: show gradient + fallback icon/label */
.rf-pcard-media.rf-ph-empty .rf-ph-fallback {
  display: flex;
}

.rf-ph {
  width: 100%;
  height: 260px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.rf-ph svg {
  width: 32px;
  height: 32px;
  opacity: .22
}

.rf-ph span {
  font-size: 10px;
  color: #8080b0;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Onest', 'Inter', sans-serif
}

.rf-ph-a {
  background: linear-gradient(135deg, #6d55ff, #5540e8);
}

.rf-ph-b {
  background: linear-gradient(135deg, #0066ff, #0052cc);
}

.rf-ph-c {
  background: linear-gradient(135deg, #ff6b35, #ff5722);
}

.rf-ph-d {
  background: linear-gradient(135deg, #00c9a7, #00b295);
}

.rf-ph-e {
  background: linear-gradient(135deg, #ff6b9d, #ff4757);
}

.rf-ph-f {
  background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
}

.rf-pov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(116, 99, 255, .15) 0%, rgba(10, 8, 28, .92) 60%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .4s cubic-bezier(.34, 1.56, .64, 1);
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(0px);
}

.rf-pcard:hover .rf-pov {
  opacity: 1;
}

.rf-pov-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}

.rf-pov-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
  font-family: 'Phudu', serif;
}

.rf-pov-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .95);
  border-bottom: 2px solid rgba(255, 255, 255, .5);
  padding-bottom: 3px;
  text-decoration: none;
  transition: border-color .3s;
}

.rf-pcard:hover .rf-pov-link {
  border-bottom-color: rgba(255, 255, 255, .95);
}

.rf-pcontent {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.rf-ptitle {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  font-family: 'Phudu', serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.3;
  min-height: 40px;
}

.rf-pmeta {
  font-size: 13px;
  color: #6b6b8f;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rf-pcard-media { position: relative; z-index: 0; }
.rf-pcard-media .rf-pcard-img { z-index: 1; }
.rf-ph-fallback { display: none; }            /* fallback gradient, hidden by default */
.rf-pcard-media.rf-ph-empty .rf-ph-fallback { display: flex; }  /* muncul jika img 404 */
.rf-pov { z-index: 2; }                        /* overlay SELALU di atas image */

/* ---- Photo placeholder ---- */
.rf-photo-ph {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #ddddf8, #c8c8f0);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px
}

.rf-photo-ph svg {
  width: 60px;
  height: 60px;
  opacity: .22;
  color: var(--rf-accent)
}

.rf-photo-ph span {
  font-size: 11px;
  color: #8080b0;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Onest', 'Inter', sans-serif
}

/* ---- FAQ custom ---- */
.rf-faq-item {
  border-bottom: 1px solid var(--rf-bdr)
}

.rf-faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--rf-dark);
  text-align: left;
  gap: 16px
}

.rf-faq-btn:hover {
  color: var(--rf-accent)
}

.rf-faq-ico {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--rf-bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s
}

.rf-faq-ico svg {
  width: 14px;
  height: 14px;
  transition: transform .3s
}

.rf-faq-item.open .rf-faq-ico {
  background: var(--rf-accent)
}

.rf-faq-item.open .rf-faq-ico svg {
  color: #fff;
  transform: rotate(45deg)
}

.rf-faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease
}

.rf-faq-ans-in {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--rf-mid);
  line-height: 1.75;
  font-family: 'Onest', 'Inter', sans-serif
}

/* ---- CTA contacts ---- */
.rf-cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  justify-content: center
}

.rf-cta-ci {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: rgb(32, 32, 32);
  text-decoration: none;
  transition: color .3s;
  font-family: 'Onest', 'Inter', sans-serif
}

.rf-cta-ci:hover {
  color: #fff
}

/* ---- Hero badge ---- */
.rf-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--rf-accent);
  background: rgba(116, 99, 255, .12);
  padding: 7px 18px;
  border-radius: 99px;
  border: 1px solid rgba(116, 99, 255, .25);
  margin-bottom: 28px;
  font-family: 'Onest', 'Inter', sans-serif
}

.rf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rf-accent);
  animation: rfPulse 2s infinite
}

@keyframes rfPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .3;
    transform: scale(.75)
  }
}

/* ---- Section title override to Phudu ---- */
.tp-section-title-phudu,
.app-stack-title,
.app-review-title,
.app-feature-title,
.app-benefits-item-title {
  font-family: 'Phudu', serif !important;
}

body,
p,
span,
a,
li,
button,
input,
.app-hero-btn-text p {
  font-family: 'Onest', 'Inter', sans-serif;
}

/* ---- Smooth wrapper bg ---- */
#smooth-wrapper {
  background-color: #F7F7FD !important;
}

/* FIX #3 — Scroll offset for all anchor sections (compensate sticky header ~80px) */
#about,
#skills,
#portfolio,
#services,
#blog,
#testimonial,
#faq,
#contact {
  scroll-margin-top: 80px;
}

/* FIX #3 — Portfolio: remove GSAP stack-pin classes that cause layout breakage */
.app-stack-area {
  transform: none !important;
  will-change: auto !important;
}

.stack-panel-pin-area {
  position: relative !important;
  height: auto !important;
}

/* ─── Testimonial loop: JS marquee, GSAP-safe ──────────────────────────────── */

/* 1. Section spacing — add padding-top */
.app-testimonial-area.app-testimonial-ptb {
  padding-top: 140px;
}

/* 2. Wrapper: block-level, no flex stretch */
.app-testimonial-wrapper {
  animation: none !important;
  display: block !important;
  /* not flex — prevents stretch */
  white-space: nowrap !important;
  /* keep items on one line */
  width: max-content !important;
  will-change: transform;
}

/* 3. Cards: inline-block, fixed width matching template */
.app-testimonial-item {
  display: inline-block !important;
  white-space: normal !important;
  /* text inside wraps normally */
  min-width: 460px !important;
  max-width: 460px !important;
  vertical-align: top;
}

/* 4. Mobile: shrink card to fit viewport, keep readable padding */
@media (max-width: 575px) {
  .app-testimonial-item {
    min-width: calc(100vw - 60px) !important;
    max-width: calc(100vw - 60px) !important;
    margin: 0 10px !important;
    padding: 24px !important;
  }

  .app-testimonial-area.app-testimonial-ptb {
    padding-top: 100px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .app-testimonial-item {
    min-width: 420px !important;
    max-width: 420px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SECTION CTA — dual button row under homepage sections
   ═══════════════════════════════════════════════════════════ */
.rf-sec-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 55px;
  position: relative;
  z-index: 2;
}

.rf-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Onest', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  color: #0E0F11;
  background: transparent;
  border: 1.5px solid #E2E2F0;
  border-radius: 30px;
  padding: 15px 26px;
  transition: border-color .35s, color .35s, gap .35s, transform .35s;
}

.rf-btn-outline:hover {
  border-color: #7463FF;
  color: #7463FF;
  gap: 14px;
  transform: translateY(-2px);
}

.rf-sec-cta.on-dark .rf-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

.rf-sec-cta.on-dark .rf-btn-outline:hover {
  color: #9585FF;
  border-color: #9585FF;
}

@media (max-width: 575px) {
  .rf-sec-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
  }

  .rf-sec-cta .animated-border-box {
    width: auto;
    display: inline-block;
  }

  .rf-sec-cta .tp-btn-gradient {
    width: auto;
    display: inline-flex;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
  }

  .rf-btn-outline {
    width: auto;
    display: inline-flex;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════
   BLOG SECTION — homepage teaser cards
   ═══════════════════════════════════════════════════════════ */
.rf-bcard {
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
  margin-bottom: 30px;
  background: #fff;
  border: 1px solid #E2E2F0;
  border-radius: 22px;
  overflow: hidden;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), box-shadow .42s, border-color .42s;
}

.rf-bcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(20, 16, 60, .14);
  border-color: rgba(116, 99, 255, .35);
}

.rf-bcard-media {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rf-bcard-media::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 38px 38px;
}

.rf-bg-a {
  background: linear-gradient(140deg, #7463FF, #5B4BE0);
}

.rf-bg-b {
  background: linear-gradient(140deg, #3188FF, #2A5FCC);
}

.rf-bg-c {
  background: linear-gradient(140deg, #D34BE9, #8B37B8);
}

.rf-bg-d {
  background: linear-gradient(140deg, #FF994B, #E0662A);
}

.rf-bg-e {
  background: linear-gradient(140deg, #25C99A, #159173);
}

.rf-bg-f {
  background: linear-gradient(140deg, #5E5AA8, #3A3670);
}

.rf-bcard-mono {
  position: relative;
  z-index: 2;
  font-family: 'Phudu', serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .92);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.rf-bcard:hover .rf-bcard-mono {
  transform: scale(1.12);
}

.rf-bcard-pin {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 15, 17, .5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 99px;
  padding: 5px 12px;
}

.rf-bcard-read {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(14, 15, 17, .5);
  backdrop-filter: blur(6px);
  border-radius: 99px;
  padding: 5px 12px;
}

.rf-bcard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 24px;
}

.rf-bcard-date {
  font-size: 12px;
  color: #66666C;
  margin-bottom: 10px;
}

.rf-bcard-title {
  font-family: 'Phudu', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: #0E0F11;
  margin-bottom: 11px;
  transition: color .3s;
}

.rf-bcard:hover .rf-bcard-title {
  color: #7463FF;
}

.rf-bcard-text {
  font-size: 13.5px;
  color: #66666C;
  line-height: 1.72;
  margin-bottom: 20px;
  flex: 1;
}

.rf-bcard-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #7463FF;
  margin-top: auto;
  transition: gap .3s;
}

.rf-bcard:hover .rf-bcard-more {
  gap: 13px;
}

@media (max-width: 991px) {
  .rf-bcard-media {
    height: 170px;
  }

  .rf-bcard-mono {
    font-size: 48px;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES — Hero title, section titles, buttons
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .app-hero-area {
    will-change: auto;
  }
  
  .app-hero-wrap h4.tp-section-title-phudu {
    font-size: clamp(42px, 11vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -1.5px;
  }
  .app-hero-wrap h4.tp-section-title-phudu br {
    display: block !important;
  }
  .app-hero-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .app-hero-bottom-thumb-main {
    position: relative !important;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 20px 50px !important;
    margin-top: -160px;
    margin-bottom: -97px !important;
    overflow: visible;
    background: transparent;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .app-hero-bottom-thumb-main > img:first-child {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1.25;
    object-fit: contain;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
  }
  .app-hero-bottom-thumb-main .shape-2 {
    display: block !important;
    position: absolute !important;
    bottom: 5% !important;
    left: 2% !important;
    max-width: 28% !important;
    height: auto !important;
  }
  .app-hero-bottom-thumb-main .shape-3 {
    display: block !important;
    position: absolute !important;
    bottom: 30% !important;
    left: 2% !important;
    max-width: 32% !important;
    height: auto !important;
  }
  .app-hero-bottom-thumb-main .shape-4 {
    display: block !important;
    position: absolute !important;
    bottom: 20% !important;
    right: 2% !important;
    max-width: 28% !important;
    height: auto !important;
  }
  .app-hero-bottom-thumb-main .shape-5 {
    display: block !important;
    position: absolute !important;
    top: 15% !important;
    right: 2% !important;
    max-width: 28% !important;
    height: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO CTA BUTTON — perbaikan responsif
   Template memakai display:inline-block + padding-top ganjil,
   sehingga ikon dan label tidak sejajar dan label pecah dua
   baris di layar sempit.
   ═══════════════════════════════════════════════════════════ */
.app-hero-btn-box {
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.app-hero-btn.mr-35 {
  margin-right: 0;
}

.app-hero-btn .animated-border-box {
  border-radius: 16px;
}

.app-hero-btn .tp-btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 26px;
  border-radius: 15px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

/* Span pembungkus ikon: garis pemisah vertikal di kanannya */
.app-hero-btn .animated-border-box.border-icon .tp-btn-gradient span {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, .38);
}

.app-hero-btn .tp-btn-gradient span svg {
  transform: none;
  width: 19px;
  height: 19px;
}

.app-hero-btn-text p {
  font-size: 16px;
  line-height: 26px;
  color: #66666C;
}

@media (max-width: 1199px) {
  .app-hero-btn-box {
    gap: 22px;
  }

  .app-hero-btn .tp-btn-gradient {
    font-size: 16px;
    padding: 15px 22px;
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .app-hero-btn-box {
    gap: 20px;
  }

  .app-hero-btn {
    width: auto;
    display: inline-block;
  }

  .app-hero-btn .animated-border-box {
    width: auto;
    display: inline-block;
  }

  .app-hero-btn .tp-btn-gradient {
    width: auto;
    display: inline-flex;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
  }

  .app-hero-btn-text p {
    font-size: 15px;
    line-height: 24px;
  }
}

#rfPortGrid {
  margin-left: -12px;
  margin-right: -12px;
}

#rfPortGrid .col-md-6 {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  #rfPortGrid .col-md-6 {
    margin-bottom: 20px;
  }
}

@media (max-width: 380px) {
  .app-hero-btn .tp-btn-gradient {
    font-size: 14px;
    padding: 12px 20px;
    gap: 10px;
  }
}