/* Custom CSS for P&P Consulting Case Studies Page */

:root {
  --navy-dark: #16182F;
  --gold-primary: #b38728;
  --gold-light: #c89e27;
  --text-dark: #16182F;
  --text-muted: #525252;
  --bg-dark: #0d1326;
  --bg-light: #f7f9fa;
  --border-light: #e4e4e4;
}

/* Breadcrumbs Section */
.cs-breadcrumbs {
  background-color: transparent;
  padding: 20px 0 10px 0;
  font-size: 13px;
}
.cs-breadcrumbs ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cs-breadcrumbs li {
  color: #8c9096;
}
.cs-breadcrumbs li a {
  color: #8c9096;
  text-decoration: none;
  transition: color 0.3s;
}
.cs-breadcrumbs li a:hover {
  color: var(--gold-light);
}
.cs-breadcrumbs li + li::before {
  content: ">";
  padding: 0 8px;
  color: #ccc;
}

/* Flanked Section Titles */
.flanked-title-wrap {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.flanked-title-wrap h2 {
  font-family: "Futura PT", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin: 0;
}
.flanked-title-wrap h2::before,
.flanked-title-wrap h2::after {
  content: "";
  display: inline-block;
  width: 120px;
  height: 1px;
  background-color: var(--gold-light);
  vertical-align: middle;
}

/* Hero Section */
.cs-hero-section {
  padding: 40px 0 80px 0;
  background-color: #ffffff;
}
.cs-hero-content {
  padding-top: 40px;
}
.cs-hero-content h1 {
  font-family: "Futura PT", sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.cs-hero-content .title-underline {
  width: 70px;
  height: 4px;
  background-color: var(--gold-light);
  margin-bottom: 30px;
}
.cs-hero-content p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy-dark);
  max-width: 480px;
}

/* Hero Curved Graphics & Badge Card */
.cs-hero-graphics-wrap {
  position: relative;
  width: 100%;
}
.cs-hero-graphics {
  width: 100%;
  height: 400px;
  border-radius: 350px 0 0 350px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  z-index: 2;
  position: relative;
}
.cs-hero-graphics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-hero-deco-dot {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--gold-light);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(179, 135, 40, 0.3);
}
.cs-hero-badge-card {
  position: absolute;
  left: -60px;
  top: 40px;
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 30px 35px;
  border-radius: 12px;
  width: 290px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 5;
}
.cs-hero-badge-card h4 {
  font-family: "Futura PT", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.cs-hero-badge-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Filter Bar styles */
.cs-filter-bar-wrap {
  /* margin-bottom: 50px; */
  padding-top: 70px;
}
.cs-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.cs-filter-bar .filter-pill {
  padding: 10px 24px;
  border-radius: 25px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--navy-dark);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.cs-filter-bar .filter-pill:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.cs-filter-bar .filter-pill.active {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: #ffffff;
}
.cs-filter-bar .filter-pill i {
  font-size: 14px;
}

/* Main Case Studies Section */
.case-studies-list-section {
  padding: 50px 0 80px 0;
  background-color: #ffffff;
}

/* Core 3-Column Card */
.cs-main-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cs-main-card:hover {
  transform: translateY(-5px);
}
.cs-main-card .card-thumb-wrap {
  height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.cs-main-card .card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--gold-light);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
  letter-spacing: 0.5px;
}
.cs-card-body {
  padding: 30px;
  border: 1.5px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 12px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.cs-card-body h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 15px;
}
.cs-card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.cs-card-meta {
  display: flex;
  gap: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}
.cs-card-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-card-meta i {
  color: var(--gold-light);
}

/* Impact Achieved stats block */
.cs-card-impact h4 {
  font-family: "Futura PT", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
.stat-col {
  text-align: left;
}
.stat-col .stat-num {
  font-family: "Futura PT", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
}
.stat-col .stat-num i {
  font-size: 12px;
}
.stat-col .stat-label {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--text-muted);
  font-weight: 600;
}
.cs-card-body .read-more-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.cs-card-body .read-more-link:hover {
  gap: 10px;
}

/* Secondary Case Studies Layout (Horizontal) */
/* .secondary-cases-row {
  margin-top: 50px;
} */
.cs-horizontal-card {
  display: flex;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  background: #ffffff;
  transition: all 0.3s;
}
.cs-horizontal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.cs-horizontal-card .horiz-thumb-wrap {
  width: 35%;
  position: relative;
  min-height: 220px;
}
.cs-horizontal-card .horiz-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-horizontal-card .horiz-content-wrap {
  width: 65%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cs-horiz-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}
