:root {
    --bb-red: #d71920;
    --bb-red-dark: #9f1118;
    --bb-black: #090909;
    --bb-charcoal: #151515;
    --bb-grey: #f4f4f5;
    --bb-white: #ffffff;
    --bb-gold: #f6b73c;
}

.public-body {
    background: #0b0b0d;
    color: #fff;
}

.bb-navbar {
    background: rgba(5, 5, 6, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bb-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(215,25,32,0.35), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(246,183,60,0.18), transparent 28%),
        linear-gradient(135deg, #050506 0%, #111114 48%, #270508 100%);
}

.bb-hero-glow {
    position: absolute;
    inset: auto -160px -220px auto;
    width: 520px;
    height: 520px;
    background: rgba(215,25,32,0.36);
    filter: blur(120px);
    border-radius: 50%;
}

.bb-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(215,25,32,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    font-weight: 700;
    font-size: 0.92rem;
}

.bb-hero-title {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    max-width: 920px;
}

.bb-hero-text {
    color: rgba(255,255,255,0.78);
    font-size: 1.22rem;
    line-height: 1.7;
    max-width: 720px;
    margin-top: 24px;
}

.bb-btn-red {
    background: linear-gradient(135deg, var(--bb-red), var(--bb-red-dark));
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(215,25,32,0.28);
}

.bb-btn-red:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(215,25,32,0.38);
}

.bb-btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 800;
    background: rgba(255,255,255,0.05);
}

.bb-btn-ghost:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.bb-btn-red,
.bb-btn-red:visited,
.bb-btn-red:active,
.bb-btn-red:focus {
    color: #fff !important;
}

.bb-btn-red *,
.bb-btn-red span {
    color: #fff !important;
}

.bb-btn-red:disabled,
.bb-btn-red.disabled {
    color: #fff !important;
    opacity: 0.85;
}

.bb-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}

.bb-trust-row i {
    color: var(--bb-gold);
    margin-right: 6px;
}

.bb-demo-shell {
    position: relative;
    padding: 20px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 30px 90px rgba(0,0,0,0.48);
    backdrop-filter: blur(20px);
}

.bb-demo-top {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.bb-demo-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

.bb-demo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}

.bb-demo-card.active {
    background: linear-gradient(135deg, rgba(215,25,32,0.95), rgba(20,20,20,0.95));
}

.bb-demo-card small {
    display: block;
    color: rgba(255,255,255,0.62);
    font-weight: 700;
    margin-bottom: 5px;
}

.bb-demo-card strong {
    display: block;
    font-size: 1.05rem;
}

.bb-demo-card i {
    font-size: 2rem;
}

.bb-demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.bb-demo-stats div {
    background: #fff;
    color: #111;
    padding: 16px;
    border-radius: 18px;
    text-align: center;
}

.bb-demo-stats strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
}

.bb-demo-stats span {
    font-size: 0.8rem;
    color: #666;
}

.bb-section {
    padding: 90px 0;
    background: #fff;
    color: #111;
}

.bb-section-dark {
    background:
        radial-gradient(circle at top left, rgba(215,25,32,0.25), transparent 30%),
        linear-gradient(180deg, #111 0%, #050505 100%);
    color: #fff;
}

.bb-feature-card {
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.bb-feature-card:hover,
.bb-module-card:hover {
    transform: translateY(-6px);
}

.bb-feature-card i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #111;
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 22px;
}

.bb-feature-card h3 {
    font-weight: 900;
    letter-spacing: -0.03em;
}

.bb-feature-card p {
    color: #666;
    line-height: 1.7;
}

.bb-section-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.bb-section-subtitle {
    color: rgba(255,255,255,0.68);
    max-width: 720px;
    margin: 14px auto 0;
    font-size: 1.1rem;
}

.bb-module-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.2s ease;
}

.bb-module-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bb-red), var(--bb-red-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
}

.bb-module-card h4 {
    font-weight: 900;
}

.bb-module-card p {
    color: rgba(255,255,255,0.68);
    min-height: 74px;
}

.bb-module-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    margin-top: 18px;
}

.bb-module-footer span {
    color: rgba(255,255,255,0.55);
}

.bb-module-footer strong {
    color: var(--bb-gold);
}

.bb-empty-modules {
    padding: 40px;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    text-align: center;
}

.bb-cta {
    padding: 90px 0;
    background: #fff;
    color: #111;
}

