/* =============================================
   PIONEER BUSINESS SOLUTIONS — BLOG STYLESHEET
   ============================================= */

:root {
  --navy:        #0D2137;
  --navy-mid:    #142840;
  --navy-light:  #1E3A52;
  --gold:        #C8A44A;
  --gold-light:  #E0C070;
  --gold-pale:   #F5EDD5;
  --green:       #2A6049;
  --green-light: #3A7A5E;
  --green-pale:  #E5F2EC;
  --text-main:   #1A2E40;
  --text-muted:  #556070;
  --text-light:  #8899AA;
  --border:      #DDE4EC;
  --bg:          #F7F9FC;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(13,33,55,0.08);
  --shadow-hover:0 8px 36px rgba(13,33,55,0.14);
  --transition:  all 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--text-main); background: var(--bg); 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: var(--green); /* #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;
}

.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: var(--radius-sm);
  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: var(--radius-sm);
  transition: var(--transition);
}
.pbs-btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---- HERO ---- */
.blog-hero, .page-hero {
  background: var(--navy);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(42,96,73,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,164,74,0.1) 0%, transparent 45%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(200,164,74,0.15);
  color: var(--gold);
  border: 1px solid rgba(200,164,74,0.3);
  font-size: 13px; font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero-accent { color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  max-width: 580px;
  line-height: 1.75;
}
.page-hero .hero-desc { margin: 0 auto; }

/* SEARCH */
.search-wrap {
  max-width: 580px;
  margin: 0 auto;              /* ✅ centers horizontally */
  display: flex;               /* ✅ enable flex */
  justify-content: center;     /* ✅ center child */
}

.search-inner {
  display: flex;
  align-items: center;
  width: 100%;                 /* ✅ full width inside wrapper */
  background: var(--white);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.22);
}

.search-ico {
  color: var(--text-muted);
  font-size: 17px;
  flex-shrink: 0;
}

.pbs-search {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-main);
  background: transparent;
  padding: 6px 12px;
}

.pbs-search::placeholder {
  color: var(--text-light);
}

.search-clear {
  background: var(--border);
  border: none;
  color: var(--text-muted);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}

.search-clear:hover {
  background: #ccd4dc;
}

/* ---- MAIN BLOG LAYOUT ---- */
.blog-main { min-height: 60vh; }

/* SIDEBAR */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sb-section { margin-bottom: 4px; }
.sb-heading {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex; align-items: center;
}
.sb-divider { height: 1px; background: var(--border); margin: 18px 0; }

/* CATEGORY BUTTONS */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-btn {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: none;
  text-align: left; width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
}
.cat-btn i { font-size: 15px; flex-shrink: 0; }
.cat-btn:hover { background: var(--bg); color: var(--text-main); }
.cat-btn.active {
  background: var(--navy);
  color: var(--white);
}
.cat-count {
  margin-left: auto; font-size: 11px; font-weight: 700;
  background: rgba(200,164,74,0.18); color: var(--gold);
  padding: 2px 8px; border-radius: 50px;
}
.cat-btn.active .cat-count { background: rgba(255,255,255,0.15); color: var(--gold); }

/* SELECT */
.pbs-select {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--text-main); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; outline: none; cursor: pointer; transition: var(--transition);
}
.pbs-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,33,55,0.08); }

