/* Portfolio sections layered on the Reeni theme (uses its --color-* tokens). */

/* ---------- Typography: Quicksand everywhere ---------- */
:root {
  --font-primary: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-secondary: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { font-family: var(--font-primary); font-weight: 500; letter-spacing: .1px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .title { font-family: var(--font-secondary); font-weight: 700; letter-spacing: -.3px; }
.pf-text, .description, p { font-weight: 500; }
input, textarea, button, select { font-family: inherit; }

html { scroll-behavior: smooth; }
section[id], div[id="skills"] { scroll-margin-top: 90px; }

/* ---------- Buttons ---------- */
.pf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 8px;
  font-size: 16px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; transition: .25s ease;
}
.pf-btn-primary { background: var(--color-primary); color: #fff; }
.pf-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 1, 79, .35); }
.pf-btn-ghost { border-color: rgba(255, 255, 255, .18); color: var(--color-heading); }
.pf-btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---------- Hero ---------- */
.land-banner .inner .content .title { font-size: 60px; }
.land-banner .cd-words-wrapper b { white-space: nowrap; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  font-size: 14px; color: var(--color-body);
}
.hero-pill i { color: var(--color-primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

.hero-card {
  width: 300px; max-width: 100%;
  background: #0f0f12; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px; overflow: hidden; text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.hero-card-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #17171c; border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px; color: #8a8aa0;
}
.hero-card-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a46; }
.hero-card-bar i:first-child { background: #ff5f57; }
.hero-card-bar i:nth-child(2) { background: #febc2e; }
.hero-card-bar i:nth-child(3) { background: #28c840; }
.hero-card-bar span { margin-left: 8px; font-family: ui-monospace, Menlo, monospace; }
.hero-card pre {
  margin: 0; padding: 16px; background: none; border: 0;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9cbe8; white-space: pre;
}
.hero-card .k { color: #ff5c8a; }
.hero-card .s { color: #8be28b; }
.hero-card .ok { color: #28c840; }
.hero-card-sm { display: flex; align-items: center; gap: 14px; padding: 16px 18px; width: auto; }
.hero-card-sm > i {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--primary-opacity); color: var(--color-primary); font-size: 20px;
}
.hero-card-sm strong { display: block; color: var(--color-heading); font-size: 15px; }
.hero-card-sm small { color: #8a8aa0; font-size: 13px; }

@media (max-width: 1199px) {
  .hero-card pre { font-size: 11px; padding: 12px; }
  .hero-card { width: 240px; }
}
/* Tablet / phone: the floating cards flow under the hero text instead of being hidden. */
@media (max-width: 991px) {
  .land-banner { height: auto; padding-bottom: 90px; }
  .land-banner .inner { padding-left: 16px !important; padding-right: 16px !important; }
  .land-banner .inner .banner-top { flex-wrap: wrap; justify-content: center; gap: 18px; }
  /* Order: code window, then the "Hi, I'm…" text, then the second window. */
  .land-banner .inner .banner-top .demo.zero { order: 0; }
  .land-banner .inner .banner-top .content { order: 1; flex: 0 0 100%; max-width: 100%; margin: 14px 0 10px !important; }
  .land-banner .inner { margin-top: 90px; padding-top: 20px; }
  .land-banner .inner .banner-top .demo.two { order: 2; }
  .land-banner .inner .banner-top .demo {
    display: block !important; position: relative !important; inset: auto !important;
    margin: 0 !important; max-width: none; max-height: none; z-index: 3;
  }
  .land-banner .inner .banner-top .demo { flex: 0 1 auto; width: auto; }
  .land-banner .inner .banner-top .demo .hero-card { width: 280px; max-width: 100%; }
  .land-banner .inner .content .title { font-size: 46px; }
  /* Bottom code windows are a desktop extra; phones/tablets keep the compact hero. */
  .land-banner .inner .banner-bottom { display: none !important; }
}
@media (max-width: 575px) {
  /* One code window on phones, full width; the second one would be cramped. */
  .land-banner .inner .banner-top .demo.two { display: none !important; }
  .land-banner .inner .banner-top .demo.zero { width: 100%; padding: 0 16px; }
  .land-banner .inner .banner-top .demo .hero-card { width: 100%; }
  .hero-card pre { font-size: 12px; overflow-x: auto; }
}
@media (max-width: 767px) {
  .land-banner .inner .content .title { font-size: 38px; }
}
@media (max-width: 575px) {
  .land-banner .inner .content .title { font-size: 30px; }
  .land-banner .inner .content .description { font-size: 17px; }
}

/* ---------- Section headings ---------- */
.pf-section-head { margin-bottom: 50px; }
.pf-eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-primary); font-weight: 500;
}
.pf-title { font-size: 46px; line-height: 1.2; margin: 0; }
.pf-title span { color: var(--color-primary); }
.pf-text { color: var(--color-body); opacity: .85; font-size: 17px; line-height: 1.75; }
@media (max-width: 767px) { .pf-title { font-size: 32px; } }

/* ---------- Socials ---------- */
.pf-socials { display: flex; gap: 12px; list-style: none; padding: 0; margin: 28px 0 0; }
.pf-socials li { margin: 0; }
.pf-socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .14); color: var(--color-heading); transition: .25s;
}
.pf-socials a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ---------- Stats ---------- */
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pf-stat {
  padding: 34px 28px; border-radius: 16px;
  background: linear-gradient(160deg, #141418, #0b0b0d); border: 1px solid rgba(255, 255, 255, .06);
}
.pf-stat strong { display: block; font-family: var(--font-secondary); font-size: 54px; line-height: 1; color: var(--color-heading); }
.pf-stat strong::after { content: ''; display: block; width: 28px; height: 3px; margin: 14px 0; background: var(--color-primary); border-radius: 2px; }
.pf-stat span { color: var(--color-body); font-size: 15px; }

/* ---------- Services ---------- */
.pf-service-icon {
  width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 18px;
  display: grid; place-items: center; font-size: 30px;
  background: var(--primary-opacity); color: var(--color-primary);
}

/* ---------- Skills marquee (spans instead of links) ---------- */
.scroll-animation-all-wrapper .scroll-animation-wrapper .single-column .categori-list span {
  min-width: max-content; padding: 8px 20px; background-color: #0F0F0F;
  font-size: 16px; line-height: 28px; color: var(--color-body); border-radius: 6px;
}
.scroll-animation-all-wrapper .scroll-animation-wrapper .single-column .categori-list span i {
  color: var(--color-primary); margin-right: 7px;
}

.pf-skill-group {
  height: 100%; padding: 30px; border-radius: 16px;
  background: #0d0d10; border: 1px solid rgba(255, 255, 255, .06);
}
.pf-skill-group h3 { font-size: 20px; margin-bottom: 18px; }
.pf-skill-group ul { list-style: none; padding: 0; margin: 0; }
.pf-skill-group li { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 16px; color: var(--color-body); }
.pf-skill-group li i { width: 20px; text-align: center; color: var(--color-primary); }

/* ---------- Projects ---------- */
.pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.pf-filter {
  padding: 10px 22px; border-radius: 100px; font-size: 15px; cursor: pointer;
  background: transparent; color: var(--color-body); border: 1px solid rgba(255, 255, 255, .14); transition: .2s;
}
.pf-filter:hover { color: var(--color-heading); border-color: rgba(255, 255, 255, .35); }
.pf-filter.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.pf-project {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: 30px; border-radius: 18px; overflow: hidden;
  background: #0d0d10; border: 1px solid rgba(255, 255, 255, .07); transition: .3s ease;
}
.pf-project::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: .3s;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 0%), rgba(255, 1, 79, .12), transparent 60%);
}
.pf-project:hover { transform: translateY(-6px); border-color: rgba(255, 1, 79, .4); }
.pf-project:hover::before { opacity: 1; }
.pf-project-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.pf-project-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: var(--primary-opacity); color: var(--color-primary);
}
.pf-badge {
  padding: 4px 12px; border-radius: 100px; font-size: 12px; letter-spacing: .5px;
  background: rgba(255, 255, 255, .06); color: var(--color-heading); border: 1px solid rgba(255, 255, 255, .1);
}
.pf-project-title { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.pf-project-summary { font-size: 15px; line-height: 1.7; color: var(--color-body); opacity: .85; margin-bottom: 16px; }
.pf-points { list-style: none; padding: 0; margin: 0 0 20px; }
.pf-points li { font-size: 14px; color: var(--color-body); margin: 0 0 8px; display: flex; gap: 10px; }
.pf-points i { color: var(--color-primary); margin-top: 5px; font-size: 12px; }
.pf-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pf-tech span {
  padding: 4px 10px; border-radius: 6px; font-size: 12.5px;
  background: rgba(255, 255, 255, .05); color: #b9bbd9; border: 1px solid rgba(255, 255, 255, .06);
}
.pf-project-link { margin-top: 18px; font-size: 15px; color: var(--color-primary); display: inline-flex; gap: 8px; align-items: center; }
.pf-project-link:hover { color: #fff; }

/* ---------- Contact ---------- */
.pf-contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.pf-contact-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 17px; }
.pf-contact-list i {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--primary-opacity); color: var(--color-primary);
}
.pf-contact-list a, .pf-contact-list span { color: var(--color-heading); word-break: break-all; }
.pf-form-card { padding: 36px; border-radius: 20px; background: #0d0d10; border: 1px solid rgba(255, 255, 255, .07); }
.pf-form-card .form-control {
  height: auto; padding: 14px 18px; border-radius: 10px; font-size: 16px;
  background: #141418; border: 1px solid rgba(255, 255, 255, .08); color: var(--color-heading);
}
.pf-form-card .form-control::placeholder { color: #7d7f99; }
.pf-form-card .form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255, 1, 79, .15); background: #141418; color: #fff; }
.pf-form-card .invalid-feedback { font-size: 13px; }
.pf-form-card .mb-3 { margin-bottom: 0 !important; }
.pf-alert {
  display: flex; gap: 10px; align-items: center; margin-bottom: 20px; padding: 14px 18px; border-radius: 10px;
  background: rgba(62, 183, 94, .12); color: #7fe09a; border: 1px solid rgba(62, 183, 94, .3); font-size: 15px;
}
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575px) { .pf-form-card { padding: 22px; } }