.bb-cta-card {
    padding: 60px 30px;
    border-radius: 36px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(246,183,60,0.26), transparent 30%),
        linear-gradient(135deg, #111, #260507);
    box-shadow: 0 25px 80px rgba(0,0,0,0.18);
}

.bb-cta-card h2 {
    font-weight: 900;
    letter-spacing: -0.04em;
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.bb-cta-card p {
    max-width: 720px;
    margin: 18px auto 28px;
    color: rgba(255,255,255,0.72);
    font-size: 1.1rem;
}

.bb-footer {
    background: #050505;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .bb-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .bb-demo-stats {
        grid-template-columns: 1fr;
    }
}

.bb-auth-section {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(215,25,32,0.30), transparent 30%),
        linear-gradient(135deg, #050506, #181818);
}

.bb-auth-title {
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.bb-auth-text {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 620px;
}

.bb-auth-points {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    color: rgba(255,255,255,0.82);
}

.bb-auth-points i {
    color: var(--bb-gold);
    margin-right: 8px;
}

.portal-body {
    background: #f4f4f5;
    color: #111;
}

.portal-wrapper {
    min-height: 100vh;
    display: flex;
}

.portal-sidebar {
    width: 285px;
    background:
        radial-gradient(circle at top, rgba(215,25,32,0.28), transparent 34%),
        linear-gradient(180deg, #090909, #171717);
    color: #fff;
    padding: 24px;
    position: fixed;
    inset: 0 auto 0 0;
    overflow-y: auto;
}

.portal-main {
    margin-left: 285px;
    width: calc(100% - 285px);
    padding: 34px;
}

.business-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 14px;
    border-radius: 18px;
    font-weight: 700;
    margin-bottom: 22px;
}

.sidebar-nav {
    display: grid;
    gap: 7px;
}

.sidebar-nav a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar-heading {
    margin-top: 18px;
    padding: 8px 14px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.42);
    font-weight: 900;
}

.page-header {
    margin-bottom: 26px;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 4px;
}

.page-header p {
    color: #666;
    font-size: 1.05rem;
}

