/* ============================================================
   ABOUT US SECTION (PREMIUM INTERACTIVE DESIGN)
   ============================================================ */

/* ── WRAPPER & BACKGROUND ── */
.pc-abt-section {
  position: relative;
  padding: calc(var(--section-px) * 3) 0;
  overflow: hidden;
  background: #ffffff;
}

/* Glowing Orbs */
.pc-abt-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    var(--color-indigo-100) 0%,
    rgba(99, 102, 241, 0) 70%
  );
  top: -5%;
  left: -10%;
}
.pc-abt-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    var(--color-purple-100) 0%,
    rgba(139, 92, 246, 0) 70%
  );
  bottom: 10%;
  right: -5%;
  animation-delay: 2s;
}

/* ── GRID LAYOUT ── */
.pc-abt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── LEFT TEXT CONTENT ── */
.pc-abt-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pc-abt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-indigo-50);
  color: var(--color-indigo-600);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  border: 1px solid var(--color-indigo-100);
}

.pc-abt-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: block;
}

.pc-abt-title {
  margin-bottom: 8px;
}
.pc-abt-content p {
  color: var(--color-gray-600);
}
.pc-abt-content strong {
  color: var(--color-gray-900);
}
.pc-abt-action {
  margin-top: 12px;
}

/* ── RIGHT VISUALS (INTERACTIVE & STAGGERED) ── */
.pc-abt-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Image Box Frame */
.pc-abt-img-box {
  position: relative;
  width: 80%;
  z-index: 1;
}

/* Decorative offset border */
.pc-abt-img-box::before {
  content: "";
  position: absolute;
  inset: -15px -15px 15px 15px;
  border: 2px dashed var(--color-indigo-200);
  border-radius: 26px;
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image Inner Mask (For hover zoom) */
.pc-abt-img-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.1);
  transform: translateZ(0); /* Force hardware acceleration */
}

.pc-abt-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-abt-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0) 50%,
    rgba(17, 24, 39, 0.3) 100%
  );
  z-index: 2;
  transition: opacity 0.5s ease;
}

/* Image Hover Interactions */
.pc-abt-img-box:hover::before {
  inset: -8px -8px 8px 8px;
  border-color: var(--color-indigo-400);
  background: rgba(99, 102, 241, 0.02);
}
.pc-abt-img-box:hover .pc-abt-img {
  transform: scale(1.08);
}
.pc-abt-img-box:hover .pc-abt-img-overlay {
  opacity: 0.7;
}

/* Floating Experience Badge */
.pc-abt-float-exp {
  position: absolute;
  bottom: -30px;
  left: -40px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3;
  animation: pc-floatY 6s ease-in-out infinite;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: default;
}

.pc-abt-float-exp:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 25px 45px rgba(99, 102, 241, 0.25);
  animation-play-state: paused; /* Pauses floating on hover */
}

.pc-abt-exp-num {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.pc-abt-exp-txt {
  display: flex;
  flex-direction: column;
}
.pc-abt-exp-title {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.pc-abt-exp-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray-900);
  font-weight: 800;
  line-height: 1;
}

/* Services Glass Card */
.pc-abt-services-card {
  position: relative;
  width: 90%;
  align-self: flex-start;
  margin-top: -40px;
  z-index: 2;
  padding: 35px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Subtle glow inside the card on hover */
.pc-abt-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(99, 102, 241, 0.1),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pc-abt-services-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px rgba(99, 102, 241, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 1);
}
.pc-abt-services-card:hover .pc-abt-card-glow {
  opacity: 1;
}

.pc-abt-skills-title {
  color: var(--color-gray-900);
  margin-bottom: 18px;
  font-size: 1.15rem;
  position: relative;
  z-index: 2;
}
.pc-abt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Enhanced Pills */
.pc-abt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--color-gray-100);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray-700);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  cursor: default;
}
.pc-abt-pill i {
  color: var(--color-indigo-500);
  transition: transform 0.3s ease;
}

