/* =========================================
   blogspage.css — Pioneer Blog Layout
   3-Column: TOC | Content | Sidebar
   ========================================= */

/* ---- CSS Variables ---- */
:root {
  --navy: #0D2137;
  --navy-light: #1E3A52;
  --gold: #C8A44A;
  --gold-light: #E0C070;
  --gold-pale: #F5EDD5;
  --bg: #F4F6FA;
  --text-main: #1A2E40;
  --text-muted: #556070;
  --white: #ffffff;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13, 33, 55, 0.08);
  --shadow-hover: 0 8px 32px rgba(13, 33, 55, 0.14);
  --scroll: 0%;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
}
/* navbar */

.pbs-navbar {
  background: var(--navy);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  z-index: 1050;
}
.pbs-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* Navbar Brand Container */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    opacity: 0.9;
}

/* Brand Logo Image */
.brand-logo {
    height: 90px;
    width: 90px;
    object-fit: contain;
}

/* Brand Text Wrapper */
.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Company Name - PIONEER */
.brand-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold); /* #C39635 */
    margin: 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

/* Business Solutions Subtitle */
.brand-subtitle {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #188B73; /* #188B73 */
    margin: 2px 0 0 0;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

/* Tagline */
.brand-tagline {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--white); /* #14377C */
    margin: 4px 0 0 0;
    line-height: 1.3;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
}
/* Hide Navbar Animation */
.pbs-navbar {
  transition: transform 0.4s ease;
}

.pbs-navbar.hide-nav {
  transform: translateY(-100%);
}

.pbs-navbar .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.pbs-navbar .nav-link:hover,
.pbs-navbar .nav-link.nav-active {
  color: var(--white) !important;
  background: rgba(250, 241, 241, 0.1);
}
.pbs-btn-gold {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 30px; /* UPDATED */
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}


.pbs-btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,164,74,0.35);
}
.pbs-btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 30px; /* UPDATED */
  transition: var(--transition);
}
.pbs-btn-outline:hover { background: var(--navy); color: var(--white); }





/* navbar */



/* ---- Reading Progress Bar ---- */
.progress-bar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border);
  z-index: 9999;
}

.reading-progress {
  height: 100%;
  width: var(--scroll);
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width 0.1s ease;
}

/* ---- Page Wrapper ---- */
.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ====================================
   THREE COLUMN LAYOUT
   ==================================== */
.three-col-layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  grid-template-areas: "toc blog sidebar";
  gap: 28px;
  align-items: start;
}

/* ---- Column 1: TOC ---- */
.col-toc {
  margin-top: 30px;
  grid-area: toc;
  position: sticky;
  top: 24px;
  height: fit-content;
}

.toc-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  border-top: 3px solid var(--gold);
}

.toc-heading {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: 4px;
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.toc-list a:hover {
  background: var(--gold-pale);
  color: var(--navy);
}

.toc-list a.active {
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 600;
}

.toc-num {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  min-width: 18px;
}

.toc-cta-item a {
  color: var(--gold) !important;
  font-weight: 600 !important;
  background: var(--gold-pale);
}

.toc-cta-item a:hover {
  background: var(--gold);
  color: var(--white) !important;
}

/* ---- Column 2: Blog Content ---- */
.col-blog {
  grid-area: blog;
  min-width: 0;
}

.blog-container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-nav a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: var(--border);
}

/* Blog Title */
.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-subtitle {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Meta */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i {
  color: var(--gold);
}

/* Blog Image */
.blog-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 22px 0;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-hover);
}

/* Headings */
.blog-container h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.55rem;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.blog-container h3 {
  font-size: 1.1rem;
  color: var(--navy-light);
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
}

.blog-container p {
  color: var(--text-main);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* Blockquote */
.blog-quote {
  border-left: 4px solid var(--gold);
  background: var(--gold-pale);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy);
  font-style: italic;
  font-weight: 500;
  margin: 24px 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Styled List */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.styled-list li {
  padding: 10px 14px;
  padding-left: 36px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  transition: background 0.2s;
}

.styled-list li:hover {
  background: var(--gold-pale);
}

.styled-list li::before {
  content: "→";
  position: absolute;
  left: 12px;
  color: var(--gold);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  color: #22a06b;
}

/* Flowchart */
.flowchart-container {
  margin: 36px 0;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px 20px;
}

.flow-title {
  font-family: 'Playfair Display', serif;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 1.3rem;
}

.flowchart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  width: 300px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.flow-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 6px;
}

.flow-step h4 {
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.flow-step.final {
  background: linear-gradient(135deg, var(--gold-pale), #fdf6e3);
  border-color: var(--gold);
}

.arrow {
  font-size: 20px;
  margin: 8px 0;
  color: var(--gold);
}

/* Highlight Cards (Why Companies) */
.highlight-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  transition: background 0.2s;
}

.highlight-card:hover {
  background: var(--gold-pale);
}

.hc-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-card strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Certification Tracks */
.cert-track {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.cert-track:hover {
  border-color: var(--gold);
}

.cert-track h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.cert-track ul {
  list-style: none;
  padding: 0;
}

.cert-track ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px dashed var(--border);
}

.cert-track ul li:last-child {
  border-bottom: none;
}

.cert-track ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--gold);
  font-weight: 700;
}

/* Impact Grid */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.impact-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.impact-item:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.impact-item span {
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
}

.impact-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.impact-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* CTA Links */
.cta-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.cta-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.cta-link-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateX(4px);
}

.cta-link-btn i {
  color: var(--gold-light);
  font-size: 16px;
}

.cta-link-btn:hover i {
  color: var(--white);
}

/* ---- Column 3: Sidebar ---- */
.col-sidebar {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  height: fit-content;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

.sidebar-heading {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(200, 164, 74, 0.4);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  color: var(--white);
  text-align: center;
}

.cta-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-gold {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 164, 74, 0.35);
}

/* Stats Card */
.stats-card {
  border-top: 3px solid var(--gold);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 54px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ====================================
   RESPONSIVE BREAKPOINTS
   ==================================== */

/* Tablet: hide TOC, show 2-col */
@media (max-width: 1100px) {
  .three-col-layout {
    grid-template-columns: 1fr 280px;
    grid-template-areas:
      "blog sidebar";
  }
  .col-toc {
    display: none;
  }
}

/* Mobile: single column */
@media (max-width: 768px) {
  .three-col-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "blog"
      "sidebar";
  }
  .col-toc {
    display: none;
  }
  .col-sidebar {
    position: static;
  }
  .blog-container {
    padding: 22px 18px;
  }
  .blog-title {
    font-size: 1.5rem;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .blog-img {
    height: 220px;
  }
}
/* =========================
   FOOTER STYLING
========================= */

.pbs-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-family: 'Poppins', sans-serif;
}

/* Headings */
.footer-heading {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Description */
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 12px;
}
/* 
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
} */

.social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* Newsletter */
.newsletter-wrap {
  display: flex;
  gap: 10px;
}

.pbs-input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 14px;
}

.pbs-input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* Button (already defined, but enhance here) */
.pbs-footer .pbs-btn-gold {
  border-radius: 8px;
  padding: 10px 18px;
}

/* Bottom Section */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}

/* Bottom Link */
.footer-main-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-main-link:hover {
  color: var(--gold-light);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .newsletter-wrap {
    flex-direction: column;
  }

  .pbs-footer .pbs-btn-gold {
    width: 100%;
  }
}