/* ---------- Footer ---------- */
.pf-footer { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 15px; color: var(--color-body); }
.pf-footer .pf-socials a { width: 38px; height: 38px; }

/* ---------- Contact channels (WhatsApp / phone / email) ---------- */
.pf-btn-whatsapp { background: #25D366; color: #06210f; }
.pf-btn-whatsapp:hover { color: #06210f; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, .35); }

.pf-channels { display: grid; gap: 14px; margin-top: 30px; }
.pf-channel {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  background: #0d0d10; border: 1px solid rgba(255, 255, 255, .07); color: var(--color-heading); transition: .25s;
}
.pf-channel > i:first-child {
  flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: var(--primary-opacity); color: var(--color-primary);
}
.pf-channel span { flex: 1; min-width: 0; }
.pf-channel small { display: block; font-size: 13px; color: #8a8aa0; }
.pf-channel strong { display: block; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.pf-channel-go { color: #5c5e75; transition: .25s; }
a.pf-channel:hover { border-color: rgba(255, 1, 79, .45); color: var(--color-heading); transform: translateX(4px); }
a.pf-channel:hover .pf-channel-go { color: var(--color-primary); }
.pf-channel-whatsapp > i:first-child { background: rgba(37, 211, 102, .14); color: #25D366; }
a.pf-channel-whatsapp:hover { border-color: rgba(37, 211, 102, .5); }
a.pf-channel-whatsapp:hover .pf-channel-go { color: #25D366; }

/* Floating WhatsApp button */
.pf-wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 999;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 100px;
  background: #25D366; color: #06210f; font-weight: 500; font-size: 15px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35); transition: .25s;
}
.pf-wa-float i { font-size: 26px; }
.pf-wa-float:hover { color: #06210f; transform: translateY(-3px); }
@media (max-width: 575px) {
  .pf-wa-float { width: 56px; padding: 0; justify-content: center; left: 16px; bottom: 16px; }
  .pf-wa-float span { display: none; }
}

/* =====================================================================
   Animations (only when <html class="pf-anim">, i.e. JS on and motion OK)
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Scroll progress */
.pf-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-primary), #ff6a9a, #b44dff);
}

/* Active nav link */
.mainmenu a.active { color: var(--color-primary) !important; }

/* Name shimmer */
.land-banner .inner .content .title .pf-name {
  background: linear-gradient(90deg, #FF014F 0%, #ff6a9a 30%, #c86bff 55%, #FF014F 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.pf-anim .land-banner .inner .content .title .pf-name { animation: pfShimmer 7s linear infinite; }
@keyframes pfShimmer { to { background-position: -250% 0; } }

/* Hero entrance */
.pf-anim .land-banner .content > * { animation: pfRise .6s var(--ease-out) both; }
.pf-anim .land-banner .content > :nth-child(1) { animation-delay: 0s; }
.pf-anim .land-banner .content > :nth-child(2) { animation-delay: .06s; }
.pf-anim .land-banner .content > :nth-child(3) { animation-delay: .14s; }
.pf-anim .land-banner .content > :nth-child(4) { animation-delay: .2s; }
.pf-hero-done .land-banner .content > *, .pf-hero-done .land-banner .hero-card { opacity: 1 !important; }
@keyframes pfRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pf-anim .land-banner .hero-card { animation: pfPop .7s var(--ease-out) both, pfFloat 6s ease-in-out .8s infinite alternate; }
.pf-anim .land-banner .demo.zero .hero-card { animation-delay: .2s, 1s; }
.pf-anim .land-banner .demo.two .hero-card { animation-delay: .28s, 1.6s; animation-duration: .7s, 7s; }
.pf-anim .land-banner .demo.three .hero-card { animation-delay: .36s, 1.3s; animation-duration: .7s, 6.5s; }
.pf-anim .land-banner .demo.four .hero-card { animation-delay: .44s, 2s; animation-duration: .7s, 7.5s; }
@keyframes pfPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pfFloat { from { translate: 0 0; } to { translate: 0 -14px; } }

/* Scroll reveal */
.pf-anim .pf-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.pf-anim .pf-reveal.is-in { opacity: 1; transform: none; }
.pf-anim .pf-stat.pf-reveal { transform: translateY(24px) scale(.96); }
.pf-anim .pf-stat.pf-reveal.is-in { transform: none; }
.pf-anim .pf-channel.pf-reveal { transform: translateX(-24px); }
.pf-anim .pf-channel.pf-reveal.is-in { transform: none; }
.pf-anim a.pf-channel.pf-reveal.is-in:hover { transform: translateX(4px); }

/* Section titles: underline grows in */
.pf-title { position: relative; }
.pf-section-head .pf-eyebrow { position: relative; padding-left: 0; }
.pf-anim .pf-section-head .pf-eyebrow::after {
  content: ''; display: block; height: 2px; margin-top: 8px; width: 0; background: var(--color-primary);
  transition: width .9s var(--ease-out) .25s;
}
.pf-anim .pf-section-head.text-center .pf-eyebrow::after { margin-left: auto; margin-right: auto; }
.pf-anim .pf-section-head.is-in .pf-eyebrow::after { width: 36px; }

/* Project filter transitions */
.pf-project-col { transition: opacity .3s ease, transform .35s var(--ease-out); }
.pf-anim .pf-project-col.pf-out { opacity: 0 !important; transform: scale(.94) translateY(10px) !important; transition-delay: 0ms; }

/* Tilt */
.pf-tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .25s ease-out, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.pf-tilt:hover { --ty: -6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.pf-project.pf-tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }

/* Icons in cards bob on hover */
.pf-project-icon, .pf-service-icon { transition: transform .4s var(--ease-out), background .3s; }
.pf-project:hover .pf-project-icon, .pf-service:hover .pf-service-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }

/* Button shine */
.pf-btn { position: relative; overflow: hidden; isolation: isolate; }
.pf-btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.pf-btn:hover::after { transform: translateX(120%); }
.pf-btn i { transition: transform .3s var(--ease-out); }
.pf-btn:hover .fa-arrow-right { transform: translateX(4px); }

/* WhatsApp float: gentle pulse ring */
.pf-anim .pf-wa-float { animation: pfRise .8s var(--ease-out) 1.2s both; }
.pf-wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
}
.pf-anim .pf-wa-float::before { animation: pfPulse 2.4s ease-out 2s infinite; }
@keyframes pfPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* Socials pop */
.pf-socials a { transition: transform .3s var(--ease-out), background .25s, border-color .25s, color .25s; }
.pf-socials a:hover { transform: translateY(-3px) scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Share bar (footer) ---------- */
.pf-share {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.pf-share-label { color: var(--color-heading); font-weight: 600; }
.pf-share-label i { color: var(--color-primary); margin-right: 6px; }
.pf-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-share-btns a, .pf-share-btns button {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0; border-radius: 10px;
  background: #0d0d10; border: 1px solid rgba(255, 255, 255, .08); color: var(--color-heading); font-size: 16px;
  cursor: pointer; transition: transform .2s, border-color .2s, color .2s, background .2s;
}
.pf-share-btns a:hover, .pf-share-btns button:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.pf-share-btns .pf-share-native { display: inline-flex; gap: 8px; padding: 0 16px; background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-size: 15px; font-weight: 600; }
.pf-share-btns .pf-share-native:hover { color: #fff; }
.pf-share-btns .pf-share-native[hidden] { display: none; }
.pf-share-btns .is-copied { color: #7fe09a; border-color: #3eb75e; }
@media (max-width: 575px) { .pf-share { justify-content: center; text-align: center; } .pf-share-btns { justify-content: center; } }
