/* =============================================
   BALEDEV — Custom Design System
   ============================================= */

/* Google Fonts loaded in app.blade.php */

:root {
  --bd-primary:      #2563EB;
  --bd-primary-dark: #1D4ED8;
  --bd-primary-rgb:  37,99,235;
  --bd-navy:         #0F172A;
  --bd-slate:        #1E293B;
  --bd-cyan:         #06B6D4;
  --bd-green:        #10B981;
  --bd-light:        #F8FAFC;
  --bd-border:       #E2E8F0;
  --bd-text:         #334155;
  --bd-muted:        #64748B;
  --bd-radius:       12px;
  --bd-radius-sm:    8px;
  --bd-shadow:       0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.07);
  --bd-shadow-md:    0 4px 24px rgba(0,0,0,.12);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bd-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: 72px; /* navbar height */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bd-navy);
  font-weight: 700;
  line-height: 1.3;
}

a { text-decoration: none; color: var(--bd-primary); }
a:hover { color: var(--bd-primary-dark); }

img { max-width: 100%; }

/* ─── Navbar ─── */
.bd-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1040;
  background: var(--bd-navy);
  padding: .625rem 0;
  transition: box-shadow .25s;
}

.bd-navbar.is-scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.bd-navbar.is-solid {
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.bd-navbar .navbar-brand img { height: 36px; }

.bd-navbar .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .9375rem;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.bd-navbar .nav-link:hover,
.bd-navbar .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.bd-navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  padding: .3rem .6rem;
}

/* Language switcher */
.bd-lang-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 8px;
  padding: .3rem .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.bd-lang-btn:hover { background: rgba(255,255,255,.2); }
.bd-lang-btn img { height: 16px; border-radius: 2px; }

.bd-lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: var(--bd-radius-sm);
  box-shadow: var(--bd-shadow-md);
  border: 1px solid var(--bd-border);
  min-width: 160px;
  display: none;
  z-index: 100;
  overflow: hidden;
}
.bd-lang-dropdown.open { display: block; }
.bd-lang-dropdown a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  color: var(--bd-text);
  font-size: .875rem;
  font-weight: 500;
  transition: background .15s;
}
.bd-lang-dropdown a:hover { background: var(--bd-light); }
.bd-lang-dropdown a.active { color: var(--bd-primary); background: #EFF6FF; }
.bd-lang-dropdown img { height: 16px; border-radius: 2px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 600;
  font-size: .9375rem;
  padding: .625rem 1.25rem;
  border-radius: var(--bd-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bd-primary);
  color: #fff;
  border-color: var(--bd-primary);
}
.btn-primary:hover { background: var(--bd-primary-dark); border-color: var(--bd-primary-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn-outline-primary {
  background: transparent;
  color: var(--bd-primary);
  border-color: var(--bd-primary);
}
.btn-outline-primary:hover { background: var(--bd-primary); color: #fff; }

.btn-wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-wa:hover { background: #1DAA5B; border-color: #1DAA5B; color: #fff; }

.btn-sm {
  font-size: .875rem;
  padding: .375rem .875rem;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: .75rem 1.75rem;
}

/* ─── Sections ─── */
.bd-section      { padding: 80px 0; }
.bd-section-sm   { padding: 48px 0; }
.bd-section-dark { background: var(--bd-navy); }
.bd-section-light { background: var(--bd-light); }

.bd-section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.bd-section-title .label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bd-primary);
  background: #EFF6FF;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.bd-section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: .75rem;
}
.bd-section-title p { color: var(--bd-muted); font-size: 1.0625rem; margin: 0; }

/* ─── Hero (Home) ─── */
.bd-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: var(--bd-navy);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37,99,235,.35), transparent),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(6,182,212,.15), transparent);
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.bd-hero::after {
  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.02'%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") repeat;
  pointer-events: none;
}

.bd-hero-content { position: relative; z-index: 1; }

.bd-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bd-cyan);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.bd-hero .eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--bd-cyan);
  display: inline-block;
}

