:root {
    --bh-bg: #ffffff;
    --bh-text: #1e272e;
    --bh-accent: #ff4757;
    --bh-accent-dark: #e84118;
    --bh-light: #fafafa;
    --bh-border: #eeeeee;
}

.bh-homepage,
.bh-homepage * {
    box-sizing: border-box;
}

.bh-homepage {
    background: var(--bh-bg);
    color: var(--bh-text);
}

.bh-wrapper {
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.bh-hero {
    text-align: center;
    margin-bottom: 40px;
}

.bh-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--bh-text);
    line-height: 1.2;
    margin: 0 0 12px;
}

.bh-desc {
    color: var(--bh-text);
    opacity: 0.85;
    max-width: 760px;
    margin: 0 auto 30px;
    font-weight: 500;
}

.bh-highlight {
    color: var(--bh-text);
    position: relative;
    z-index: 1;
}

.bh-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--bh-accent);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.bh-switch {
    display: inline-flex;
    background: var(--bh-bg);
    padding: 5px;
    border-radius: 50px;
    border: 2px solid var(--bh-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 4px;
}

.bh-btn {
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    color: #57606f;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
}

.bh-btn.active {
    background: var(--bh-accent);
    color: var(--bh-bg);
}

.bh-panel {
    display: block;
}

.bh-panel[hidden] {
    display: none !important;
}

.bh-counter-box {
    background: var(--bh-light);
    color: var(--bh-text);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--bh-border);
}

.bh-counter-copy strong {
    font-size: 18px;
    display: block;
    color: var(--bh-text);
    margin-bottom: 6px;
}

.bh-counter-copy span {
    font-size: 13px;
    opacity: 0.8;
}

.bh-counter-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    color: var(--bh-accent);
    white-space: nowrap;
}

.bh-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.bh-stat-box {
    background: var(--bh-bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--bh-border);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s, border-color 0.3s;
}

.bh-stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--bh-accent);
}

.bh-stat-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--bh-accent);
    display: block;
    margin-bottom: 5px;
}

.bh-stat-lbl {
    font-size: 13px;
    color: var(--bh-text);
    opacity: 0.7;
    font-weight: 500;
}

.bh-ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--bh-text);
    color: var(--bh-bg);
    padding: 12px 0;
    margin-bottom: 50px;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
}

.bh-ticker-content {
    display: inline-block;
    animation: bhMarquee 30s linear infinite;
}

.bh-ticker-item {
    display: inline-block;
    margin: 0 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bh-ticker-dot {
    color: var(--bh-accent);
    font-weight: bold;
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

@keyframes bhMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bh-section-title {
    margin: 0 0 12px;
    font-size: 28px;
    color: var(--bh-text);
    text-align: center;
}

.bh-section-desc {
    margin: 0 auto 30px;
    max-width: 860px;
    color: #57606f;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.bh-services-section {
    margin-bottom: 50px;
}

.bh-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bh-service-card {
    background: var(--bh-bg);
    border: 1px solid var(--bh-border);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: 0.3s;
}

.bh-service-card:hover {
    border-color: var(--bh-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.1);
}

.bh-service-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--bh-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    border: 2px solid var(--bh-accent);
}

.bh-service-title {
    font-weight: 700;
    color: var(--bh-text);
    margin: 0 0 10px;
    font-size: 16px;
}

.bh-service-desc {
    font-size: 13px;
    color: var(--bh-text);
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
}

.bh-home-refs {
    margin-bottom: 40px;
}

.bh-home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.bh-home-category-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.bh-home-category-card:hover {
    transform: translateY(-4px);
    border-color: #ffd7dc;
    box-shadow: 0 12px 28px rgba(255, 71, 87, 0.08);
}

.bh-home-category-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fafafa;
}

.bh-home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bh-home-category-content {
    padding: 18px 18px 20px;
}

.bh-home-category-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1e272e;
    line-height: 1.35;
}

.bh-home-category-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #57606f;
}

.bh-ref-actions,
.bh-actions-center {
    text-align: center;
    margin-top: 30px;
}

.bh-divider {
    border: 0;
    border-top: 1px solid var(--bh-border);
    margin: 50px 0;
}

.bh-cta-box {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--bh-bg);
    border: 1px solid var(--bh-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.bh-cta-box h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: var(--bh-text);
}

.bh-cta-box p {
    color: var(--bh-text);
    margin: 0 0 25px;
    opacity: 0.8;
    font-weight: 500;
}