.cs-horizontal-card h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.cs-horizontal-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.cs-horizontal-card .cs-card-meta {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.cs-horizontal-card .read-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

/* The Impact We Create Section */
.cs-impact-section {
  padding:70px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}
.cs-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.cs-impact-card {
  text-align: center;
  padding: 10px;
}
.cs-impact-card .icon-outer {
  width: 65px;
  height: 65px;
  background-color: #faf6eb;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(189, 156, 36, 0.2);
}
.cs-impact-card .icon-outer i {
  font-size: 26px;
  color: var(--gold-light);
}
.cs-impact-card .cs-impact-num {
  font-family: "Futura PT", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}
.cs-impact-card .cs-impact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* Testimonial slider Section */
.cs-testimonial-section {
  padding:70px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}
.cs-testimonial-box {
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 50px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.cs-testimonial-box .quote-icon {
  font-size: 40px;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: block;
}
.cs-testimonial-box .quote-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy-dark);
  font-weight: 600;
  margin-bottom: 30px;
}
.cs-testimonial-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cs-profile-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cs-profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
}
.cs-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-profile-meta h4 {
  font-family: "Futura PT", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0 0 4px 0;
}
.cs-profile-meta p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}
.cs-slider-arrows {
  display: flex;
  gap: 10px;
}
.cs-slider-arrows .arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
}
.cs-slider-arrows .arrow-btn:hover {
  background-color: var(--gold-light);
  color: #ffffff;
}
.cs-slider-arrows .arrow-btn i {
  font-size: 14px;
}
.cs-slider-dots {
  text-align: center;
  margin-top: 30px;
}
.cs-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d4d8;
  display: inline-block;
  margin: 0 5px;
  transition: all 0.3s;
}
.cs-slider-dots .dot.active {
  background-color: var(--gold-light);
  width: 24px;
  border-radius: 4px;
}

/* CTA Section */
.cta-banner-section {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}
.cta-banner-inner {
  background: linear-gradient(135deg, #c89e27 0%, #b38728 100%);
  border-radius: 16px;
  padding: 35px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(179, 135, 40, 0.2);
}
.cta-left-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
}
.cta-icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-icon-circle i {
  font-size: 28px;
  color: #ffffff;
}
.cta-text-wrap h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}
.cta-text-wrap p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.cta-banner-inner .theme-btn {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  text-decoration: none;
  transition: all 0.3s;
}
.cta-banner-inner .theme-btn:hover {
  background-color: #ffffff;
  color: var(--navy-dark);
  transform: translateY(-2px);
}

/* Header link active override */
.wpo-site-header .navbar-nav li a.cs-active {
  color: var(--gold-light) !important;
  border-bottom: 2px solid var(--gold-light);
}

/* Responsive styles */
@media (max-width: 1199px) {
  .cs-hero-badge-card {
    position: relative;
    left: 0;
    top: 20px;
    width: 100%;
    margin-bottom: 30px;
  }
  .cs-impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .cta-banner-inner {
    padding: 30px 40px;
  }
}

@media (max-width: 991px) {
  .cs-hero-section {
    padding: 30px 0 60px 0;
  }
  .cs-hero-content {
    text-align: center;
    padding-top: 0;
    margin-bottom: 50px;
  }
  .cs-hero-content .title-underline {
    margin: 0 auto 20px auto;
  }
  .cs-hero-content p {
    margin: 0 auto;
  }
  .cs-hero-graphics {
    border-radius: 20px;
    height: 300px;
  }
  .cs-hero-deco-dot {
    display: none;
  }
  .cs-horizontal-card {
    flex-direction: column;
  }
  .cs-horizontal-card .horiz-thumb-wrap {
    width: 100%;
    height: 200px;
  }
  .cs-horizontal-card .horiz-content-wrap {
    width: 100%;
    padding: 25px;
  }
  .cs-horizontal-card .read-more-link {
    margin-left: 0;
    margin-top: 15px;
  }
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .cta-left-wrap {
    flex-direction: column;
    gap: 15px;
  }
  .flanked-title-wrap h2::before,
  .flanked-title-wrap h2::after {
    width: 60px;
  }
}

@media (max-width: 767px) {
  .cs-impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cs-filter-bar {
    gap: 10px;
  }
  .cs-filter-bar .filter-pill {
    padding: 8px 18px;
    font-size: 12.5px;
  }
}

@media (max-width: 575px) {
  .cs-hero-content h1 {
    font-size: 46px;
  }
  .cs-impact-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-inner {
    padding: 25px 20px;
  }
  .cta-text-wrap h3 {
    font-size: 20px;
  }
  .flanked-title-wrap h2::before,
  .flanked-title-wrap h2::after {
    width: 40px;
  }
}
