/* Shared Elements - Reusable BS Components */

/* Product Cards */
.bs-product-card {
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--bs-transition), box-shadow var(--bs-transition);
}
.bs-product-card:hover { transform: translateY(-4px); box-shadow: var(--bs-shadow-hover); }
.bs-product-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.bs-product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.bs-product-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; flex: 1; line-height: 1.45; }
.bs-product-title a { color: var(--bs-dark); }
.bs-product-title a:hover { color: var(--bs-primary); }
.bs-product-excerpt { font-size: 14px; color: var(--bs-gray); line-height: 1.7; margin-bottom: 14px; }
.bs-product-price { margin-bottom: 8px; }
.bs-price-old { text-decoration: line-through; color: var(--bs-gray); font-size: 13px; display: block; }
.bs-price-new { color: var(--bs-primary); font-weight: 700; font-size: 16px; }
.bs-price-req { color: var(--bs-gray); font-size: 13px; }
.bs-product-list-intro { margin-bottom: 32px; }

/* Product Detail */
.bs-product-gallery-main {
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius-lg);
    background: var(--bs-surface);
    overflow: hidden;
}
.bs-product-gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--bs-light);
}
.bs-product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.bs-product-thumb {
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    background: var(--bs-surface);
    padding: 0;
    overflow: hidden;
    transition: border-color var(--bs-transition), transform var(--bs-transition);
}
.bs-product-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.bs-product-thumb:hover,
.bs-product-thumb.active {
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}
.bs-product-summary { padding: 4px 0; }
.bs-product-detail-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 16px; line-height: 1.25; }
.bs-product-short-text { font-size: 15px; color: var(--bs-gray); line-height: 1.8; }
.bs-product-price-box { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.bs-add-to-cart { flex-wrap: wrap; }
.bs-product-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bs-product-share-label { font-size: 14px; color: var(--bs-gray); font-weight: 600; }
.bs-product-share-list { display: flex; gap: 8px; flex-wrap: wrap; }
.bs-product-video iframe,
.bs-product-video video { width: 100%; height: 100%; }

/* Product Tabs */
.bs-product-tabs { margin-top: 24px; }
.bs-prod-tabs { gap: 6px; border-bottom: 1px solid var(--bs-border); }
.bs-prod-tabs .nav-link {
    font-family: var(--bs-font);
    font-weight: 600;
    font-size: .8125rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bs-gray);
    border: none !important;
    border-bottom: 3px solid transparent !important;
    padding: .75rem 1rem;
    background: none !important;
    border-radius: 0 !important;
    transition: color .2s;
}
.bs-prod-tabs .nav-link:hover { color: var(--bs-dark); }
.bs-prod-tabs .nav-link.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary) !important;
}
.bs-tab-content {
    border: 1px solid var(--bs-border);
    border-top: none;
    border-radius: 0 0 var(--bs-radius-lg) var(--bs-radius-lg);
    padding: 28px;
    background: var(--bs-surface);
}
.bs-product-description,
.bs-product-extra-content {
    font-size: 15px;
    line-height: 1.85;
    color: var(--bs-dark);
}
.bs-product-description h1,
.bs-product-description h2,
.bs-product-description h3,
.bs-product-description h4,
.bs-product-extra-content h1,
.bs-product-extra-content h2,
.bs-product-extra-content h3,
.bs-product-extra-content h4 {
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 10px;
}
.bs-product-description p,
.bs-product-extra-content p { margin-bottom: 14px; }
.bs-product-description img,
.bs-product-extra-content img {
    border-radius: var(--bs-radius);
    max-width: 100%;
    height: auto;
}
.bs-doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 1.25rem;
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    color: var(--bs-dark);
    background: var(--bs-surface);
    transition: box-shadow .2s, border-color .2s, transform .15s;
    height: 100%;
}
.bs-doc-card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, .1);
    transform: translateY(-2px);
}
.bs-doc-card-icon { color: var(--bs-primary); margin-bottom: .75rem; opacity: .85; }
.bs-doc-card-name { font-size: .9rem; font-weight: 600; line-height: 1.4; word-break: break-word; }

/* Share */
.bs-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff !important;
    font-size: .85rem;
    text-decoration: none !important;
    transition: opacity .2s, transform .2s;
}
.bs-share-btn:hover { opacity: .85; transform: translateY(-2px); }
.bs-share-facebook { background: #1877f2; }
.bs-share-twitter { background: #111827; }
.bs-share-linkedin { background: #0a66c2; }

.bs-faq-block {
    display: grid;
    gap: 14px;
}

.bs-faq-item {
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color var(--bs-transition), box-shadow var(--bs-transition);
}

.bs-faq-item.is-open {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.bs-faq-toggle {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}

.bs-faq-question {
    line-height: 1.45;
}

.bs-faq-icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex: 0 0 14px;
}

.bs-faq-icon::before,
.bs-faq-icon::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    background: var(--bs-primary);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: transform var(--bs-transition), opacity var(--bs-transition);
}

.bs-faq-icon::before {
    width: 14px;
    height: 2px;
}

.bs-faq-icon::after {
    width: 2px;
    height: 14px;
}

.bs-faq-item.is-open .bs-faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.2);
}