.bb-card {
    background: #fff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card span {
    display: block;
    color: #666;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card h2 {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.bb-credit-strip {
    background: linear-gradient(135deg, #111, #33080c);
    color: #fff;
    border-radius: 24px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.bb-credit-strip span {
    display: block;
    color: rgba(255,255,255,0.68);
    font-weight: 700;
}

.bb-credit-strip strong {
    font-size: 2rem;
    font-weight: 900;
}

.module-market-card {
    display: flex;
    flex-direction: column;
}

.module-icon-dark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 1.6rem;
}

.module-price-box {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.module-price-box div {
    flex: 1;
    background: #f5f5f5;
    border-radius: 18px;
    padding: 14px;
}

.module-price-box span {
    display: block;
    color: #666;
    font-size: 0.82rem;
    font-weight: 700;
}

.module-price-box strong {
    font-size: 1.45rem;
    font-weight: 900;
}

@media (max-width: 900px) {
    .portal-sidebar {
        position: relative;
        width: 100%;
        min-height: auto;
    }

    .portal-wrapper {
        display: block;
    }

    .portal-main {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }
}

.sidebar-logout-btn {
    width: 100%;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.sidebar-logout-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.setup-list {
    display: grid;
    gap: 14px;
}

.setup-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #f7f7f8;
    border: 1px solid rgba(0,0,0,0.05);
}

.setup-status {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.setup-status.done {
    background: #198754;
}

.charge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.charge-row span {
    color: #666;
    font-weight: 700;
}

.charge-row strong {
    font-size: 1.15rem;
}

.charge-row.total {
    border-top: 2px solid #111;
    margin-top: 8px;
    font-size: 1.1rem;
}

.charge-row.total strong {
    font-size: 1.35rem;
}

.bb-card {
    color: #111;
}

.bb-card label,
.bb-card p,
.bb-card h1,
.bb-card h2,
.bb-card h3,
.bb-card h4,
.bb-card h5,
.bb-card h6 {
    color: #111;
}

.bb-card .text-muted {
    color: #666 !important;
}

.bb-card a {
    color: var(--bb-red);
    font-weight: 700;
}

.logo-upload-box {
    background: #f7f7f8;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 24px;
}

.logo-preview-wrap {
    min-height: 180px;
    border-radius: 22px;
    background: #fff;
    border: 1px dashed rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-preview-img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.logo-placeholder {
    color: #777;
    display: grid;
    gap: 8px;
    justify-items: center;
}

.logo-placeholder i {
    font-size: 2.4rem;
}

.colour-card {
    height: 100%;
    background: #f7f7f8;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 22px;
}

.colour-preview {
    width: 100%;
    height: 76px;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(0,0,0,0.08);
}

.colour-card h5 {
    font-weight: 900;
    margin-bottom: 8px;
}

.colour-card p {
    color: #666;
    font-size: 0.94rem;
    min-height: 66px;
}

.form-control-color {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    padding: 6px;
}

.module-explorer-main {
    overflow: hidden;
}

.module-benefits {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.module-benefits div {
    color: #333;
    font-weight: 650;
}

.module-benefits i {
    color: #198754;
    margin-right: 8px;
}

.module-example-placeholder {
    min-height: 220px;
    background: linear-gradient(135deg, #111, #33080c);
    color: #fff;
    border-radius: 24px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.module-example-placeholder i {
    font-size: 3rem;
}

.module-example-placeholder span {
    font-weight: 900;
    font-size: 1.2rem;
}

.module-pricing-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.module-pricing-strip div {
    background: #f7f7f8;
    border-radius: 20px;
    padding: 18px;
}

.module-pricing-strip span {
    display: block;
    color: #666;
    font-weight: 800;
    font-size: 0.85rem;
}

.module-pricing-strip strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.module-pricing-strip small {
    color: #666;
}

.addon-card {
    height: 100%;
    background: #f7f7f8;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 18px;
}

.addon-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.addon-card p {
    color: #666;
    font-size: 0.92rem;
    min-height: 54px;
}

.addon-card span {
    display: inline-block;
    font-weight: 800;
    color: var(--bb-red);
}

.module-marketplace-stack {
    display: grid;
    gap: 26px;
}

.module-core-card {
    border: 2px solid rgba(0,0,0,0.06);
}

.module-core-price-box {
    background: #f7f7f8;
    border-radius: 24px;
    padding: 20px;
}

.free-badge {
    display: inline-block;
    background: #198754;
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 12px;
    font-size: 0.82rem;
}

.module-addon-area {
    background: #f7f7f8;
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(0,0,0,0.06);
}

.module-addon-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.module-addon-card {
    height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.module-addon-card.locked-addon {
    opacity: 0.62;
    filter: grayscale(0.25);
}

.addon-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.addon-price {
    margin-top: auto;
    padding-top: 12px;
}

.addon-price small {
    display: block;
    color: #198754;
    font-weight: 800;
}

.addon-price strong {
    color: var(--bb-red);
}

.sticky-preview {
    position: sticky;
    top: 24px;
}

.image-upload-panel {
    background: #f7f7f8;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 22px;
}

.image-preview-box {
    min-height: 180px;
    background: #fff;
    border: 1px dashed rgba(0,0,0,0.18);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

.image-placeholder {
    display: grid;
    gap: 8px;
    justify-items: center;
    color: #777;
}

.image-placeholder i {
    font-size: 2.4rem;
}

.live-site-preview {
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.live-navbar {
    min-height: 62px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
}

.live-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    background: rgba(255,255,255,0.16);
    border-radius: 10px;
    padding: 4px;
}

.live-hero {
    min-height: 380px;
    color: #fff;
    background: linear-gradient(135deg, #222, #555);
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr);
    gap: 22px;
    align-items: center;
    padding: 34px;
}

.live-hero-content h2 {
    font-weight: 900;
    letter-spacing: -0.05em;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 0.98;
    margin: 14px 0;
}

.live-hero-content p {
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

.live-tagline {
    display: inline-flex;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.82rem;
    font-weight: 800;
}

.live-hero-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    color: #fff;
    font-weight: 800;
}

.live-side-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(0,0,0,0.28);
}

.live-side-image-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .sticky-preview {
        position: static;
    }
}

@media (max-width: 700px) {
    .live-hero {
        grid-template-columns: 1fr;
    }
}

.client-hero-tagline {
    display: inline-flex;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 8px 15px;
    font-weight: 800;
    margin-bottom: 18px;
}

.live-logo-placeholder {
    display: inline-flex;
    width: 42px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.live-footer {
    padding: 22px;
    text-align: center;
}

.live-footer-contact,
.live-footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.live-footer-social span {
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 800;
}
.live-footer {
    padding: 22px;
    text-align: center;
}

.live-footer-inner {
    display: grid;
    gap: 8px;
}

.live-footer-contact,
.live-footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.live-footer-contact span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.live-footer-social span {
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 800;
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.live-logo-placeholder {
    display: inline-flex;
    width: 42px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.service-admin-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.service-admin-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.services-live-preview {
    background: #f7f7f8;
    border-radius: 24px;
    padding: 24px;
}

.services-live-preview h2 {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.preview-service-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.preview-service-card img {
    width: 92px;
    height: 92px;
    border-radius: 16px;
    object-fit: cover;
}

.preview-service-card h5 {
    font-weight: 900;
    margin-bottom: 4px;
}

.preview-service-card p {
    color: #666;
    margin-bottom: 4px;
    font-size: 0.92rem;
}

.preview-service-card.empty {
    display: block;
    text-align: center;
}

.preview-single-service-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.preview-single-service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.preview-single-service-card h3 {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.preview-single-service-card p {
    color: #666;
    white-space: pre-line;
}

.testimonial-admin-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 22px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.testimonials-live-preview {
    background: #f7f7f8;
    border-radius: 24px;
    padding: 24px;
}

.testimonials-live-preview h2 {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.preview-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.preview-testimonial-card p {
    color: #666;
    margin-bottom: 10px;
}

.preview-testimonial-card strong {
    display: block;
    font-weight: 900;
}

.preview-testimonial-card small {
    color: #777;
}

.preview-single-testimonial-card {
    background: #fff;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.preview-single-testimonial-card p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    white-space: pre-line;
}

.preview-single-testimonial-card h5 {
    font-weight: 900;
    margin-bottom: 2px;
}

.blog-admin-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-admin-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}

.blog-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-admin-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.team-admin-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.section-live-preview {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
}

.section-live-preview h2 {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.preview-team-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    color: #111;
}

.preview-team-card img {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
}

.preview-team-card h5 {
    font-weight: 900;
    margin-bottom: 3px;
}

.preview-team-card small {
    display: block;
    color: #777;
    font-weight: 800;
    margin-bottom: 5px;
}

.preview-team-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.92rem;
}

.preview-team-card.empty {
    display: block;
    text-align: center;
}

.preview-single-team-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.preview-single-team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.preview-single-team-card h3 {
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
}

.preview-single-team-card strong {
    display: block;
    color: #666;
    margin-bottom: 14px;
}

.preview-single-team-card p {
    color: #666;
    white-space: pre-line;
}

.client-team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 999px;
    margin-bottom: 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.client-dynamic-section {
    background-size: cover;
    background-position: center;
}

.client-gallery-carousel {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0,0,0,0.20);
}

.client-gallery-slide-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.client-gallery-caption {
    background: rgba(0,0,0,0.55);
    border-radius: 18px;
    padding: 18px 22px;
    backdrop-filter: blur(8px);
}

.client-gallery-caption h5 {
    font-weight: 900;
}

@media (max-width: 768px) {
    .client-gallery-slide-img {
        height: 340px;
    }
}
.client-dynamic-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.client-dynamic-section .client-section-title,
.client-dynamic-section .lead {
    color: inherit !important;
}

.client-footer {
    background: {{ website.footer_background_colour|default:'#111111' }};
    color: {{ website.footer_text_colour|default:'#ffffff' }};
    padding: 60px 0;
}

.client-footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.client-footer-contact {
    font-size: 1rem;
    line-height: 1.9;
    opacity: 0.95;
}

.client-footer a {
    color: inherit;
    text-decoration: none;
}

.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    font-size: 1.15rem;
    transition: 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.20);
}
.site-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 70px 0 40px;
    margin-top: 80px;
}

.footer-main {
    max-width: 900px;
    margin: 0 auto;
}

.footer-main p {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.main-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-footer-links a:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}

.bb-message-alert {
    border-radius: 22px;
    padding: 18px 22px;
    margin-bottom: 14px;
    border: 0;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    font-weight: 600;
}

.bb-message-error,
.bb-message-danger {
    background: linear-gradient(135deg, #fff1f1, #ffe3e3);
    color: #a30000;
    border-left: 6px solid #d71920;
}

.bb-message-success {
    background: linear-gradient(135deg, #f0fff4, #dcfce7);
    color: #166534;
    border-left: 6px solid #198754;
}

.bb-message-warning {
    background: linear-gradient(135deg, #fff8e6, #ffefc2);
    color: #8a5a00;
    border-left: 6px solid #f6b73c;
}

.bb-message-info {
    background: linear-gradient(135deg, #eef6ff, #dbeafe);
    color: #1d4ed8;
    border-left: 6px solid #2563eb;
}