.pc-abt-pill:hover {
  transform: translateY(-3px);
  background: var(--color-indigo-50);
  border-color: var(--color-indigo-200);
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.1);
  color: var(--color-indigo-700);
}
.pc-abt-pill:hover i {
  transform: scale(1.2);
}

/* Trust Indicators */
.pc-abt-trust {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-indigo-200);
  position: relative;
  z-index: 2;
}
.pc-abt-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-abt-trust-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gray-800);
}
.pc-abt-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ecfdf5; /* Soft green bg */
  color: #10b981; /* Success green */
  border-radius: 50%;
  font-size: 0.7rem;
}

/* ── RESPONSIVE DESIGN (TABLET & MOBILE) ── */
@media (max-width: 1024px) {
  .pc-abt-grid {
    gap: 40px;
  }
  .pc-abt-float-exp {
    left: -20px;
    padding: 12px 20px;
  }
  .pc-abt-exp-num {
    font-size: 2.2rem;
  }
}

@media (max-width: 900px) {
  .pc-abt-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .pc-abt-orb-1,
  .pc-abt-orb-2 {
    display: none;
  }

  .pc-abt-visual {
    align-items: center;
  }

  .pc-abt-img-box {
    width: 95%;
  }
  .pc-abt-img {
    aspect-ratio: 16 / 9;
  }

  .pc-abt-float-exp {
    bottom: -20px;
    left: 20px;
    animation: none;
  }

  .pc-abt-services-card {
    width: 100%;
    align-self: center;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .pc-abt-img-box {
    width: 100%;
  }
  .pc-abt-img-box::before {
    display: none;
  } /* Hide decorative frame on tiny screens to prevent overflow */

  .pc-abt-services-card {
    padding: 24px;
  }
  .pc-abt-trust {
    flex-direction: column;
    gap: 12px;
  }

  .pc-abt-float-exp {
    left: 10px;
    bottom: -15px;
    padding: 10px 16px;
  }
  .pc-abt-exp-num {
    font-size: 1.8rem;
  }
  .pc-abt-exp-title {
    font-size: 0.75rem;
  }
  .pc-abt-exp-subtitle {
    font-size: 0.9rem;
  }
}

/* ============================================================
   OUR SERVICES SECTION (ENHANCED INTERACTIVE MESH PARALLAX)
   ============================================================ */

/* ── SECTION WRAPPER ── */
.pc-srv-section {
  position: relative;
  padding: calc(var(--section-px) * 2) 0;
  background: #ffffff;
  overflow: visible;
  z-index: 1;
}

/* ── ANIMATED MESH GRADIENT BACKGROUND ── */
.pc-srv-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.pc-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: pc-meshFloat 15s infinite alternate ease-in-out;
  transform-origin: center center;
}

.pc-mesh-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--color-indigo-200);
  top: -10%;
  left: -10%;
}

.pc-mesh-orb-2 {
  width: 600px;
  height: 600px;
  background: var(--color-purple-100);
  bottom: -10%;
  right: -5%;
  animation-delay: -5s;
}

.pc-mesh-orb-3 {
  width: 600px;
  height: 600px;
  background: var(--color-indigo-200);
  top: 40%;
  left: 40%;
  animation-delay: -10s;
}

@keyframes pc-meshFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(50px, 80px) scale(1.15) rotate(45deg);
  }
  100% {
    transform: translate(-50px, 40px) scale(0.9) rotate(-30deg);
  }
}

/* ── LAYOUT GRID ── */
.pc-srv-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

/* ── LEFT: STICKY COLUMN ── */
.pc-srv-sticky-col {
  position: sticky;
  top: 140px;
  height: auto;
}

.pc-srv-sticky-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pc-srv-title {
  margin-bottom: 0;
}
.pc-srv-desc {
  color: var(--color-gray-600);
  margin-bottom: 10px;
}