.bs-faq-panel {
    padding: 0 24px 22px;
}

.bs-faq-answer {
    color: var(--bs-muted);
    line-height: 1.85;
}

.bs-faq-answer > *:last-child {
    margin-bottom: 0;
}

.bs-stats-row {
    justify-content: center;
}

.bs-stat-item {
    height: 100%;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: transform var(--bs-transition), border-color var(--bs-transition), box-shadow var(--bs-transition);
}

.bs-stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.bs-stat-icon {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--bs-primary);
    font-size: 24px;
    margin: 0 auto 16px;
}

.bs-stat-num {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    font-weight: 800;
    color: var(--bs-dark);
    margin-bottom: 10px;
}

.bs-stat-label {
    font-size: 15px;
    color: var(--bs-muted);
    line-height: 1.55;
    font-weight: 600;
}

.bs-home-blog-card {
    height: 100%;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 22px;
    overflow: hidden;
    transition: transform var(--bs-transition), box-shadow var(--bs-transition), border-color var(--bs-transition);
}

.bs-home-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.bs-home-blog-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef3fb;
}

.bs-home-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--bs-transition);
}

.bs-home-blog-card:hover .bs-home-blog-img img {
    transform: scale(1.03);
}

.bs-home-blog-body {
    padding: 20px 22px 24px;
}

.bs-home-blog-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--bs-muted);
    margin-bottom: 14px;
}

.bs-home-blog-title {
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 14px;
}

.bs-home-blog-title a {
    color: var(--bs-dark);
}

.bs-htabs,
.bs-vtabs {
    position: relative;
}

.bs-htabs-nav-wrap {
    margin-bottom: 2rem;
}

.bs-htabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    align-items: flex-end;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--bs-border);
}

.bs-htabs-btn,
.bs-vtabs-btn {
    border: 1px solid var(--bs-border);
    background: var(--bs-surface);
    color: var(--bs-dark);
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
    transition: all var(--bs-transition);
}

.bs-htabs-btn {
    border: none;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    padding: 0.65rem 0.2rem 0.95rem;
    background: transparent;
    color: var(--bs-gray);
    min-width: 0;
    white-space: nowrap;
}

.bs-htabs-btn:hover,
.bs-vtabs-btn:hover {
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--bs-primary);
}

.bs-vtabs-btn.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--bs-primary);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.bs-htabs-btn:hover {
    background: transparent;
    border-color: transparent transparent rgba(37, 99, 235, 0.28) transparent;
    box-shadow: none;
}

.bs-htabs-btn.active {
    background: transparent;
    color: var(--bs-primary);
    border-color: transparent transparent var(--bs-primary) transparent;
    box-shadow: none;
}

.bs-htabs-content,
.bs-vtabs-content {
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 24px;
    padding: 2rem;
}

.bs-htabs-panel,
.bs-vtabs-panel {
    display: none;
}

.bs-htabs-panel.active,
.bs-vtabs-panel.active {
    display: block;
}

.bs-htabs-img-wrap,
.bs-vtabs-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: #f8fbff;
}

.bs-htabs-img-wrap img,
.bs-vtabs-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.bs-htabs-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.bs-htabs-text {
    color: var(--bs-gray);
    line-height: 1.9;
}

.bs-vtabs-nav-wrap {
    position: sticky;
    top: 110px;
}

.bs-vtabs-nav {
    display: grid;
    gap: 0.85rem;
}

.bs-vtabs-btn {
    border-radius: 18px;
    text-align: left;
    width: 100%;
}

.bs-home-blog-title a:hover {
    color: var(--bs-primary);
}

.bs-home-blog-excerpt {
    font-size: 15px;
    line-height: 1.73;
    color: var(--bs-muted);
    margin-bottom: 18px;
}

.bs-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--bs-border);
    color: var(--bs-dark);
    background: var(--bs-surface);
    font-weight: 700;
    transition: all var(--bs-transition);
}

