/* BOOKLET PORTFOLIO PAGE STYLES */

/* ── Page background ─────────────────────────── */
.bp-page { background: #f0f3f8; padding: 60px 0 100px; }

/* ── Hero banner ─────────────────────────────── */
.bp-hero {
  background: linear-gradient(120deg, #001228 0%, #002448 55%, #0d0a1f 100%);
  padding: 72px 0 64px; position: relative; overflow: hidden;
}
.bp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.bp-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,6,19,0.15); border: 1px solid rgba(227,6,19,0.4);
  color: #ff6b7a; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 18px;
}
.bp-hero-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 44px); color: #fff; margin-bottom: 14px; line-height: 1.2;
}
.bp-hero-title span { color: #e30613; }
.bp-hero-desc {
  color: rgba(255,255,255,0.68); font-size: 15px; max-width: 560px; line-height: 1.7;
}
.bp-hero-icon {
  font-size: 120px; color: rgba(255,255,255,0.04);
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
}
.bp-hero-stats {
  display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap;
}
.bp-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.bp-stat-num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 26px; color: #fff; line-height: 1;
}
.bp-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.5px; }

/* ── Filter bar ──────────────────────────────── */
.bp-filterbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 36px; flex-wrap: wrap;
}
.bp-cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.bp-cat-btn {
  font-size: 12px; font-weight: 700; padding: 8px 18px;
  border-radius: 100px; border: 1.5px solid #dde2ea;
  background: #fff; color: #555; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.bp-cat-btn:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.bp-cat-btn.active { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.bp-count { font-size: 13px; color: #888; font-weight: 600; }

/* ── Featured card (Business Profile) ───────── */
.bp-featured {
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10); margin-bottom: 48px;
  display: flex;
}
.bpf-cover {
  flex: 0 0 260px;
  background: linear-gradient(160deg, #001228 0%, #002448 55%, #003060 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 28px; position: relative; min-height: 280px;
}
.bpf-book {
  width: 160px;
  box-shadow: 10px 10px 36px rgba(0,0,0,0.5), -3px 0 8px rgba(0,0,0,0.25);
  border-radius: 3px 10px 10px 3px; overflow: hidden; position: relative;
}
.bpf-book img { width: 100%; display: block; }
.bpf-book-ph {
  width: 160px; height: 226px;
  background: linear-gradient(145deg, #f8f9fa 0%, #e3e8f0 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  border-radius: 3px 10px 10px 3px;
}
.bpf-book-ph .ph-logo { font-size: 28px; color: var(--teal-dark); }
.bpf-book-ph .ph-title {
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: #333; text-align: center; padding: 0 12px;
}
.bpf-book-ph .ph-brand { font-size: 8px; color: #999; font-weight: 700; letter-spacing: 1px; }
.bpf-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, #003060, #001228);
}
.bpf-badge {
  position: absolute; top: 16px; right: 16px;
  background: #e30613; color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
}
.bpf-body {
  padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; flex: 1;
}
.bpf-cat {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,100,80,0.08); color: var(--teal-dark);
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.bpf-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 26px; color: #0f1f3d; line-height: 1.25; margin-bottom: 12px;
}
.bpf-desc {
  font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 24px;
}
.bpf-meta {
  display: flex; gap: 24px; margin-bottom: 28px; flex-wrap: wrap;
}
.bpf-meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #777; font-weight: 500;
}
.bpf-meta-item i { color: var(--teal-dark); font-size: 13px; }
.bpf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-dl-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 12px 24px; border-radius: 12px;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .25s; box-shadow: 0 4px 16px rgba(0,100,80,0.25);
}
.btn-dl-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,100,80,0.35); color: #fff; }
.btn-dl-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--teal-dark); font-size: 13px; font-weight: 700;
  padding: 12px 24px; border-radius: 12px;
  border: 2px solid var(--teal-dark); text-decoration: none;
  transition: all .25s;
}
.btn-dl-secondary:hover { background: var(--teal-dark); color: #fff; }

/* ── Grid cards ──────────────────────────────── */
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 991px) { .bp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .bp-grid { grid-template-columns: 1fr; } }

.bp-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform .28s, box-shadow .28s;
  display: flex; flex-direction: column;
}
.bp-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.13); }
.bp-card[style*="none"] { display: none !important; }