.bd-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.bd-hero h1 .highlight {
  background: linear-gradient(135deg, #60A5FA, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bd-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 2rem;
}

.bd-hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.bd-services-pill {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.bd-services-pill .label {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
}
.bd-services-pill .pill {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  font-size: .8125rem;
  padding: .25rem .75rem;
  border-radius: 100px;
}

/* Hero graphic / floating boxes */
.bd-hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bd-float-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border-radius: var(--bd-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.bd-float-card .icon-wrap {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--bd-primary), var(--bd-cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.bd-float-card .title { font-size: .875rem; font-weight: 600; margin: 0; }
.bd-float-card .sub { font-size: .75rem; color: rgba(255,255,255,.6); margin: 0; }

.bd-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bd-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--bd-radius);
  padding: 1.25rem 1rem;
  text-align: center;
  color: #fff;
}
.bd-stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60A5FA, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bd-stat .label { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; }

/* ─── Page Header (interior pages) ─── */
.bd-page-header {
  background: var(--bd-navy);
  background-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37,99,235,.2), transparent);
  padding: 4rem 0 3rem;
  text-align: center;
}
.bd-page-header h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .75rem; }
.bd-page-header p { color: rgba(255,255,255,.65); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }

.bd-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.bd-breadcrumb a { color: rgba(255,255,255,.6); }
.bd-breadcrumb a:hover { color: #fff; }
.bd-breadcrumb i { font-size: .75rem; }

/* ─── Cards ─── */
.bd-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  overflow: hidden;
  box-shadow: var(--bd-shadow);
  transition: transform .2s, box-shadow .2s;
}
.bd-card:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-md); }

.bd-card-body { padding: 1.5rem; }

/* Service card */
.bd-service-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--bd-shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.bd-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bd-shadow-md);
  border-color: rgba(var(--bd-primary-rgb), .25);
}

.bd-service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bd-primary);
  margin-bottom: 1.25rem;
}

.bd-service-card h3 {
  font-size: 1.125rem;
  margin-bottom: .5rem;
}

.bd-service-card p {
  color: var(--bd-muted);
  font-size: .9375rem;
  margin-bottom: 1.25rem;
}

/* Portfolio card */
.bd-portfolio-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  overflow: hidden;
  box-shadow: var(--bd-shadow);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.bd-portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-md); }
.bd-portfolio-card .img-wrap {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bd-portfolio-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.bd-portfolio-card:hover .img-wrap img { transform: scale(1.04); }
.bd-portfolio-card .img-wrap .placeholder {
  font-size: 2.5rem;
  color: var(--bd-primary);
  opacity: .4;
}
.bd-portfolio-card .body { padding: 1.25rem; }

/* Blog card */
.bd-blog-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  overflow: hidden;
  box-shadow: var(--bd-shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bd-blog-card:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-md); }