.bs-btn-outline:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}
.bs-share-email { background: #6c757d; }
.bs-contact-info { display: flex; flex-direction: column; gap: 20px; }
.bs-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.bs-contact-info-icon {
    width: 44px; height: 44px;
    background: #EFF6FF;
    border-radius: var(--bs-radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bs-contact-info-icon i { color: var(--bs-primary); font-size: 19px; }
.bs-contact-info-item h6 { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--bs-gray); margin-bottom: 4px; }
.bs-contact-info-item p  { font-size: 15px; line-height: 1.73; color: var(--bs-text); margin: 0; }
.bs-contact-info-item a  { color: var(--bs-text); }
.bs-contact-info-item a:hover { color: var(--bs-primary); }
.bs-map { border-radius: var(--bs-radius-lg); overflow: hidden; }
.bs-map iframe { width: 100%; height: 350px; display: block; }

.bs-home-cta-block {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 58%, #eef2ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.bs-home-cta-media,
.bs-home-content-media {
    border-radius: 22px;
    overflow: hidden;
    background: #f8fbff;
}

.bs-home-cta-media img,
.bs-home-content-media img {
    display: block;
    width: 100%;
    height: auto;
}

.bs-home-cta-title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.1;
    font-weight: 800;
    color: var(--bs-dark);
    margin: 0 0 14px;
}

.bs-home-cta-text {
    font-size: 15px;
    line-height: 1.73;
    color: var(--bs-gray);
    max-width: 720px;
}

.bs-home-content-block {
    padding: 4px 0;
}

.bs-home-content-text {
    font-size: 15px;
    line-height: 1.73;
    color: var(--bs-gray);
    max-width: 760px;
}
/* Error Page */
.bs-error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 80px 20px;
}
.bs-error-code  { font-size: 120px; font-weight: 800; color: var(--bs-primary); line-height: 1; opacity: .15; }
.bs-error-title { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.bs-error-desc  { font-size: 15px; color: var(--bs-gray); margin-bottom: 24px; }

/* Content (rich text) */
.bs-content h1, .bs-content h2, .bs-content h3, .bs-content h4 { font-weight: 700; margin-top: 28px; margin-bottom: 12px; }
.bs-content p   { margin-bottom: 16px; }
.bs-content img { border-radius: var(--bs-radius); max-width: 100%; }
.bs-content ul, .bs-content ol { padding-left: 20px; margin-bottom: 16px; }
.bs-content li  { margin-bottom: 6px; }

.bs-divider-wrap { position: relative; }
.bs-divider {
    border: none;
    border-top: 1px solid var(--bs-border);
    margin: 40px 0;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.08));
}
.bs-html-block {
    color: var(--bs-heading-color);
    font-size: 15px;
    line-height: 1.73;
}
.bs-html-block > *:last-child {
    margin-bottom: 0;
}
.bs-html-block img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bs-radius);
}
.bs-html-block iframe,
.bs-html-block table {
    max-width: 100%;
}
.bs-html-block table {
    width: 100%;
}
.bs-home-builder-column > * + * { margin-top: 28px; }
.bs-home-builder-inner.is-boxed {
    overflow: hidden;
}
.bs-home-builder-inner.is-boxed .bs-card-feed-carousel,
.bs-home-builder-inner.is-boxed .bs-logo-slider-carousel,
.bs-home-builder-inner.is-boxed .bs-team-carousel {
    max-width: 100%;
    overflow: hidden;
}
.bs-home-builder-inner.is-boxed .bs-card-feed-carousel .owl-stage-outer,
.bs-home-builder-inner.is-boxed .bs-logo-slider-carousel .owl-stage-outer,
.bs-home-builder-inner.is-boxed .bs-team-carousel .owl-stage-outer {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}
.bs-home-builder-inner.is-boxed .bs-card-feed-carousel .owl-item,
.bs-home-builder-inner.is-boxed .bs-logo-slider-carousel .owl-item,
.bs-home-builder-inner.is-boxed .bs-team-carousel .owl-item {
    padding-left: 2px;
    padding-right: 2px;
}

/* Responsive */
@media (max-width: 991px) {
    .bs-hero-slide, .bs-hero-static { min-height: 420px; }
    .bs-section { padding: 56px 0; }
    .bs-tab-content { padding: 22px; }
}
@media (max-width: 767px) {
    .bs-hero-slide, .bs-hero-static { min-height: 340px; }
    .bs-section { padding: 40px 0; }
    .bs-stat-item { padding: 16px 8px; }
    .bs-product-share { align-items: flex-start; }
    .bs-product-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

.bs-team-card {
    background: var(--bs-surface);
    border: 1px solid rgba(30, 47, 90, 0.12);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bs-team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 99, 255, 0.18);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bs-team-card-img {
    aspect-ratio: 4 / 4;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    overflow: hidden;
}

.bs-team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-team-card-body {
    padding: 1.5rem 1.4rem 1.4rem;
}

.bs-team-name {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 .45rem;
    color: var(--bs-heading-color);
}

.bs-team-role {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: rgba(42, 99, 255, 0.08);
    border-radius: 999px;
    padding: .45rem .8rem;
    margin-bottom: 1rem;
}

.bs-team-desc {
    color: var(--bs-text-muted);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.bs-team-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.bs-team-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    background: #f4f7fe;
    color: var(--bs-heading-color);
    font-size: .88rem;
    font-weight: 600;
}

.bs-team-meta-pill i {
    color: var(--bs-primary);
}

.bs-team-card {
    background: var(--bs-surface);
    border: 1px solid rgba(30, 47, 90, 0.12);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bs-team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 99, 255, 0.18);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bs-team-card-img {
    aspect-ratio: 4 / 4;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    overflow: hidden;
}

.bs-team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-team-card-body {
    padding: 1.5rem 1.4rem 1.4rem;
}

.bs-team-name {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 .45rem;
    color: var(--bs-heading-color);
}

.bs-team-role {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: rgba(42, 99, 255, 0.08);
    border-radius: 999px;
    padding: .45rem .8rem;
    margin-bottom: 1rem;
}

.bs-team-desc {
    color: var(--bs-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.bs-team-detail-group + .bs-team-detail-group {
    margin-top: .85rem;
}

.bs-team-detail-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .92rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    margin-bottom: .55rem;
}

.bs-team-detail-title i {
    color: var(--bs-primary);
}

.bs-team-detail-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--bs-text-muted);
}