/* Premium SEO Box + Rocket Interaction */
.pc-srv-seo-box {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: default;
}

.pc-srv-seo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
  transition: all 0.4s ease;
}

@keyframes pc-rocket-shake {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  25% {
    transform: translateY(-3px) rotate(-8deg);
  }
  75% {
    transform: translateY(-3px) rotate(8deg);
  }
}

.pc-srv-seo-box:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 45px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.pc-srv-seo-box:hover .pc-srv-seo-icon {
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.5);
}

.pc-srv-seo-box:hover .pc-srv-seo-icon i {
  animation: pc-rocket-shake 0.5s ease-in-out infinite;
}

.pc-srv-seo-box p {
  color: var(--color-gray-700);
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
}
.pc-srv-btn {
  margin-top: 12px;
  align-self: flex-start;
}

/* ── RIGHT: STAGGERED SCROLLING GRID ── */
.pc-srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-bottom: 40px;
}

/* Stagger every second card down by 60px */
.pc-srv-card:nth-child(even) {
  transform: translateY(60px);
}

/* Service Card Base */
.pc-srv-card {
  padding: 36px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.04);
  /* Spring-like bounce curve for premium feel */
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

/* 💥 NEW: Glass Shimmer Sweep */
.pc-srv-card-shimmer {
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 10;
  pointer-events: none;
}

@keyframes pc-shimmer-sweep {
  100% {
    left: 200%;
  }
}

.pc-srv-card:hover .pc-srv-card-shimmer {
  animation: pc-shimmer-sweep 0.7s ease-in-out forwards;
}

/* Inner Hover Glow */
.pc-srv-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
  pointer-events: none;
}

/* Hover Physics for the Grid */
.pc-srv-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 35px 70px rgba(99, 102, 241, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 1);
}

/* Hover transform logic ensuring staggered items bounce correctly */
.pc-srv-card:nth-child(odd):hover {
  transform: translateY(-12px) scale(1.02);
}
.pc-srv-card:nth-child(even):hover {
  transform: translateY(48px) scale(1.02);
}

.pc-srv-card:hover .pc-srv-card-glow {
  opacity: 1;
}

/* Icons */
.pc-srv-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  color: var(--color-indigo-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.pc-srv-card:hover .pc-srv-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.15) translateY(-5px) rotate(-8deg);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Cascading Text Lift */
.pc-srv-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0;
  transition: all 0.4s ease;
  transform: translateY(0);
  position: relative;
  z-index: 2;
}

.pc-srv-card-desc {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
  transition: all 0.4s ease;
  transform: translateY(0);
  position: relative;
  z-index: 2;
}

.pc-srv-card:hover .pc-srv-card-title {
  color: var(--color-indigo-600);
  transform: translateY(-3px);
}
.pc-srv-card:hover .pc-srv-card-desc {
  color: var(--color-gray-800);
  transform: translateY(-2px);
}

/* ── RESPONSIVE DESIGN ── */

@media (max-width: 1024px) {
  .pc-srv-layout {
    gap: 40px;
  }
  .pc-srv-grid {
    gap: 24px;
  }
  .pc-srv-card {
    padding: 28px 24px;
  }
}

@media (max-width: 900px) {
  .pc-srv-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .pc-srv-sticky-col {
    position: relative;
    top: 0;
  }
  .pc-srv-sticky-content {
    align-items: center;
    text-align: center;
  }
  .pc-srv-seo-box {
    text-align: left;
  }
  .pc-srv-btn {
    align-self: center;
  }

  .pc-mesh-orb {
    filter: blur(80px);
  }
}