/* TAG CLOUD */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-pill {
  font-size: 12px; font-weight: 500;
  background: var(--bg); color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 50px;
  cursor: pointer; transition: var(--transition); user-select: none;
}
.tag-pill:hover, .tag-pill.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* SIDEBAR CTA */
.sb-cta { text-align: center; }
.sb-cta-text { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* RESULTS BAR */
.results-bar { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.results-txt { font-size: 14px; color: var(--text-muted); }
.results-txt strong { color: var(--text-main); }

/* ACTIVE FILTERS */
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale); color: var(--navy);
  border: 1px solid rgba(200,164,74,0.4);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 50px; cursor: pointer;
  transition: var(--transition);
}
.filter-chip:hover { background: #eedad0; }
.filter-chip i { font-size: 10px; }

/* NO RESULTS */
.no-results {
  text-align: center; padding: 72px 24px;
  background: var(--white); border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.no-results i { font-size: 48px; color: var(--border); display: block; margin-bottom: 16px; }
.no-results h5 { color: var(--text-main); font-weight: 600; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); font-size: 15px; }

/* ---- BLOG CARDS ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  display: flex; flex-direction: column; height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200,164,74,0.35);
}
.card-thumb {
  height: 180px; position: relative; overflow: hidden; flex-shrink: 0;
}
.card-thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; transition: transform 0.3s ease;
}
.card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}
.blog-card:hover .card-thumb-inner { transform: scale(1.07); }
.thumb-ai    { background: linear-gradient(135deg,#0f3460 0%,#1a5276 100%); }
.thumb-ms    { background: linear-gradient(135deg,#0a3d62 0%,#1565a8 100%); }
.thumb-hr    { background: linear-gradient(135deg,#1a3a2a 0%,#2A6049 100%); }
.thumb-other { background: linear-gradient(135deg,#3b2a0f 0%,#8B5E3C 100%); }
.thumb-guide { background: linear-gradient(135deg,#1a1a2e 0%,#16213e 100%); }

.card-cat-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 12px; border-radius: 50px;
  display: flex; align-items: center; gap: 5px;
}
.badge-ai    { background: rgba(13,33,55,0.85); color: #7dd3fc; }
.badge-ms    { background: rgba(21,101,168,0.85); color: #bfdbfe; }
.badge-hr    { background: rgba(42,96,73,0.85); color: #6ee7b7; }
.badge-other { background: rgba(139,94,60,0.85); color: #fde68a; }
.badge-guide { background: rgba(200,164,74,0.85); color: var(--navy); }

.card-body-inner {
  padding: 20px; flex: 1; display: flex; flex-direction: column;
}
.card-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  color: var(--text-main); line-height: 1.4; margin-bottom: 10px;
}
.card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.card-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto;
}
.read-more-link {
  font-size: 13px; font-weight: 700; color: var(--navy);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: var(--transition);
}
.read-more-link:hover { color: var(--gold); gap: 8px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.card-tag { font-size: 11px; background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); padding: 3px 8px; border-radius: 50px; }

/* ---- PAGINATION ---- */
.pbs-pagination .page-link {
  color: var(--text-muted); border-color: var(--border);
  font-size: 14px; font-weight: 500; min-width: 40px; text-align: center;
  transition: var(--transition);
}
.pbs-pagination .page-item.active .page-link {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}
.pbs-pagination .page-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---- FOOTER ---- */
.pbs-footer { background: var(--navy); color: rgba(255,255,255,0.7); }
.footer-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.55); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.newsletter-wrap { display: flex; gap: 8px; }
.pbs-input {
  flex: 1; font-family: 'DM Sans', sans-serif; font-size: 14px;
  background: rgba(255,255,255,0.08); color: var(--white);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm);
  padding: 10px 14px; outline: none; transition: var(--transition);
}
.pbs-input::placeholder { color: rgba(255,255,255,0.35); }
.pbs-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.newsletter-msg { font-size: 13px; }
.footer-socials { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none; transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.12);
}
.social-icon:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-main-link {
  color: var(--gold); text-decoration: none; font-size: 13px; font-weight: 600; transition: var(--transition);
}
.footer-main-link:hover { color: var(--gold-light); }

/* =============================================
   ABOUT PAGE
   ============================================= */

.py-6 { padding-top: 80px; padding-bottom: 80px; }

.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 38px); font-weight: 700;
  color: var(--text-main); line-height: 1.2; margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--text-muted); }