.bd-blog-card .img-wrap {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bd-blog-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.bd-blog-card:hover .img-wrap img { transform: scale(1.04); }
.bd-blog-card .img-wrap .placeholder { font-size: 2.5rem; color: var(--bd-primary); opacity: .4; }
.bd-blog-card .body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.bd-blog-card .body p { color: var(--bd-muted); font-size: .9375rem; flex: 1; }
.bd-blog-card .meta {
  font-size: .8125rem;
  color: var(--bd-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.bd-blog-card .meta i { margin-right: .25rem; }

/* ─── Badge / Tag ─── */
.bd-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 100px;
}
.bd-badge-primary { background: #EFF6FF; color: var(--bd-primary); }
.bd-badge-danger   { background: #FEF2F2; color: #DC2626; }
.bd-badge-green    { background: #F0FDF4; color: #16A34A; }
.bd-badge-gray     { background: #F1F5F9; color: #475569; }
.bd-badge-cyan     { background: #ECFEFF; color: #0891B2; }

/* ─── CTA Strip ─── */
.bd-cta {
  background: linear-gradient(135deg, var(--bd-primary) 0%, #0EA5E9 100%);
  padding: 4rem 0;
}
.bd-cta h2 { color: #fff; margin-bottom: .5rem; }
.bd-cta p { color: rgba(255,255,255,.8); margin: 0; }

/* ─── Footer ─── */
.bd-footer {
  background: var(--bd-navy);
  padding: 4rem 0 2rem;
}
.bd-footer-logo img { height: 36px; margin-bottom: 1rem; }
.bd-footer p { color: rgba(255,255,255,.55); font-size: .9375rem; line-height: 1.7; }
.bd-footer h6 { color: #fff; font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.bd-footer-links { list-style: none; padding: 0; margin: 0; }
.bd-footer-links li { margin-bottom: .5rem; }
.bd-footer-links a { color: rgba(255,255,255,.55); font-size: .9375rem; transition: color .2s; }
.bd-footer-links a:hover { color: #fff; }

.bd-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  color: rgba(255,255,255,.55);
  font-size: .9375rem;
  margin-bottom: .625rem;
}
.bd-footer-contact li i { color: var(--bd-cyan); margin-top: .25rem; flex-shrink: 0; }
.bd-footer-contact li a { color: rgba(255,255,255,.55); }
.bd-footer-contact li a:hover { color: #fff; }

.bd-social { display: flex; gap: .5rem; margin-top: 1rem; }
.bd-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  transition: background .2s, color .2s;
}
.bd-social a:hover { background: var(--bd-primary); color: #fff; border-color: var(--bd-primary); }

.bd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.bd-footer-bottom p { margin: 0; color: rgba(255,255,255,.4); font-size: .875rem; }
.bd-footer-bottom a { color: rgba(255,255,255,.4); font-size: .875rem; margin-left: 1.5rem; }
.bd-footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ─── Back to top ─── */
.bd-back-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--bd-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  transition: background .2s, transform .2s;
  z-index: 999;
}
.bd-back-top:hover { background: var(--bd-primary-dark); transform: translateY(-2px); }
.bd-back-top.visible { display: flex; }

/* ─── Forms ─── */
.bd-form-group { margin-bottom: 1.25rem; }
.bd-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bd-navy);
  margin-bottom: .375rem;
}
.bd-label .req { color: #DC2626; margin-left: .2rem; }
.bd-input {
  display: block;
  width: 100%;
  padding: .625rem 1rem;
  font-size: .9375rem;
  font-family: inherit;
  color: var(--bd-navy);
  background: #fff;
  border: 1.5px solid var(--bd-border);
  border-radius: var(--bd-radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bd-input:focus {
  border-color: var(--bd-primary);
  box-shadow: 0 0 0 3px rgba(var(--bd-primary-rgb), .12);
}
.bd-input.is-error { border-color: #DC2626; }
.bd-input::placeholder { color: #94A3B8; }
.bd-error { font-size: .8125rem; color: #DC2626; margin-top: .25rem; display: block; }
.bd-alert-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A;
  border-radius: var(--bd-radius-sm);
  padding: .875rem 1rem;
  font-size: .9375rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

/* ─── Blog article content ─── */
.bd-article h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.bd-article h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.bd-article p  { margin-bottom: 1.25rem; }
.bd-article ul, .bd-article ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.bd-article li { margin-bottom: .375rem; }
.bd-article blockquote {
  border-left: 3px solid var(--bd-primary);
  padding: .75rem 1.25rem;
  background: #EFF6FF;
  border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0;
  margin: 1.5rem 0;
  color: var(--bd-text);
  font-style: italic;
}
.bd-article strong { color: var(--bd-navy); }
.bd-article img { border-radius: var(--bd-radius-sm); margin: 1rem 0; }
.bd-article table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
.bd-article th, .bd-article td { padding: .625rem 1rem; border: 1px solid var(--bd-border); text-align: left; font-size: .9375rem; }
.bd-article th { background: var(--bd-light); font-weight: 600; }

/* ─── Sidebar ─── */
.bd-sidebar-card {
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius);
  padding: 1.5rem;
  box-shadow: var(--bd-shadow);
  margin-bottom: 1.5rem;
}
.bd-sidebar-card h5 { font-size: 1rem; margin-bottom: 1rem; }

/* ─── Pricing card ─── */
.bd-price-big { font-size: 2.25rem; font-weight: 800; color: var(--bd-primary); }
.bd-price-unit { font-size: .9rem; color: var(--bd-muted); }

/* ─── Why choose us checklist ─── */
.bd-check-list { list-style: none; padding: 0; margin: 0; }
.bd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  padding: .5rem 0;
  font-size: .9375rem;
  color: var(--bd-text);
}
.bd-check-list li i { color: var(--bd-green); margin-top: .25rem; flex-shrink: 0; font-size: 1rem; }

/* ─── Info list ─── */
.bd-info-list { list-style: none; padding: 0; margin: 0; }
.bd-info-list li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--bd-border);
}
.bd-info-list li:last-child { border-bottom: none; }
.bd-info-list .info-icon {
  width: 38px; height: 38px;
  background: #EFF6FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bd-primary);
  flex-shrink: 0;
}
.bd-info-list .info-label { font-size: .8rem; color: var(--bd-muted); margin: 0; }
.bd-info-list .info-value { font-size: .9375rem; font-weight: 600; color: var(--bd-navy); margin: 0; }
.bd-info-list .info-value a { color: var(--bd-navy); }
.bd-info-list .info-value a:hover { color: var(--bd-primary); }

/* ─── Share buttons ─── */
.bd-share { display: flex; gap: .5rem; flex-wrap: wrap; }
.bd-share a {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1rem;
  border-radius: var(--bd-radius-sm);
  font-size: .875rem;
  font-weight: 500;
  transition: opacity .2s;
}
.bd-share a:hover { opacity: .85; }
.bd-share .fb  { background: #1877F2; color: #fff; }
.bd-share .tw  { background: #1DA1F2; color: #fff; }
.bd-share .li  { background: #0A66C2; color: #fff; }
.bd-share .wa  { background: #25D366; color: #fff; }

/* ─── Pagination ─── */
.bd-pagination {
  display: flex;
  justify-content: center;
  gap: .375rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.bd-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 .625rem;
  border: 1.5px solid var(--bd-border);
  border-radius: var(--bd-radius-sm);
  color: var(--bd-text);
  font-size: .875rem;
  font-weight: 500;
  transition: all .15s;
}
.bd-pagination .page-link:hover { border-color: var(--bd-primary); color: var(--bd-primary); }
.bd-pagination .page-link.active { background: var(--bd-primary); border-color: var(--bd-primary); color: #fff; }
.bd-pagination .page-link.disabled { opacity: .4; pointer-events: none; }

/* ─── Empty state ─── */
.bd-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.bd-empty i { font-size: 3rem; color: #CBD5E1; display: block; margin-bottom: 1rem; }
.bd-empty h5 { color: var(--bd-muted); margin-bottom: .5rem; }
.bd-empty p { color: #94A3B8; font-size: .9375rem; }

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
  body { padding-top: 64px; }
  .bd-hero { min-height: auto; padding: 3rem 0; }
  .bd-hero h1 { font-size: 2rem; }
  .bd-stat-grid { grid-template-columns: 1fr 1fr; }
  .bd-section { padding: 56px 0; }
  .bd-navbar .collapse { background: var(--bd-slate); border-radius: var(--bd-radius); margin-top: .5rem; padding: .5rem; }
}

@media (max-width: 575.98px) {
  .bd-hero h1 { font-size: 1.75rem; }
  .bd-hero-actions { flex-direction: column; }
  .bd-hero-actions .btn { justify-content: center; }
  .bd-section { padding: 40px 0; }
  .bd-cta .row { text-align: center; }
  .bd-cta .row > * + * { margin-top: 1rem; }
}

/* ─── Utility ─── */
.text-primary  { color: var(--bd-primary) !important; }
.text-cyan     { color: var(--bd-cyan) !important; }
.text-muted    { color: var(--bd-muted) !important; }
.text-navy     { color: var(--bd-navy) !important; }
.bg-light-bd   { background: var(--bd-light) !important; }
.fw-700        { font-weight: 700; }
.fw-800        { font-weight: 800; }
.lh-base       { line-height: 1.7; }
.gap-3         { gap: .75rem; }
.gap-2         { gap: .5rem; }
.w-100         { width: 100%; }

/* Container (override Bootstrap max-width) */
.container { max-width: 1200px !important; }

/* ─── 3-column CSS Grid (cards) ─── */
.bd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991.98px) {
  .bd-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .bd-grid-3 { grid-template-columns: 1fr; }
}

/* 2-column variant (related posts, portfolio gallery etc.) */
.bd-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 575.98px) {
  .bd-grid-2 { grid-template-columns: 1fr; }
}

/* Pagination BS5 override */
.pagination { display: flex; flex-wrap: wrap; gap: .375rem; justify-content: center; list-style: none; padding: 0; margin: 0; }
.pagination .page-item .page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .625rem;
  border: 1.5px solid var(--bd-border); border-radius: var(--bd-radius-sm);
  color: var(--bd-text); font-size: .875rem; font-weight: 500;
  background: #fff; transition: all .15s;
}
.pagination .page-item .page-link:hover { border-color: var(--bd-primary); color: var(--bd-primary); }
.pagination .page-item.active .page-link { background: var(--bd-primary); border-color: var(--bd-primary); color: #fff; }
.pagination .page-item.disabled .page-link { opacity: .4; pointer-events: none; }