.bs-team-detail-list li {
    line-height: 1.7;
    margin-bottom: .2rem;
}

.bs-team-carousel .owl-stage-outer {
    overflow: hidden;
    padding: 10px 0 12px;
    margin: 0;
}

.bs-team-carousel .owl-stage {
    display: flex;
}

.bs-team-carousel .owl-item {
    padding-top: 8px;
    padding-bottom: 10px;
}

.bs-team-slide-card {
    box-shadow: none;
}

.bs-team-slide-card:hover {
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.bs-team-slide-img {
    aspect-ratio: 4 / 3;
}

.bs-team-slide-body {
    padding: 1.2rem 1.15rem 1.1rem;
}

.bs-team-slide-body .bs-team-name {
    font-size: 1.18rem;
    margin-bottom: .35rem;
}

.bs-team-slide-body .bs-team-role {
    font-size: .84rem;
    padding: .38rem .7rem;
    margin-bottom: .8rem;
}

.bs-team-slide-body .bs-team-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--bs-gray);
    margin-bottom: .8rem;
}

.bs-team-slide-body .bs-team-detail-group + .bs-team-detail-group {
    margin-top: .7rem;
}

.bs-team-slide-body .bs-team-detail-title {
    font-size: .85rem;
    margin-bottom: .35rem;
}

.bs-team-slide-body .bs-team-detail-list {
    padding-left: .95rem;
    font-size: .84rem;
}

.bs-team-slide-body .bs-team-detail-list li {
    line-height: 1.55;
    margin-bottom: .1rem;
}

.bs-testimonial-card {
    background: var(--bs-surface);
    border: 1px solid rgba(30, 47, 90, 0.1);
    border-radius: 24px;
    padding: 1.8rem 1.7rem 1.5rem;
    height: 100%;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.bs-testimonial-quote {
    color: var(--bs-heading-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.bs-testimonial-text {
    color: var(--bs-gray);
    font-size: 15px;
    line-height: 1.73;
    min-height: 230px;
    margin-bottom: 1.2rem;
}

.bs-testimonial-accent {
    height: 10px;
    border-radius: 0;
    margin-bottom: .85rem;
}

.bs-testimonial-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.bs-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bs-testimonial-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    line-height: 1.3;
}

.bs-testimonial-company {
    font-size: .95rem;
    color: var(--bs-text-muted);
    margin-top: .15rem;
}

.bs-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 34px 30px 30px;
    border: 1px solid rgba(48, 93, 255, 0.12);
    border-radius: 24px;
    background: var(--bs-surface);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bs-pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(48, 93, 255, 0.24);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.bs-pricing-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(48, 93, 255, 0.10);
    color: var(--bs-primary);
    font-size: .82rem;
    font-weight: 700;
}

.bs-pricing-title {
    margin: 0 0 8px;
    color: var(--bs-heading-color);
    font-size: 1.9rem;
    font-weight: 800;
}

.bs-pricing-subtitle {
    margin-bottom: 14px;
    color: var(--bs-text-muted);
    font-size: .98rem;
}

.bs-pricing-price-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 18px;
}

.bs-pricing-currency,
.bs-pricing-period {
    color: var(--bs-text-muted);
    font-size: .95rem;
    font-weight: 600;
}

.bs-pricing-price {
    color: var(--bs-heading-color);
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 800;
}

.bs-pricing-desc {
    margin-bottom: 18px;
    color: var(--bs-gray);
    font-size: 15px;
    line-height: 1.73;
}

.bs-pricing-features {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
}

.bs-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--bs-gray);
    font-size: .98rem;
    line-height: 1.7;
}

.bs-pricing-features i {
    margin-top: 4px;
    color: var(--bs-primary);
}

.bs-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bs-timeline-item {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.bs-timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 46px;
    width: 2px;
    height: calc(100% + 18px);
    background: linear-gradient(180deg, rgba(48, 93, 255, 0.28) 0%, rgba(48, 93, 255, 0.12) 100%);
}

.bs-timeline-marker {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #eef4ff;
    border: 1px solid rgba(48, 93, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bs-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bs-primary);
    box-shadow: 0 0 0 6px rgba(48, 93, 255, 0.10);
}

.bs-timeline-body {
    padding-top: 2px;
}
.bs-contact-panel { display: flex; flex-direction: column; gap: 18px; }
.bs-contact-info-item { margin-bottom: 0; }


.bs-footer-banner {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.bs-footer-banner-img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    display: block;
}

.bs-payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
}

.bs-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.bs-payment-badge i {
    color: var(--bs-primary);
    font-size: 14px;
}

.bs-footer-html {
    color: rgba(255,255,255,0.76);
    font-size: 15px;
    line-height: 1.73;
}

