/* ==========================================================================
   Performance Marketing 4U - Interactive Sticky Founder Journey Section
   PM4U Signature Brand Identity: Deep Navy (#0a1c43) + Growth Emerald (#28a745)
   Scroll-Pinned Deck Overlay Experience
   Prefix: pm4u-founder-
   ========================================================================== */

.pm4u-founder-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 45%, #f8fafc 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
  overflow: visible;
}

/* Ambient Brand Glow Lights (Navy & Emerald Green) */
.pm4u-founder-glow-1 {
  position: absolute;
  top: 10%;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(40, 167, 69, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

.pm4u-founder-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 28, 67, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* --------------------------------------------------------------------------
   Scroll Track: Generates the scroll distance for card overlay transitions
   -------------------------------------------------------------------------- */
.pm4u-founder-scroll-track {
  position: relative;
  height: 3800px;
  width: 100%;
}

/* Pinned Sticky Frame that locks onto viewport while cards overlay */
.pm4u-founder-sticky-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  max-height: 870px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 0 20px;
  z-index: 15;
  box-sizing: border-box;
}

/* Viewport Fixed Pin State (Active while scrolling inside the track) */
.pm4u-founder-sticky-frame.is-fixed {
  position: fixed !important;
  top: 80px !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
}

/* Bottom Park State (When track has finished scrolling) */
.pm4u-founder-sticky-frame.is-bottom {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
}

/* --------------------------------------------------------------------------
   Section Header: Brand Colors, Animated Shimmer & Informative Subtext
   -------------------------------------------------------------------------- */
.pm4u-founder-header-wrap {
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

/* Eyebrow Badge with Pulsing Live Dot */
.pm4u-founder-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40, 167, 69, 0.09);
  border: 1px solid rgba(40, 167, 69, 0.28);
  color: #1e7e34;
  padding: 4px 15px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.12);
}

.pm4u-founder-eyebrow i {
  color: #28a745;
  font-size: 12px;
}

.pm4u-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a745;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  animation: pm4uPulseDot 1.8s infinite;
}

@keyframes pm4uPulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* Main Animated Title */
.pm4u-founder-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #0a1c43;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 6px 0;
}

/* Brand Animated Gradient Shimmer (Navy -> Electric Blue -> Emerald Green) */
.pm4u-title-brand-gradient {
  background: linear-gradient(120deg, #0a1c43 0%, #2563eb 25%, #28a745 50%, #0a1c43 75%, #28a745 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: pm4uTitleShimmer 6s ease-in-out infinite alternate;
}

@keyframes pm4uTitleShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 100% center;
  }
}

/* Narrative Subtext */
.pm4u-founder-subtext {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #475569;
  max-width: 780px;
  line-height: 1.55;
  margin: 0 auto 4px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Two-Column Layout (Harmonious Stretch Alignment)
   -------------------------------------------------------------------------- */
.pm4u-founder-layout-row {
  align-items: stretch !important;
}

/* --------------------------------------------------------------------------
   Left Column: Founder Card (Balanced Height matching the Timeline Deck)
   -------------------------------------------------------------------------- */
.pm4u-founder-left-col {
  display: flex;
  flex-direction: column;
}

.pm4u-founder-profile-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 26px;
  padding: 16px 16px 14px;
  box-shadow: 0 20px 50px -10px rgba(10, 28, 67, 0.14), 0 0 0 1px rgba(40, 167, 69, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.pm4u-founder-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px -10px rgba(10, 28, 67, 0.2), 0 0 0 1px rgba(40, 167, 69, 0.25);
}

/* Top Accent Bar: Navy -> Blue -> Emerald Green */
.pm4u-founder-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0a1c43 0%, #2563eb 50%, #28a745 100%);
}

/* Portrait Image Frame */
.pm4u-founder-avatar-wrap {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: 18px;
  overflow: hidden;
  background: #0a1c43;
  box-shadow: 0 8px 20px rgba(10, 28, 67, 0.12);
  flex-shrink: 0;
}

.pm4u-founder-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* Floating Experience Pill (Navy + Emerald Brand Accents) */
.pm4u-founder-image-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(10, 28, 67, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(40, 167, 69, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.pm4u-founder-image-pill i {
  color: #28a745;
  font-size: 12px;
}

/* Founder Role Tag */
.pm4u-founder-role-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  padding: 0 4px;
}

.pm4u-founder-role-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a745;
  display: inline-block;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.4);
}