@media (max-width: 600px) {
  .pc-srv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Remove stagger effect on mobile so it doesn't break single column */
  .pc-srv-card:nth-child(even) {
    transform: translateY(0);
  }
  .pc-srv-card:nth-child(even):hover {
    transform: translateY(-10px) scale(1.02);
  }
  .pc-srv-card:nth-child(odd):hover {
    transform: translateY(-10px) scale(1.02);
  }

  .pc-srv-seo-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pc-mesh-orb-3 {
    display: none;
  }
}

/* ============================================================
   PRODUCT SHOWCASE SECTION (COMPACT OVERLAP + FLOW ANIMATION)
   ============================================================ */

/* ── SECTION WRAPPER ── */
.pc-prd-section {
  position: relative;
  padding: calc(var(--section-px) * 3) 0;
  background-color: #f0f4fd;
  background-image:
    radial-gradient(at 10% 40%, rgba(200, 240, 255, 0.7) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(240, 200, 255, 0.6) 0px, transparent 50%),
    radial-gradient(at 40% 70%, rgba(210, 190, 255, 0.5) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(255, 240, 200, 0.6) 0px, transparent 50%),
    radial-gradient(at 50% 30%, rgba(255, 210, 230, 0.5) 0px, transparent 50%);
  overflow: hidden;
  z-index: 1;
}

/* Subtle background depth */
.pc-prd-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 1000px;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 65%
  );
  z-index: -1;
  pointer-events: none;
}

/* ── HEADER ── */
.pc-prd-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pc-prd-title {
  margin: 0;
}
.pc-prd-desc {
  color: var(--color-gray-600);
}

/* ── PRODUCT LIST & ITEMS ── */
.pc-prd-list {
  display: flex;
  flex-direction: column;
  gap: 140px; /* Space for connecting arrows */
}

/* Base item wrapper */
.pc-prd-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  --px-img: 0px;
  --px-crd: 0px;
}

/* ── IMAGE WRAPPER (WIDE & COMPACT) ── */
.pc-prd-img-wrap {
  width: 85%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(17, 24, 39, 0.08);
  transform: translateZ(0);
}

/* Zig-Zag Images */
.pc-prd-item:nth-child(even) .pc-prd-img-wrap {
  margin-left: auto;
}

.pc-prd-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
  transform: translateY(var(--px-img)) scale(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.pc-prd-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0) 40%,
    rgba(17, 24, 39, 0.4) 100%
  );
  z-index: 2;
  transition: opacity 0.5s ease;
}

.pc-prd-item:hover .pc-prd-img {
  transform: translateY(var(--px-img)) scale(1.1);
}
.pc-prd-item:hover .pc-prd-img-overlay {
  opacity: 0.6;
}

/* ── GLASS CONTENT CARD (OVERLAPPING) ── */
.pc-prd-content {
  width: 50%;
  margin-top: -100px; /* Overlap image */
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(var(--px-crd));
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.6s ease;
  will-change: transform;
}

/* Zig-Zag Cards */
.pc-prd-item:nth-child(even) .pc-prd-content {
  margin-right: auto;
}
.pc-prd-item:nth-child(odd) .pc-prd-content {
  margin-left: auto;
}

/* Card Hover Physics */
.pc-prd-item:hover .pc-prd-content {
  transform: translateY(calc(var(--px-crd) - 10px));
  box-shadow:
    0 35px 60px rgba(99, 102, 241, 0.15),
    inset 0 0 0 1px var(--color-indigo-200);
}

/* Background Numbers */
.pc-prd-watermark {
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 7rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(99, 102, 241, 0.1);
  z-index: -1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.pc-prd-item:hover .pc-prd-watermark {
  transform: translateY(8px) scale(1.05);
  -webkit-text-stroke: 1.5px rgba(99, 102, 241, 0.18);
}

/* Icon & Text */
.pc-prd-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25);
  margin-bottom: 4px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pc-prd-item:hover .pc-prd-icon {
  transform: scale(1.1) rotate(-5deg);
}
.pc-prd-content h3 {
  margin: 0;
  color: var(--color-gray-900);
  font-size: 1.4rem;
}
.pc-prd-content p {
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.6;
}
.pc-prd-btn {
  align-self: flex-start;
  margin-top: 8px;
}
.pc-prd-btn i {
  transition: transform 0.3s ease;
}
.pc-prd-btn:hover i {
  transform: translateX(4px);
}