.bs-footer-html > *:last-child {
    margin-bottom: 0;
}

.bs-footer-html h1,
.bs-footer-html h2,
.bs-footer-html h3,
.bs-footer-html h4,
.bs-footer-html h5,
.bs-footer-html h6 {
    color: #fff;
    line-height: 1.2;
    margin: 0 0 12px;
    font-weight: 800;
}

.bs-footer-html h1 { font-size: 30px; }
.bs-footer-html h2 { font-size: 24px; }
.bs-footer-html h3 { font-size: 20px; }
.bs-footer-html h4 { font-size: 18px; }
.bs-footer-html p,
.bs-footer-html li,
.bs-footer-html span,
.bs-footer-html div {
    color: rgba(255,255,255,0.76);
}

.bs-footer-html a {
    color: var(--bs-white);
    text-decoration: underline;
}

.bs-footer-html ul,
.bs-footer-html ol {
    padding-left: 18px;
    margin-bottom: 12px;
}

.bs-footer-html p {
    margin-bottom: 10px;
}


/* =========================================================
   Page Detail -- Layout, Content, Media, Sidebar
   ========================================================= */

/* Page Header (breadcrumb + title) */
.bs-page-header {
    background-color: #1e293b;
    border-bottom: 3px solid var(--bs-primary);
    padding: 2rem 0;
}

.bs-page-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bs-page-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bs-breadcrumb-nav {
    flex-shrink: 0;
}

.bs-breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.bs-breadcrumb-item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.4);
}

.bs-breadcrumb-item + .bs-breadcrumb-item::before {
    content: '/';
    margin: 0 0.5rem;
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}

.bs-breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bs-breadcrumb-item a:hover {
    color: #fff;
}

.bs-breadcrumb-item.is-active span,
.bs-breadcrumb-item.active {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Page Detail Shell */
.bs-section--page {
    padding: 3rem 0;
}

.bs-page-detail-shell {
    display: block;
}

.bs-page-content-prose,
.bs-page-gallery,
.bs-page-faq,
.bs-page-team,
.bs-page-comments {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.bs-page-comments:last-child,
.bs-page-team:last-child,
.bs-page-faq:last-child,
.bs-page-gallery:last-child,
.bs-page-content-prose:last-child {
    padding-bottom: 0;
}

.bs-page-divider {
    border: none;
    border-top: 1px solid rgba(148,163,184,0.45);
    margin: 2.5rem 0;
}

/* Content prose used in all layouts */
.bs-page-content,
.bs-page-content-prose {
    color: var(--bs-text);
    line-height: 1.85;
    font-size: 1rem;
}

.bs-page-content > *:first-child,
.bs-page-content-prose > *:first-child {
    margin-top: 0;
}

.bs-page-content > *:last-child,
.bs-page-content-prose > *:last-child {
    margin-bottom: 0;
}

.bs-page-content h1,.bs-page-content h2,.bs-page-content h3,.bs-page-content h4,
.bs-page-content-prose h1,.bs-page-content-prose h2,.bs-page-content-prose h3,.bs-page-content-prose h4 {
    color: var(--bs-dark);
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.bs-page-content p,.bs-page-content ul,.bs-page-content ol,.bs-page-content blockquote,.bs-page-content table,
.bs-page-content-prose p,.bs-page-content-prose ul,.bs-page-content-prose ol,.bs-page-content-prose blockquote,.bs-page-content-prose table {
    margin-bottom: 1rem;
}

.bs-page-content img,
.bs-page-content-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

/* Featured image used in all image layouts */
.bs-page-media {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--bs-border);
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
    position: sticky;
    top: 108px;
}

.bs-page-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Full-page layout: featured image */
.bs-page-media-full {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--bs-border);
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}

.bs-page-media-full img {
    display: block;
    width: 100%;
    max-height: 55vh;
    object-fit: cover;
}

/* Sticky sidebar (menu layouts) */
.bs-page-sidecard--sticky {
    position: sticky;
    top: 108px;
}

/* FAQ accordion (page detail) */
.bs-page-faq {
}

.bs-page-faq-head {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 1.5rem;
}

.bs-page-faq-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    border-radius: 999px;
    background: var(--bs-primary);
}

.bs-page-faq-title {
    margin: 0;
    font-size: clamp(1.15rem, 1.4vw, 1.5rem);
    font-weight: 800;
    color: var(--bs-dark);
    line-height: 1.2;
}

.bs-page-faq-accordion .accordion-item {
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: 0;
    margin-bottom: 0;
}

.bs-page-faq-accordion .accordion-item:first-child {
    border-radius: 0;
}

.bs-page-faq-accordion .accordion-item:last-child {
    border-radius: 0;
}

.bs-page-faq-accordion .accordion-button {
    font-weight: 600;
    box-shadow: none;
    background: transparent;
}

.bs-page-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--bs-dark);
    background: transparent;
}

.bs-page-faq-accordion .accordion-body {
    color: var(--bs-text);
    line-height: 1.75;
}

/* Shared section head (team, comments) */
.bs-page-section-head {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 1.5rem;
}

