/* ==========================================================================
   Split Hero Layout Configurations (Unique Prefix: mfe-hero-)
   ========================================================================== */
.mfe-hero-wrapper {
  padding: 160px 0 90px 0;
  background-color: #fcfcfc; /* Light canvas matching image backdrop */
  background-image: url("../images/service/hero-practice-bg-1.png");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Structural Image Frame Tuning */
.mfe-hero-image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mfe-hero-side-img {
  object-fit: cover;
  display: block;
  height: auto;
  max-height: 520px; /* Maintains original boxy container aspect ratios */
}

/* Right Core Copy Block Typography Styling */
.mfe-hero-title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #111111;
  margin-bottom: 35px;
}

.mfe-hero-orange-highlight {
  color: var(--primary-orange);
}

.mfe-hero-lead-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  color: #333332;
  margin-bottom: 20px;
  max-width: 620px;
}

.mfe-hero-sub-text {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.65;
  color: #666665;
  max-width: 620px;
}

/* Button & Link Component Structures */
.mfe-hero-btn-solid {
  background-color: var(--primary-orange);
  color: #ffffff;
  padding: 16px 28px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 4px;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease;
}

.mfe-hero-btn-solid:hover {
  background-color: #e55a03;
  color: #ffffff;
  transform: translateY(-2px);
}

.mfe-hero-btn-link {
  color: #111111;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  position: relative;
  padding: 4px 0;
}

/* Custom interactive underline effect matching layout specifications */
.mfe-hero-btn-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #111111;
  transition: background-color 0.25s ease;
}

.mfe-hero-btn-link:hover {
  color: var(--primary-orange);
}
.mfe-hero-btn-link:hover::after {
  background-color: var(--primary-orange);
}

/* Dynamic Animated Bottom-Right Flow Indicator Arrow */
.mfe-hero-scroll-indicator {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  animation: mfeArrowBounce 2s infinite;
}

.mfe-hero-scroll-indicator svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Responsive Viewport Scaling Architecture
   ========================================================================== */
@keyframes mfeArrowBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1200px) {
  .mfe-hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 991px) {
  .mfe-hero-wrapper {
    padding: 150px 0 80px 0;
  }
  .mfe-hero-title {
    font-size: 2.4rem;
    margin-top: 15px;
  }
  .mfe-hero-side-img {
    max-height: 380px;
    width: 100%;
  }
  .mfe-hero-scroll-indicator {
    display: none;
  } /* Drops clutter element on tablet viewports */
}

@media (max-width: 576px) {
  .mfe-hero-wrapper {
    padding: 100px 0 50px 0;
  }
  .mfe-hero-title {
    font-size: 1.95rem;
    letter-spacing: -1px;
  }
  .mfe-hero-actions-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .mfe-hero-btn-solid {
    text-align: center;
  }
  .mfe-hero-btn-link {
    display: inline-block;
    width: max-content;
    margin: 0 auto;
  }
}

/* engagement-section css starts */

.engagement-section {
  background-color: #fff;
  padding: 90px 0;
}