/* ── 🔥 ANIMATED ARROW CONNECTORS ── */
.pc-prd-connector {
  position: absolute;
  bottom: -130px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  --draw-progress: 0; /* Updated by JS */
}

.pc-prd-connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.3));
}

.pc-prd-connector path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.pc-conn-mobile {
  display: none;
}

/* The Faint Background Path */
.pc-conn-track {
  stroke: var(--color-indigo-100);
  stroke-width: 2px;
  stroke-dasharray: 6 8;
  opacity: 0.5;
}

/* The Animated Flowing Arrow Line */
.pc-conn-flow {
  stroke: var(--color-indigo-600);
  stroke-width: 3px;
  stroke-dasharray: 10 10;
  /* Draw line on scroll */
  stroke-dashoffset: calc(
    var(--path-length) - (var(--path-length) * var(--draw-progress))
  );
  transition: stroke-dashoffset 0.1s linear;
}

/* 💥 The "Marching Ants" Continuous Flow Animation */
.pc-prd-connector.is-flowing .pc-conn-flow {
  /* Switches to infinite animation once drawn */
  animation: pc-arrow-flow 0.8s linear infinite;
}

@keyframes pc-arrow-flow {
  to {
    stroke-dashoffset: -20;
  } /* Matches dasharray loop size */
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .pc-prd-img-wrap {
    width: 90%;
  }
  .pc-prd-content {
    width: 60%;
    padding: 35px;
  }
}

@media (max-width: 900px) {
  .pc-prd-list {
    gap: 100px;
  }
  .pc-prd-img-wrap {
    width: 100%;
  }
  .pc-prd-img {
    aspect-ratio: 16 / 8;
  }

  .pc-prd-content {
    width: 90%;
    margin: -60px auto 0 auto !important;
    padding: 30px 24px;
    --px-crd: 0px !important;
    --px-img: 0px !important;
  }

  .pc-prd-watermark {
    font-size: 5rem;
    right: 10px;
    top: -10px;
  }

  /* Switch Connectors to Mobile Layout */
  .pc-prd-connector {
    bottom: -100px;
    height: 90px;
  }
  .pc-conn-desktop {
    display: none;
  }
  .pc-conn-mobile {
    display: block;
  }
}