.bs-page-section-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    border-radius: 999px;
    background: var(--bs-primary);
}

.bs-page-section-title {
    margin: 0;
    font-size: clamp(1.15rem, 1.4vw, 1.5rem);
    font-weight: 800;
    color: var(--bs-dark);
    line-height: 1.2;
}

/* Team carousel (page detail) */
.bs-page-team {
}

.bs-page-team-carousel,
.bs-page-comments-carousel {
    width: 100%;
    max-width: 100%;
}

.bs-page-team-card {
    min-width: 0;
    height: 100%;
    border-radius: 22px;
    background: var(--bs-surface);
    border: 1px solid rgba(148,163,184,0.22);
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

.bs-page-team-card-media {
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.bs-page-team-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bs-page-team-card-body {
    padding: 1rem;
}

.bs-page-team-card-name {
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
}

.bs-page-team-card-role {
    margin-bottom: 0.75rem;
    color: #b45309;
    font-size: 0.92rem;
    font-weight: 600;
}

.bs-page-team-card-desc {
    margin-bottom: 0;
    color: var(--bs-text);
    line-height: 1.7;
    font-size: 0.93rem;
}

.bs-page-team-card-group {
    margin-top: 0.85rem;
}

.bs-page-team-card-group-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    color: var(--bs-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.bs-page-team-card-list {
    margin: 0;
    padding-left: 1rem;
    color: #64748b;
    font-size: 0.88rem;
}

/* Comments carousel (page detail) */
.bs-page-comments {
}

.bs-page-comment-card {
    min-width: 0;
    height: 100%;
    background: var(--bs-surface);
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

.bs-page-comment-stars {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 0.85rem;
}

.bs-page-comment-text {
    margin: 0 0 1rem;
    color: var(--bs-text);
    line-height: 1.75;
    font-size: 0.95rem;
    font-style: italic;
}

.bs-page-comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bs-page-comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bs-page-comment-name {
    display: block;
    color: var(--bs-dark);
    font-size: 0.95rem;
}

.bs-page-comment-company {
    display: block;
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.85rem;
}

/* Shared owl overrides for team + comments */
.bs-page-team .owl-stage-outer,
.bs-page-comments .owl-stage-outer {
    padding: 10px 2px 14px;
}

.bs-page-team .owl-stage,
.bs-page-comments .owl-stage {
    display: flex;
}

.bs-page-team .owl-item,
.bs-page-comments .owl-item {
    display: flex;
}

.bs-page-team .owl-item > *,
.bs-page-comments .owl-item > * {
    width: 100%;
    max-width: 100%;
}

.bs-page-team .owl-dots,
.bs-page-comments .owl-dots {
    margin-top: 1rem;
    text-align: center;
}

.bs-page-team .owl-dots .owl-dot span,
.bs-page-comments .owl-dots .owl-dot span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 999px;
    background: rgba(148,163,184,0.5);
    transition: all 0.25s ease;
}

.bs-page-team .owl-dots .owl-dot.active span {
    width: 24px;
    background: #d97706;
}

.bs-page-comments .owl-dots .owl-dot.active span {
    width: 24px;
    background: var(--bs-primary);
}

.bs-page-team .owl-nav,
.bs-page-comments .owl-nav {
    margin-top: 0.75rem;
    text-align: center;
}

.bs-page-team .owl-nav button,
.bs-page-comments .owl-nav button {
    width: 38px;
    height: 38px;
    margin: 0 4px;
    border-radius: 999px;
    background: #fff !important;
    border: 1px solid rgba(148,163,184,0.28) !important;
    color: var(--bs-dark) !important;
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

/* Article Detail */
.bs-article-img {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--bs-border);
}

.bs-article-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.bs-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.bs-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--bs-muted);
}

.bs-article-meta-item i {
    font-size: 0.8rem;
    color: var(--bs-primary);
}

.bs-article-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--bs-text);
}

.bs-article-body h2,
.bs-article-body h3,
.bs-article-body h4 {
    font-weight: 700;
    color: var(--bs-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.bs-article-body p {
    margin-bottom: 1.25rem;
}

.bs-article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
}

.bs-article-body a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bs-article-body ul,
.bs-article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.bs-article-body li {
    margin-bottom: 0.4rem;
}

.bs-article-body blockquote {
    border-left: 4px solid var(--bs-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(37,99,235,0.04);
    border-radius: 0 12px 12px 0;
    color: var(--bs-text);
    font-style: italic;
}

/* Article Sidebar Tabs */
.bs-sidebar-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--bs-border);
}

.bs-sidebar-tab {
    background: none;
    border: none;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--bs-transition), border-color var(--bs-transition);
}

.bs-sidebar-tab:hover {
    color: var(--bs-dark);
}

.bs-sidebar-tab.is-active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

.bs-sidebar-tab-content {
    display: none;
}

.bs-sidebar-tab-content.is-active {
    display: block;
}

/* Article Sidebar */
.bs-article-sidebar {
    position: sticky;
    top: 108px;
}

.bs-sidebar-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37,99,235,0.08);
    color: var(--bs-primary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--bs-transition);
}