.pm4u-founder-role-text {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: #1e7e34;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
  align-items: center;
  gap: 4px;
}

.pm4u-founder-agency-tag i {
  font-size: 10px;
  color: #28a745;
}

/* Signature & Socials Bottom Row */
.pm4u-founder-signature-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  padding-left: 4px;
  padding-right: 4px;
  margin-top: auto;
}

.pm4u-founder-signature {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #0a1c43;
  transform: rotate(-2deg);
  line-height: 1;
}

.pm4u-founder-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm4u-founder-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.pm4u-founder-social-btn:hover {
  background: #0a1c43;
  color: #28a745;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 28, 67, 0.2);
}

/* --------------------------------------------------------------------------
   Right Column: Milestone Cards Stacking Deck (Direct Overlap Stage)
   -------------------------------------------------------------------------- */
.pm4u-founder-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Timeline Stage Header */
.pm4u-founder-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}

.pm4u-founder-deck-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #0a1c43;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pm4u-founder-deck-title i {
  color: #28a745;
  font-size: 13px;
}


/* The Fixed Card Stage: Holds the overlapping cards in identical coordinates */
.pm4u-founder-deck-stage {
  position: relative;
  width: 100%;
  height: 410px;
  border-radius: 26px;
}

/* Individual Milestone Card in Deck */
.pm4u-founder-deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 20px 50px -10px rgba(10, 28, 67, 0.16), 0 0 0 1px rgba(40, 167, 69, 0.1);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  will-change: transform, opacity;
  transform-origin: center bottom;
  overflow: hidden;
}

.pm4u-founder-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: center;
  height: 100%;
}

/* Card Left: Information */
.pm4u-founder-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Brand Navy-to-Emerald Year Badge */
.pm4u-founder-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0a1c43 0%, #218838 100%);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(10, 28, 67, 0.22);
}

.pm4u-founder-year-badge i {
  color: #34d399;
}

.pm4u-founder-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0a1c43;
  line-height: 1.25;
  margin: 0 0 4px 0;
}

.pm4u-founder-card-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #218838;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pm4u-founder-card-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 14px;
}

.pm4u-founder-highlight-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1e7e34;
}

.pm4u-founder-highlight-box i {
  color: #28a745;
  font-size: 13px;
  flex-shrink: 0;
}

/* Card Right: Image Box */
.pm4u-founder-card-img-wrap {
  position: relative;
  height: 100%;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(10, 28, 67, 0.12);
  background: #0a1c43;
}

.pm4u-founder-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm4u-founder-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 28, 67, 0.6) 100%);
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   Mobile & Tablet Responsive (Fallback to natural stacked cards)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .pm4u-founder-section {
    padding: 60px 0 70px;
  }
  .pm4u-founder-scroll-track {
    height: auto;
  }
  .pm4u-founder-sticky-frame {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .pm4u-founder-main-title {
    font-size: 28px;
  }
  .pm4u-founder-profile-card {
    max-width: 360px;
    margin: 0 auto 30px;
  }
  .pm4u-founder-avatar-wrap {
    height: 320px;
  }
  .pm4u-founder-deck-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .pm4u-founder-deck-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto;
    padding: 22px 18px;
  }
  .pm4u-founder-card-inner {
    grid-template-columns: 1fr;
  }
  .pm4u-founder-card-img-wrap {
    height: 220px;
    min-height: auto;
    order: -1;
  }
}

@media (max-width: 576px) {
  .pm4u-founder-section {
    padding: 45px 0 50px;
  }
  .pm4u-founder-main-title {
    font-size: 24px;
    line-height: 1.25;
  }
  .pm4u-founder-profile-card {
    max-width: 100%;
    margin: 0 auto 25px;
  }
  .pm4u-founder-avatar-wrap {
    height: 260px;
  }
  .pm4u-founder-deck-card {
    padding: 16px 14px;
    border-radius: 20px;
  }
  .pm4u-founder-card-title {
    font-size: 18px;
  }
  .pm4u-founder-card-desc {
    font-size: 13px;
    text-align: left;
  }
  .pm4u-founder-card-img-wrap {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm4u-founder-scroll-track {
    height: auto !important;
  }
  .pm4u-founder-sticky-frame {
    position: static !important;
    height: auto !important;
  }
  .pm4u-founder-deck-stage {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .pm4u-founder-deck-card {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