@media (max-width: 480px) {
  .pc-prd-header {
    margin-bottom: 40px;
  }
  .pc-prd-img {
    aspect-ratio: 4 / 3;
  }

  .pc-prd-content {
    width: 95%;
    margin-top: -40px !important;
    padding: 24px 20px;
  }
  .pc-prd-watermark {
    display: none;
  }
}

   /* ============================================================
           PORTFOLIO STACK SECTION
           ============================================================ */
        .portfolio-stack-section {
            position: relative;
            padding: 8rem 0;
            background: var(--color-gray-50);
        }

        .portfolio-stack-header {
            text-align: center;
            margin-bottom: 10vh;
            position: relative;
            z-index: 10;
        }

        .portfolio-stack-header p {
            color: var(--color-gray-500);
            max-width: 650px;
            margin: 1.5rem auto 0 auto;
        }

        .portfolio-stack-container {
            display: flex;
            flex-direction: column;
            gap: 10vh; /* Spacing between cards before they stack */
            padding-bottom: 30px;
        }

        /* ── STICKY CARD WRAPPER ── */
        .portfolio-stack-card-wrapper {
            position: sticky;
            top: 12vh; /* Where the card "sticks" to the screen */
            height: 76svh; /* svh handles mobile address bar expansion/collapse natively */
            min-height: 480px; 
            width: 100%;
            transform-origin: top center;
            will-change: transform, filter; 
        }

        /* ── INNER CARD (Contains the actual UI, gets scaled by JS) ── */
        .portfolio-stack-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 32px;
            overflow: hidden;
            background-color: var(--color-gray-900);
            box-shadow: 0 40px 80px -20px rgba(17, 24, 39, 0.25);
            display: flex;
            align-items: flex-end;
            transform-origin: top center;
            /* Do NOT add transition here for transform/filter. JS needs direct frame control */
        }

        /* ── IMAGES (Picture Element) ── */
        .portfolio-stack-card-bg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
        }

        .portfolio-stack-card-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
            will-change: transform;
        }

        .portfolio-stack-card-wrapper:hover .portfolio-stack-card-bg img {
            transform: scale(1.06); /* Cinematic zoom on hover */
        }

        /* ── CINEMATIC OVERLAY ── */
        .portfolio-stack-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to top,
                rgba(17, 24, 39, 0.95) 0%,
                rgba(17, 24, 39, 0.5) 40%,
                rgba(17, 24, 39, 0.1) 100%
            );
            z-index: 1;
            pointer-events: none;
        }

        /* ── CONTENT LAYOUT ── */
        .portfolio-stack-card-content {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: 4rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 3rem;
        }

        .portfolio-stack-card-info {
            max-width: 650px;
        }

        /* ── TAGS (Glassmorphism) ── */
        .portfolio-stack-tags {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .portfolio-stack-tag {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #ffffff;
            padding: 0.6rem 1.4rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        /* ── TEXT COLORS (Overridden for dark bg) ── */
        .portfolio-stack-card-title {
            color: #ffffff;
            margin-bottom: 0.75rem;
        }

        .portfolio-stack-card-desc {
            color: var(--color-indigo-100);
            opacity: 0.85;
            margin: 0;
        }

        /* ── ACTION BUTTON ── */
        .portfolio-stack-btn-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #ffffff;
            color: var(--color-indigo-600);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1.5rem;
            flex-shrink: 0;
            transition: var(--transition-smooth);
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .portfolio-stack-btn-circle i {
            position: relative;
            z-index: 2;
            transition: transform 0.4s ease;
        }

        .portfolio-stack-btn-circle::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-primary); 
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: 1;
        }

        /* Button Hover Effects */
        .portfolio-stack-card-wrapper:hover .portfolio-stack-btn-circle::before {
            transform: scale(1);
        }
        .portfolio-stack-card-wrapper:hover .portfolio-stack-btn-circle {
            color: #fff;
            transform: scale(1.1);
            box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4); 
        }
        .portfolio-stack-card-wrapper:hover .portfolio-stack-btn-circle i {
            transform: rotate(45deg);
        }

        /* ============================================================
           MOBILE RESPONSIVENESS (The "Best Fit" logic)
           ============================================================ */
        @media (max-width: 1024px) {
            .portfolio-stack-card-content {
                padding: 3rem;
            }
            .portfolio-stack-card-wrapper {
                height: 70svh;
            }
        }
 
        @media (max-width: 768px) {
            .portfolio-stack-section { 
                padding: 2rem 0;
            }
            .portfolio-stack-header { 
                margin-bottom: 6vh;
            }
            .portfolio-stack-card-wrapper {
                height: 65svh; /* More room for the sticky effect on phones */
                top: 15svh;
                min-height: 400px;
            }
            .portfolio-stack-card-inner {
                border-radius: 24px;
            }
            
            /* Mobile Content Layout: Title and Arrow Side-by-Side */
            .portfolio-stack-card-content {
                padding: 1.5rem;
                flex-direction: row; /* Force them into a row */
                justify-content: space-between;
                align-items: center; /* Center them vertically relative to each other */
                gap: 1rem;
            }
            
            .portfolio-stack-card-info {
                /* Constrain title width so it never breaks into the button */
                max-width: calc(100% - 70px); 
            }
            
            .portfolio-stack-card-title {
                margin-bottom: 0; /* Remove gap */
                font-size: 1.3rem;
                line-height: 1.25;
                /* Optional: Add ellipsis if title is too long for one line on very small screens */
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            
            /* Hide the description and tags completely on mobile */
            .portfolio-stack-card-desc,
            .portfolio-stack-tags {
                display: none;
            }
            
            /* Resize the button for mobile */
            .portfolio-stack-btn-circle {
                width: 55px;
                height: 55px;
                font-size: 1.2rem;
            }
        }

        /* Utilities */
        .demo-spacer {
            height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-gray-50);
            color: var(--color-gray-500);
            font-size: 1.2rem;
        }

        /* Entry Animation */
        @keyframes pc-fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .anim-fade-up { opacity:0; animation: pc-fadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
        .anim-delay-200 { animation-delay: 200ms; }

/* ============================================================
   TESTIMONIALS (INFINITE MARQUEE)
   ============================================================ */
.pc-testi-section {
  padding: calc(var(--section-px) * 2) 0;
  background: #ffffff;
  overflow: hidden;
}

.pc-testi-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pc-testi-header p {
  max-width: 600px;
  color: var(--color-gray-600);
}

/* Marquee Container */
.pc-testi-marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0;
  /* Soft gradient masks on the edges so cards fade out smoothly */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.pc-testi-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: pc-scroll-left 40s linear infinite;
  padding-left: 30px; /* Gap correction */
}