/* ABOUT GRAPHIC */
.about-graphic {
  position: relative; width: 100%; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.ag-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid;
  animation: spin-slow linear infinite;
}
.ag-ring-1 { width: 280px; height: 280px; border-color: rgba(42,96,73,0.25); animation-duration: 30s; }
.ag-ring-2 { width: 210px; height: 210px; border-color: rgba(200,164,74,0.2); animation-duration: 20s; animation-direction: reverse; }
.ag-ring-3 { width: 140px; height: 140px; border-color: rgba(42,96,73,0.3); animation-duration: 15s; }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ag-center {
  position: relative; z-index: 2;
  background: var(--white); border-radius: 50%;
  width: 90px; height: 90px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(200,164,74,0.1), var(--shadow);
}
.ag-stat {
  position: absolute; background: var(--white);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  padding: 12px 16px; text-align: center;
  box-shadow: var(--shadow); z-index: 3;
}
.ag-stat-1 { top: 10%; left: 0; }
.ag-stat-2 { top: 10%; right: 0; }
.ag-stat-3 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.ag-num { display: block; font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--navy); }
.ag-label { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }

/* MISSION VISION CARDS */
.mv-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 20px;
}
.mv-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.mv-icon-gold { background: var(--gold); color: var(--navy); }
.mv-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.mv-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.values-row { display: flex; flex-wrap: wrap; gap: 8px; }
.value-chip {
  display: flex; align-items: center; gap: 5px;
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 50px;
}

/* SERVICES SECTION */
.services-section { background: var(--bg); }
.service-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition); height: 100%;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(200,164,74,0.3); }
.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 16px;
}
.svc-ai    { background: rgba(13,33,55,0.1); color: var(--navy); }
.svc-ms    { background: rgba(21,101,168,0.1); color: #1565a8; }
.svc-hr    { background: rgba(42,96,73,0.1); color: var(--green); }
.svc-cert  { background: rgba(200,164,74,0.15); color: #8B6914; }
.svc-corp  { background: rgba(13,33,55,0.08); color: var(--navy); }
.svc-guide { background: rgba(42,96,73,0.08); color: var(--green); }
.svc-title { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.svc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; flex: 1; }
.svc-list { list-style: none; padding: 0; margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.svc-list li { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.svc-list li i { color: var(--green); font-size: 13px; flex-shrink: 0; }
.svc-link {
  font-size: 13px; font-weight: 700; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: var(--transition); margin-top: auto;
}
.svc-link:hover { color: var(--gold); gap: 8px; }

/* CONTACT */
.contact-section { background: var(--white); }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.ci-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 2px; }
.ci-item p { font-size: 14px; color: var(--text-muted); margin: 0; }
.ci-item a { color: var(--navy); text-decoration: none; font-weight: 600; }
.ci-item a:hover { color: var(--gold); }

.contact-form-card {
  background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 32px;
  box-shadow: var(--shadow);
}
.cf-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text-main); margin-bottom: 24px; }
.pbs-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }

/* OVERRIDE input styles for light bg in forms */
.contact-form-card .pbs-input,
.contact-form-card .pbs-select {
  background: var(--white); color: var(--text-main);
  border: 1px solid var(--border); width: 100%;
  border-radius: var(--radius-sm); padding: 11px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  outline: none; transition: var(--transition);
}
.contact-form-card .pbs-input::placeholder { color: var(--text-light); }
.contact-form-card .pbs-input:focus,
.contact-form-card .pbs-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,33,55,0.08); }
.pbs-textarea { resize: vertical; }
.field-error { font-size: 12px; color: #e53e3e; margin-top: 5px; }
.contact-form-card .pbs-btn-gold { border: none; }
.form-success-msg {
  background: var(--green-pale); color: var(--green);
  border: 1px solid rgba(42,96,73,0.25);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .sidebar-card { margin-bottom: 8px; }
  .ag-stat-1, .ag-stat-2, .ag-stat-3 { position: relative; top: auto; left: auto; right: auto; bottom: auto; transform: none; }
  .about-graphic { flex-wrap: wrap; gap: 12px; min-height: auto; padding: 24px 0; }
  .ag-ring { display: none; }
  .ag-center { position: relative; margin-bottom: 16px; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 28px; }
  .blog-hero, .page-hero { padding: 52px 0 60px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-wrap { flex-direction: column; }
}