/* Cover thumbnail */
.bp-cover {
  position: relative; height: 200px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0; overflow: hidden;
}
.bp-cover-bg {
  position: absolute; inset: 0;
}
.bp-cover-book {
  position: relative; z-index: 1;
  width: 110px; height: 155px;
  border-radius: 2px 8px 8px 2px;
  box-shadow: 8px 8px 28px rgba(0,0,0,0.45), -2px 0 6px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform .28s;
}
.bp-card:hover .bp-cover-book { transform: translateY(-6px) rotate(-1.5deg); }
.bp-cover-book img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-cover-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.bp-cover-ph .cph-icon { font-size: 24px; color: rgba(255,255,255,0.7); }
.bp-cover-ph .cph-title {
  font-size: 8px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  text-align: center; padding: 0 8px; line-height: 1.4;
}
.bp-cover-ph .cph-brand { font-size: 7px; color: rgba(255,255,255,0.5); font-weight: 700; }
.bp-cover-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: rgba(0,0,0,0.25);
}
.bp-card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
}
.badge-profil { background: #e30613; color: #fff; }
.badge-portfolio { background: #0d6efd; color: #fff; }
.badge-catalogue { background: #fd7e14; color: #fff; }

/* Card body */
.bp-card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.bp-card-cat {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 10px;
}
.cat-profil    { color: #e30613; }
.cat-technical { color: #0043a6; }
.cat-om        { color: #006400; }
.cat-csua      { color: #7b2d8b; }
.cat-learning  { color: #c65e00; }

.bp-card-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 15px; color: #0f1f3d; line-height: 1.35;
  margin-bottom: 8px;
}
.bp-card-desc {
  font-size: 12.5px; color: #666; line-height: 1.65; flex: 1; margin-bottom: 16px;
}
/* Card footer */
.bp-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; border-top: 1px solid #f0f0f0; padding-top: 14px; margin-top: auto;
}
.bp-card-meta { font-size: 11px; color: #aaa; display: flex; align-items: center; gap: 6px; }
.bp-card-meta i { font-size: 12px; }
.bp-card-actions { display: flex; gap: 8px; }
.btn-card-dl {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-dark); color: #fff;
  font-size: 11px; font-weight: 700; padding: 7px 14px;
  border-radius: 8px; border: none; text-decoration: none;
  transition: all .2s; cursor: pointer;
}
.btn-card-dl:hover { background: var(--teal-mid); color: #fff; }
.btn-card-preview {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  border: 1.5px solid #dde2ea; background: #fff;
  color: #555; font-size: 13px; text-decoration: none;
  transition: all .2s;
}
.btn-card-preview:hover { border-color: var(--teal-dark); color: var(--teal-dark); }

/* ── Info strip ──────────────────────────────── */
.bp-info-strip {
  background: linear-gradient(120deg, #001228 0%, #002448 100%);
  border-radius: 20px; padding: 36px 40px; margin-top: 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.bp-info-strip-text h4 {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 18px; color: #fff; margin-bottom: 6px;
}
.bp-info-strip-text p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.bp-info-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-strip-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e30613; color: #fff; font-size: 13px; font-weight: 700;
  padding: 12px 24px; border-radius: 12px; text-decoration: none;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-strip-primary:hover { background: #c00; color: #fff; }
.btn-strip-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 700;
  padding: 12px 24px; border-radius: 12px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25); transition: all .2s;
}
.btn-strip-secondary:hover { border-color: #fff; color: #fff; }

/* ── Services Quick Nav ──────────────────────────── */
.svc-nav {
  background: #fff; border-bottom: 1px solid #e5e9f0;
  position: sticky; top: 80px; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.svc-nav-inner {
  display: flex; align-items: center; overflow-x: auto;
  gap: 0; padding: 0; scrollbar-width: none;
}
.svc-nav-inner::-webkit-scrollbar { display: none; }
.svc-nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 22px; font-size: 13px; font-weight: 700;
  color: #555; text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s; cursor: pointer; border-top: none;
  border-left: none; border-right: none; background: none;
}
.svc-nav-link:hover { color: var(--teal-dark); }
.svc-nav-link.active { color: var(--teal-dark); border-bottom-color: var(--teal-dark); }
.svc-nav-link i { font-size: 14px; }
.svc-nav-divider { width: 1px; background: #e5e9f0; height: 28px; flex-shrink: 0; }