/* Pause animation on hover so user can read */
.pc-testi-track:hover {
  animation-play-state: paused;
}

@keyframes pc-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  } /* Move exactly half the track width */
}

/* Testimonial Card */
.pc-testi-card {
  width: 450px;
  padding: 35px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s ease;
  cursor: default;
}

.pc-testi-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(99, 102, 241, 0.1),
    inset 0 0 0 1px var(--color-indigo-200);
}

.pc-testi-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.pc-testi-text {
  font-size: 1.05rem;
  color: var(--color-gray-700);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}

.pc-testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.pc-testi-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.pc-testi-info {
  display: flex;
  flex-direction: column;
}
.pc-testi-info strong {
  color: var(--color-gray-900);
  font-size: 1rem;
}
.pc-testi-info span {
  color: var(--color-gray-500);
  font-size: 0.85rem;
}

/* ============================================================
   FAQ SECTION (GLASS ACCORDION - FIXED)
   ============================================================ */

.pc-faq-section {
  padding: calc(var(--section-px) * 2) 0;
  background: #f8fafc;
}

/* Layout */
.pc-faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
  .pc-faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* LEFT CONTENT */
.pc-faq-content-left {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Disable sticky on mobile */
@media (max-width: 768px) {
  .pc-faq-content-left {
    position: static;
  }
}

.pc-mt-4 {
  margin-top: 16px;
  width: fit-content;
}

/* Accordion */
.pc-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Item */
.pc-faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: all 0.3s ease;
}

.pc-faq-item:hover,
.pc-faq-item.is-open {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
}

/* Button */
.pc-faq-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

/* Question */
.pc-faq-q {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-gray-900);
  transition: color 0.3s ease;
}

/* Icon */
.pc-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-indigo-50);
  color: var(--color-indigo-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Active State */
.pc-faq-item.is-open .pc-faq-q {
  color: var(--color-indigo-600);
}

.pc-faq-item.is-open .pc-faq-icon {
  transform: rotate(135deg);
  background: var(--gradient-primary);
  color: #fff;
}

/* Answer (FIXED ANIMATION) */
.pc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Inner Content */
.pc-faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  .pc-faq-btn {
    padding: 16px 18px;
  }

  .pc-faq-q {
    font-size: 1rem;
  }

  .pc-faq-answer-inner {
    padding: 0 18px 16px;
  }
}