.bs-sidebar-category-link:hover {
    background: rgba(37,99,235,0.16);
}

.bs-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-recent-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bs-recent-post-item + .bs-recent-post-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--bs-border);
}

.bs-rp-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    background: var(--bs-border);
}

.bs-rp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-rp-thumb.bs-rp-thumb--no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray);
    font-size: 1.2rem;
}

.bs-rp-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.bs-rp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 3px;
}

.bs-rp-date {
    font-size: 0.78rem;
    color: var(--bs-muted);
}

.bs-rp-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--bs-muted);
}

.bs-rp-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-dark);
    line-height: 1.4;
    transition: color var(--bs-transition);
}

.bs-rp-title:hover {
    color: var(--bs-primary);
}

.bs-rp-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bs-rp-title-row .bs-rp-title {
    flex: 1;
    min-width: 0;
}

.bs-rp-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--bs-white);
    background: var(--bs-primary);
    border-radius: 20px;
    padding: 1px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Article List Cards */
.bs-blog-card {
    height: 100%;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--bs-transition), box-shadow var(--bs-transition), border-color var(--bs-transition);
}

.bs-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.18);
    box-shadow: 0 14px 30px rgba(15,23,42,0.06);
}

.bs-blog-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef3fb;
}

.bs-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--bs-transition);
}

.bs-blog-card:hover .bs-blog-img img {
    transform: scale(1.03);
}

.bs-blog-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bs-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 13px;
    color: var(--bs-muted);
    margin-bottom: 12px;
}

.bs-blog-meta-date,
.bs-blog-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bs-blog-title {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 0.6rem;
}

.bs-blog-title a {
    color: var(--bs-dark);
}

.bs-blog-title a:hover {
    color: var(--bs-primary);
}

.bs-blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--bs-muted);
    margin: 0 0 1rem;
    flex: 1;
}

.bs-blog-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-primary);
    transition: gap var(--bs-transition), color var(--bs-transition);
}

.bs-blog-more:hover {
    color: var(--bs-primary-dark);
    gap: 0.65rem;
}

/* Page Category Cards */
.bs-category-card {
    height: 100%;
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--bs-transition), box-shadow var(--bs-transition), border-color var(--bs-transition);
}

.bs-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.18);
    box-shadow: 0 14px 30px rgba(15,23,42,0.06);
}

.bs-category-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef3fb;
}

.bs-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--bs-transition);
}

.bs-category-card:hover .bs-category-img img {
    transform: scale(1.03);
}

.bs-category-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bs-category-name {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 0.6rem;
}

.bs-category-name a {
    color: var(--bs-dark);
}

.bs-category-name a:hover {
    color: var(--bs-primary);
}

.bs-category-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--bs-muted);
    margin: 0 0 1rem;
    flex: 1;
}

.bs-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-primary);
    transition: gap var(--bs-transition), color var(--bs-transition);
}

.bs-btn-link:hover {
    color: var(--bs-primary-dark);
    gap: 0.65rem;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .bs-page-header {
        padding: 1.25rem 0;
    }

    .bs-page-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .bs-page-media,
    .bs-page-media-full {
        border-radius: 18px;
    }
    .bs-page-team-card,
    .bs-page-comment-card {
        border-radius: 18px;
    }
    .bs-category-card {
        border-radius: 18px;
    }
}


/* =========================================================
   Gallery Component
   ========================================================= */
.bs-page-gallery {
}

.bs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 991.98px) {
    .bs-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575.98px) {
    .bs-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.bs-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
    position: relative;
    cursor: zoom-in;
}

.bs-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.bs-gallery-item::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(15,23,42,0.32);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bs-gallery-item:hover img {
    transform: scale(1.06);
}

.bs-gallery-item:hover::after {
    opacity: 1;
}

/* =========================================================
   BS Lightbox (vanilla JS, no deps)
   ========================================================= */
#bsLightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#bsLightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.bs-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7,11,22,0.92);
    backdrop-filter: blur(6px);
}

.bs-lb-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 0 4px;
}

.bs-lb-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
        linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
        linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.bs-lb-img.is-loading {
    opacity: 0;
}

.bs-lb-caption {
    margin-top: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    text-align: center;
    max-width: 600px;
}

.bs-lb-counter {
    margin-top: 6px;
    color: rgba(255,255,255,0.42);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.bs-lb-close,
.bs-lb-prev,
.bs-lb-next {
    position: fixed;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.bs-lb-close:hover,
.bs-lb-prev:hover,
.bs-lb-next:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.36);
}

.bs-lb-close {
    top: 18px;
    right: 18px;
}

.bs-lb-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.bs-lb-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

body.bs-lb-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .bs-lb-prev { left: 8px; }
    .bs-lb-next { right: 8px; }
    .bs-lb-close { top: 10px; right: 10px; }
    .bs-lb-close,
    .bs-lb-prev,
    .bs-lb-next { width: 40px; height: 40px; font-size: 0.9rem; }
}