.bh-studio-box {
    margin-top: 0;
    margin-bottom: 28px;
    background: linear-gradient(180deg, #fff, #fff8f9);
}

.bh-cta-btn {
    background: var(--bh-accent);
    color: var(--bh-bg);
    padding: 15px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    transition: 0.3s;
    font-size: 16px;
}

.bh-cta-btn:hover {
    background: var(--bh-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 65, 24, 0.4);
    color: var(--bh-bg);
}

.bh-cta-outline {
    background: transparent;
    color: var(--bh-text);
    border: 2px solid var(--bh-text);
    box-shadow: none;
}

.bh-cta-outline:hover {
    background: var(--bh-text);
    color: #fff;
    box-shadow: none;
}

.bh-center {
    text-align: center;
}

.bh-loading-box {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    border: 1px dashed #dddddd;
    border-radius: 16px;
    background: #fff;
    color: #57606f;
}

.bh-chat-wrapper { 
    font-family: 'Poppins', sans-serif; 
    max-width: 1000px; 
    margin: 60px auto; 
    padding: 20px; 
    position: relative; 
    overflow: hidden; 
}

.bh-chat-header { text-align: center; margin-bottom: 60px; }
.bh-chat-title { font-size: 32px; font-weight: 700; color: #1e272e; margin-bottom: 10px; }
.bh-chat-subtitle { font-size: 16px; color: #1e272e; opacity: 0.8; }
.bh-timeline-line { position: absolute; left: 50%; top: 150px; bottom: 50px; width: 4px; background: #eeeeee; transform: translateX(-50%); border-radius: 4px; z-index: 0; }

.bh-msg-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.bh-msg-row.visible { opacity: 1; transform: translateY(0); }
.bh-msg-box { width: 45%; padding: 20px; border-radius: 15px; position: relative; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid #eeeeee; }
.bh-msg-row.customer { flex-direction: row; }
.bh-msg-row.customer .bh-msg-box { background: #ffffff; color: #1e272e; border-bottom-left-radius: 2px; margin-right: auto; }
.bh-msg-row.customer::before { content: '👤'; position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 40px; height: 40px; background: #fafafa; border-radius: 50%; border: 4px solid #ffffff; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.bh-msg-row.brand { flex-direction: row-reverse; }
.bh-msg-row.brand .bh-msg-box { background: #1e272e; color: #ffffff; border-bottom-right-radius: 2px; margin-left: auto; border-color:#1e272e; }
.bh-msg-row.brand .bh-msg-title { color: #ff4757 !important; }
.bh-msg-row.brand .bh-msg-desc { color: rgba(255,255,255,0.9) !important; }
.bh-msg-row.brand::before { content: '🏭'; position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 40px; height: 40px; background: #1e272e; border-radius: 50%; border: 4px solid #ffffff; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; color: #ff4757; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.bh-msg-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; font-weight: 600; opacity: 0.7; text-transform: uppercase; }
.bh-msg-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: #1e272e; }
.bh-msg-desc { font-size: 14px; line-height: 1.5; color: #1e272e; opacity: 0.9; }
.bh-tag { display: inline-block; padding: 4px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; background: rgba(0,0,0,0.05); margin-top: 10px; }
.bh-msg-row.brand .bh-tag { background: rgba(255,255,255,0.1); }

.baghashtag-gallery-container,
.baghashtag-gallery-container * {
    font-family: 'Poppins', sans-serif !important;
}

.baghashtag-gallery-container {
    margin: 0 auto 50px;
    max-width: 1200px;
    padding: 0 15px;
}

.baghashtag-intro-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #eeeeee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.baghashtag-intro-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e272e;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.baghashtag-intro-text {
    font-size: 16px;
    color: #1e272e;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.8;
}

.baghashtag-highlight {
    color: #ff4757;
    font-weight: 600;
}

.baghashtag-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.baghashtag-tab-btn {
    background-color: #ffffff;
    color: #1e272e;
    border: 1px solid #eeeeee;
    padding: 12px 28px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.baghashtag-tab-btn:hover {
    background-color: #fafafa;
    color: #ff4757;
    transform: translateY(-2px);
    border-color: #ff4757;
}

.baghashtag-tab-btn.active {
    background-color: #ff4757;
    color: #ffffff;
    border-color: #ff4757;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.baghashtag-header-area {
    text-align: center;
    margin-bottom: 30px;
}

.baghashtag-category-title {
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e272e;
}

.baghashtag-category-desc {
    font-size: 15px;
    color: #1e272e;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.8;
}

.baghashtag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.baghashtag-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid #eeeeee;
}

.baghashtag-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.15);
    border-color: #ff4757;
}

.baghashtag-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.baghashtag-legal-notice {
    margin-top: 50px;
    padding: 20px;
    background-color: #fdf6f6;
    border-left: 4px solid #ff4757;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 4px;
}

.baghashtag-legal-notice strong {
    color: #ff4757;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .baghashtag-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .bh-home-category-grid,
    .bh-stats-row,
    .bh-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bh-title {
        font-size: 28px;
    }

    .bh-switch {
        flex-direction: column;
        border-radius: 18px;
    }

    .bh-btn {
        width: 100%;
        justify-content: center;
    }

    .bh-counter-box {
        flex-direction: column;
        text-align: center;
    }

    .bh-counter-num {
        white-space: normal;
        font-size: 28px;
    }

    .bh-chat-wrapper {
        padding: 12px;
        margin: 36px auto;
    }

    .bh-timeline-line {
        left: 20px;
        top: 120px;
    }

    .bh-msg-row {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 50px;
        margin-bottom: 30px;
    }

    .bh-msg-box {
        width: 100%;
        border-radius: 15px !important;
    }

    .bh-msg-row.customer::before,
    .bh-msg-row.brand::before {
        left: -30px;
        top: 0;
        transform: none;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .bh-wrapper {
        padding: 28px 16px 50px;
    }

    .bh-home-category-grid,
    .bh-stats-row,
    .bh-services-grid,
    .baghashtag-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bh-home-category-content,
    .bh-cta-box {
        padding: 16px;
    }

    .bh-section-title,
    .bh-cta-box h2,
    .bh-chat-title,
    .baghashtag-intro-title {
        font-size: 24px;
    }

    .bh-ticker-item {
        font-size: 12px;
        margin: 0 10px;
    }
}