/* Section Heading */
.engagement-eyebrow {
  color: var(--primary-orange);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.engagement-title {
  color: var(--heading-black);
  font-family: "Unbounded", sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 3rem;
}

/* Cards */
.engagement-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.engagement-card:hover {
  transform: translateY(-4px);
  border-color: #e2e2e2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Icon */
.icon-box {
  width: 42px;
  height: 42px;
  background: var(--primary-orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 0 var(--heading-black);
  margin-bottom: 24px;
}

.icon-box img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Typography */
.engagement-card h5 {
  color: var(--heading-black);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}

.engagement-card p {
  color: var(--text-gray);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
}

/* Image */
.engagement-image {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.engagement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .engagement-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 991px) {
  .engagement-section {
    padding: 80px 0;
  }

  .engagement-title {
    font-size: 2.2rem;
  }

  .engagement-image {
    height: 450px;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .engagement-section {
    padding: 60px 0;
  }

  .engagement-title {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .engagement-card {
    padding: 22px;
  }

  .engagement-card h5 {
    font-size: 14px;
  }

  .engagement-card p {
    font-size: 13px;
  }

  .engagement-image {
    height: 320px;
  }
}

/* engagement-section css ends */

/* ==========================================================================
   Program Creates Section Styles (Scoped with unique prefix: pc-unique-)
   ========================================================================== */
.pc-unique-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.pc-unique-heading {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-top: 0.5rem;
}

.pc-unique-tag {
  font-size: 13px;
  font-weight: 700;
  color: #333332;
  margin-bottom: 4px;
}

.pc-unique-subtag {
  font-size: 13px;
  font-weight: 600;
  color: #666665;
}

/* Base Unique Card Layouts */
.pc-unique-card {
  padding: 40px 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pc-unique-card:hover {
  transform: translateY(-4px);
}

/* White Card Style Variant */
.pc-unique-card.pc-unique-white {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.pc-unique-card.pc-unique-white:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border-color: #dfdfdf;
}

/* Orange Card Style Variant */
.pc-unique-card.pc-unique-orange {
  background-color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  box-shadow: 0 10px 30px rgba(255, 100, 4, 0.2);
}

.pc-unique-card.pc-unique-orange:hover {
  box-shadow: 0 15px 35px rgba(255, 100, 4, 0.3);
}

/* Card Elements Content Stylings */
.pc-unique-card .pc-unique-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 30px;
}

.pc-unique-card .pc-unique-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

.pc-unique-card .pc-unique-desc {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

/* Utility Helpers within Scope */
.pc-unique-orange-text {
  color: var(--primary-orange);
}
.pc-unique-white-text {
  color: #ffffff;
}

.pc-unique-card.pc-unique-white .pc-unique-desc {
  color: var(--text-gray);
}

.pc-unique-card.pc-unique-orange .pc-unique-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsiveness Adaptations */
@media (max-width: 991px) {
  .pc-unique-heading {
    font-size: 2.2rem;
  }
  .pc-unique-card {
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  .pc-unique-section {
    padding: 60px 0;
  }
  .pc-unique-heading {
    font-size: 1.8rem;
  }
  .pc-unique-card .pc-unique-num {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   Program Audience Section Styles (Unique Prefix: wpf-target-)
   ========================================================================== */
.wpf-target-section {
  padding: 90px 0;
  background-color: #fff;
}

.wpf-target-heading {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-top: 0.5rem;
}

/* Individual Standard Component Box Behaviors */
.wpf-target-card {
  padding: 40px 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

/* Lifting Hover Actions */
.wpf-target-card:hover {
  transform: translateY(-6px);
}

/* Light Card Mode */
.wpf-target-card.wpf-target-white {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.wpf-target-card.wpf-target-white:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  border-color: #dfdfdf;
}

/* Inner Column Mid-Orange Card Box */
.wpf-target-card.wpf-target-orange {
  background-color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  box-shadow: 0 8px 25px rgba(255, 100, 4, 0.15);
}

.wpf-target-card.wpf-target-orange:hover {
  box-shadow: 0 14px 35px rgba(255, 100, 4, 0.25);
}

/* Premium Offset Shadow Icon Frame Setup */
.wpf-target-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: #000000;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-shrink: 0;
}

/* The signature orange shadow drop offset effect seen in the designs */
.wpf-target-icon-wrap::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--primary-orange);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
}

.wpf-target-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  position: relative;
  z-index: 2;
}

/* Inverted Icon Wrapper Variant for Dark/Orange backgrounds */
.wpf-target-icon-inverted {
  background-color: #ffffff;
}
.wpf-target-icon-inverted svg {
  stroke: #000000;
}
.wpf-target-icon-inverted::before {
  border-color: #ffffff;
  opacity: 0.4;
}

/* Body Text Formatting Details */
.wpf-target-text {
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 500;
}

.wpf-target-white .wpf-target-text {
  color: var(--text-gray);
}

.wpf-target-orange .wpf-target-text,
.wpf-target-asymmetric-panel .wpf-target-panel-top .wpf-target-text {
  color: #ffffff;
}

/* Asymmetric Third Right Column Container Styles */
.wpf-target-asymmetric-panel {
  background-color: var(--primary-orange);
  border-radius: 12px;
  padding: 12px; /* Precision internal layout padding gap around sub elements */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(255, 100, 4, 0.2);
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.wpf-target-asymmetric-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(255, 100, 4, 0.3);
}

.wpf-target-asymmetric-panel .wpf-target-panel-top {
  padding: 28px 18px 40px 18px;
}

/* Interactive Floating Component Nesting overrides within Right panel */
.wpf-target-asymmetric-panel .wpf-target-panel-bottom {
  margin-top: auto;
  border-radius: 8px;
  transform: none !important; /* Disables double transform triggers */
  box-shadow: none !important;
}

/* Balanced Grid Breakpoint Viewport Adjustments */
@media (max-width: 991px) {
  .wpf-target-heading {
    font-size: 2.2rem;
  }
  .wpf-target-card {
    padding: 30px 24px;
  }
  .wpf-target-icon-wrap {
    margin-bottom: 25px;
  }
  .wpf-target-asymmetric-panel {
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  .wpf-target-section {
    padding: 60px 0;
  }
  .wpf-target-heading {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Build Authority Call-To-Action Block (Unique Prefix: bado-cta-)
   ========================================================================== */
.bado-cta-wrapper {
  width: 100%;
  padding: 70px 0;
  background-color: #050601; /* Dark fall-back baseline color matching image theme */
  background-image: url("../images/service/cta-bg.png"); /* Insert your actual asset path link here */
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Header Text Alignments & Separation Aesthetics */
.bado-cta-heading {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
}

/* The orange under-accent bar applied strictly to the target keyword text */
.bado-cta-accent-underline {
  position: relative;
  display: inline-block;
}

.bado-cta-accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background-color: var(--primary-orange);
}

/* Thin vertical white structure line layout separator */
.bado-cta-border-col {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 35px !important;
}

.bado-cta-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* Universal Button Blueprint Configurations */
.bado-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 58px;
}

.bado-btn-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bado-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bado-btn-text {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.bado-btn-arrow {
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.3s ease;
}

/* Hover Action: Shifts individual button arrows smoothly to the right */
.bado-cta-btn:hover .bado-btn-arrow {
  transform: translateX(5px);
}

/* VARIANT 1: Dark Transparent Frame with Orange Borders */
.bado-btn-dark-orange {
  background-color: rgba(10, 12, 0, 0.4);
  border: 1px solid rgba(255, 100, 4, 0.4);
  color: var(--primary-orange);
}
.bado-btn-dark-orange .bado-btn-icon {
  stroke: var(--primary-orange);
}
.bado-btn-dark-orange:hover {
  background-color: rgba(255, 100, 4, 0.08);
  border-color: var(--primary-orange);
}

/* VARIANT 2: Dark Transparent Frame with White Borders */
.bado-btn-dark-white {
  background-color: rgba(10, 12, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.bado-btn-dark-white .bado-btn-icon {
  stroke: #ffffff;
}
.bado-btn-dark-white:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* VARIANT 3: Solid Accent Brand Highlight Button */
.bado-btn-solid-orange {
  background-color: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 100, 4, 0.25);
}
.bado-btn-solid-orange .bado-btn-icon {
  stroke: #ffffff;
}
.bado-btn-solid-orange:hover {
  background-color: #e55a03;
  border-color: #e55a03;
  box-shadow: 0 6px 20px rgba(255, 100, 4, 0.4);
}

/* ==========================================================================
   Responsive Viewport Adaptive Systems
   ========================================================================== */
@media (max-width: 1200px) {
  .bado-btn-text {
    font-size: 12.5px;
  }
  .bado-cta-btn {
    padding: 14px 16px;
  }
}

@media (max-width: 991px) {
  .bado-cta-wrapper {
    padding: 70px 0;
  }
  .bado-cta-heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
  }
  .bado-cta-accent-underline::after {
    bottom: -3px;
  }

  /* Drop vertical separation border line on tablet/mobile views */
  .bado-cta-border-col {
    border-left: none;
    padding-left: 12px !important;
    text-align: center !important;
  }
  .bado-cta-desc {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .bado-cta-heading {
    font-size: 1.65rem;
  }
  .bado-cta-btn {
    padding: 16px 20px;
  }
}