/* Pagination */
.bs-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-pagination-item a.bs-pagination-link,
.bs-pagination-item span.bs-pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--bs-border);
    background: var(--bs-surface);
    color: var(--bs-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--bs-transition), border-color var(--bs-transition), color var(--bs-transition);
    text-decoration: none;
}

.bs-pagination-item a.bs-pagination-link:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background: rgba(37,99,235,0.05);
}

.bs-pagination-item.is-active a.bs-pagination-link,
.bs-pagination-item.is-active span.bs-pagination-link {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    font-weight: 700;
}

/* ── Team Card (module/our_team.php) ────────────────────── */
.bs-team-card {
    background: var(--bs-surface);
    border-radius: var(--bs-radius-lg);
    overflow: hidden;
    box-shadow: var(--bs-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bs-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bs-shadow-hover);
}
.bs-team-card__photo-wrap {
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 0;
}
.bs-team-card__photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bs-team-card__photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bs-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bs-gray);
}
.bs-team-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bs-team-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-dark);
    margin: 0 0 .25rem;
}
.bs-team-card__position {
    font-size: .82rem;
    font-weight: 500;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
}
.bs-team-card__text {
    font-size: .875rem;
    color: var(--bs-gray);
    line-height: 1.6;
    margin-bottom: .75rem;
    flex: 1;
}
.bs-team-card__list {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
    text-align: left;
    font-size: .8rem;
    color: var(--bs-gray);
}
.bs-team-card__list li { padding: .2rem 0; }
.bs-team-card__list li i {
    width: 16px;
    color: var(--bs-primary);
    margin-right: .35rem;
}

/* ── Section text color helpers (home_builder, contact_builder) ── */
.bs-section-text-light,
.bs-section-text-light h1,.bs-section-text-light h2,.bs-section-text-light h3,
.bs-section-text-light h4,.bs-section-text-light h5,.bs-section-text-light h6,
.bs-section-text-light p,.bs-section-text-light li,.bs-section-text-light small,
.bs-section-text-light .text-muted { color: #F8FAFC !important; }

.bs-section-text-dark,
.bs-section-text-dark h1,.bs-section-text-dark h2,.bs-section-text-dark h3,
.bs-section-text-dark h4,.bs-section-text-dark h5,.bs-section-text-dark h6,
.bs-section-text-dark p,.bs-section-text-dark li,.bs-section-text-dark small,
.bs-section-text-dark .text-muted { color: #0F172A !important; }

/* ── Print (components/form/request.php) ────────────────── */
@media print {
    body * { visibility: hidden; }
    #form-content-body, #form-content-body * { visibility: visible; }
    #form-content-body { position: absolute; top: 0; left: 0; width: 100%; }
}

/* ── Comments carousel (components/comments.php) ────────── */
.bs-comment-card {
    background: var(--bs-surface);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius-lg);
    padding: 28px 24px;
    margin: 8px 4px 24px;
    box-shadow: var(--bs-shadow);
}
.bs-comment-stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; }
.bs-comment-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--bs-dark);
    margin: 0 0 20px;
    font-style: italic;
}
.bs-comment-author { display: flex; align-items: center; gap: 12px; }
.bs-comment-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bs-comment-name  { display: block; font-size: 14px; font-weight: 600; color: var(--bs-dark); }
.bs-comment-company { display: block; font-size: 12px; color: var(--bs-gray); margin-top: 1px; }
.bs-comments-carousel { padding-bottom: 44px; }
.bs-comments-carousel .owl-dots { margin-top: 8px; text-align: center; }
.bs-comments-carousel .owl-dots .owl-dot span {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background: var(--bs-border); margin: 0 4px;
    transition: background .25s, width .25s;
}
.bs-comments-carousel .owl-dots .owl-dot.active span {
    background: var(--bs-primary); width: 24px; border-radius: 4px;
}
.bs-comments-carousel .owl-nav { text-align: center; margin-top: 4px; }
.bs-comments-carousel .owl-nav button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff !important; border: 2px solid var(--bs-border) !important;
    color: var(--bs-primary) !important; font-size: 13px; margin: 0 4px;
    transition: background .25s, border-color .25s, transform .15s;
    box-shadow: var(--bs-shadow);
}
.bs-comments-carousel .owl-nav button:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important; transform: scale(1.1);
}

/* ── Icon Input ───────────────────────────────────────────── */
.bs-input-icon {
    position: relative;
}
.bs-input-icon > i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-text-muted, #9ca3af);
    font-size: 13px;
    pointer-events: none;
    z-index: 5;
}
.bs-input-icon > .form-control,
.bs-input-icon > .form-select {
    padding-left: 36px;
}
.bs-input-icon.bs-input-icon--textarea > i {
    top: 14px;
    transform: none;
}

/* ── Form Error Feedback ─────────────────────────────────── */
.invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
}

/* ── Product Gallery Sticky (desktop only) ───────────────── */
.bs-product-gallery-sticky {
    position: sticky;
    top: 140px;
}

@media (max-width: 991.98px) {
    .bs-product-gallery-sticky {
        position: static;
        top: auto;
    }
}
