/* =====================================================
   BizMela Home Page — Premium Design
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bm-primary: #6366f1;
    --bm-primary-hover: #4f46e5;
    --bm-primary-light: #eef2ff;
    --bm-primary-glow: rgba(99, 102, 241, 0.25);
    --bm-accent: #8b5cf6;
    --bm-accent-light: rgba(139, 92, 246, 0.1);
    --bm-dark: #0f172a;
    --bm-text: #334155;
    --bm-muted: #64748b;
    --bm-light: #f8fafc;
    --bm-border: #e2e8f0;
    --bm-white: #ffffff;
    --bm-star: #f59e0b;
    --bm-green: #10b981;
    --bm-radius: 16px;
    --bm-radius-sm: 10px;
    --bm-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --bm-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --bm-shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    --bm-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --bm-shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    --bm-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --bm-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --bm-transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================
   Global Reset & Enhancements
   ========================================== */

.bm-home * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bm-home {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--bm-text);
    line-height: 1.6;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure single scroll context on home page — prevent double scrollbar */
html,
html body {
    scroll-behavior: smooth !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
}

/* Override parent theme wrappers that may create nested scroll containers */
body .site,
body .site-content,
body #content,
body #page,
body .rtcl,
body .main-content,
body #wrapper,
body .wrapper,
body .page-content,
body .entry-content {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Custom Scrollbar */
.bm-home ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.bm-home ::-webkit-scrollbar-track {
    background: transparent;
}

.bm-home ::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}

.bm-home ::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Selection */
.bm-home ::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--bm-dark);
}

.bm-home a {
    text-decoration: none;
    color: inherit;
    transition: var(--bm-transition);
}

.bm-home img {
    max-width: 100%;
    height: auto;
}

/* Container */
.bm-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section */
.bm-section {
    padding: 80px 0;
    position: relative;
}

.bm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.bm-section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--bm-dark);
    margin: 0;
    letter-spacing: -0.5px;
}

.bm-section-header p {
    margin: 8px 0 0;
    color: var(--bm-muted);
    font-size: 15px;
    letter-spacing: -0.1px;
}

.bm-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--bm-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 30px;
    background: var(--bm-primary-light);
    border: 1px solid transparent;
}

.bm-view-all:hover {
    color: var(--bm-primary-hover);
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
    gap: 10px;
    transform: translateX(3px);
}

.bm-view-all::after {
    content: '→';
    font-size: 16px;
    transition: var(--bm-transition);
}

/* ==========================================
   Hero Section — Premium Gradient Mesh
   ========================================== */

.bm-hero {
    position: relative;
    padding: 110px 0 170px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 25%, #e0e7ff 50%, #dbeafe 75%, #f0fdf4 100%);
    overflow: hidden;
    text-align: center;
}

/* Animated Gradient Mesh Blobs */
.bm-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.bm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    will-change: transform;
}

.bm-blob-1 {
    top: -80px;
    left: -80px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.3) 60%, transparent 100%);
    animation: floatBlob1 12s infinite ease-in-out;
}

.bm-blob-2 {
    bottom: -120px;
    right: -60px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(14, 165, 233, 0.2) 60%, transparent 100%);
    animation: floatBlob2 14s infinite ease-in-out;
}

.bm-blob-3 {
    top: 25%;
    left: 45%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(244, 114, 182, 0.15) 60%, transparent 100%);
    animation: floatBlob3 10s infinite ease-in-out;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(40px, 60px) scale(1.1) rotate(5deg); }
    66% { transform: translate(-20px, 30px) scale(0.95) rotate(-3deg); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-50px, -40px) scale(1.08) rotate(-4deg); }
    66% { transform: translate(30px, -20px) scale(0.97) rotate(3deg); }
}

@keyframes floatBlob3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.15); }
}

.bm-glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
}

/* Decorative grid pattern */
.bm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.bm-hero-centered {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 70px;
}

/* Animated Shimmer Badge */
.bm-hero-badge {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.12));
    color: #6b21a8;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
    animation: badgePulse 3s ease-in-out infinite;
}

.bm-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
}

.bm-hero h1 {
    font-size: 62px;
    font-weight: 900;
    color: var(--bm-dark);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.bm-text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 30%, #a855f7 60%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.bm-hero-subtitle {
    font-size: 18px;
    color: var(--bm-muted);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 580px;
    letter-spacing: -0.2px;
}

/* ==========================================
   Search Box — Glassmorphism
   ========================================== */

.bm-search-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 28px 32px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--bm-transition);
}

.bm-search-box:hover {
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

/* Search Tabs — Pill Style */
.bm-search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.bm-search-tab {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bm-muted);
    cursor: pointer;
    background: rgba(241, 245, 249, 0.6);
    border: 1.5px solid transparent;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--bm-transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.bm-search-tab:hover {
    background: rgba(241, 245, 249, 0.9);
    color: var(--bm-dark);
    transform: translateY(-1px);
}

.bm-search-tab.active {
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}

.bm-search-tab.active svg {
    color: #6366f1;
}

.bm-search-tab:nth-child(2).active {
    color: #ea580c;
    border-color: rgba(234, 88, 12, 0.3);
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.06), rgba(249, 115, 22, 0.06));
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.1);
}
.bm-search-tab:nth-child(2).active svg { color: #ea580c; }

.bm-search-tab:nth-child(3).active {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.3);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.06), rgba(16, 185, 129, 0.06));
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}
.bm-search-tab:nth-child(3).active svg { color: #059669; }

.bm-search-tab svg {
    width: 18px;
    height: 18px;
}

/* Search Fields */
.bm-search-fields {
    display: grid;
    grid-template-columns: 1.5fr auto 1.5fr auto 1fr auto;
    gap: 0;
    align-items: center;
    background: var(--bm-white);
    border-radius: 14px;
    border: 1.5px solid var(--bm-border);
    padding: 4px;
    transition: var(--bm-transition);
}

.bm-search-fields:focus-within {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.bm-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
}

.bm-search-field svg {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    flex-shrink: 0;
}

.bm-search-field input,
.bm-search-field select {
    border: none;
    background: none;
    font-size: 14px;
    color: var(--bm-dark);
    font-family: 'Inter', sans-serif;
    width: 100%;
    outline: none;
    font-weight: 500;
}

.bm-search-field input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.bm-search-field select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 500;
}

/* Custom Select Dropdown UI */
.bm-custom-select-wrapper {
    position: relative;
    padding: 0;
}

.bm-custom-select-wrapper > svg:first-child {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.bm-custom-select {
    position: relative;
    width: 100%;
    height: 100%;
}

.bm-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 14px 18px 14px 44px; /* Space for the absolute icon */
    cursor: pointer;
    font-weight: 500;
    color: var(--bm-dark);
    user-select: none;
}

.bm-select-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.bm-select-arrow {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.bm-custom-select.open .bm-select-arrow {
    transform: rotate(180deg);
}

.bm-select-dropdown {
    position: absolute;
    bottom: calc(100% + 10px); /* Open upwards */
    top: auto;
    left: 0;
    width: 320px;
    background: var(--bm-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bm-custom-select.open .bm-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bm-select-search {
    padding: 12px;
    border-bottom: 1px solid var(--bm-border);
    position: relative;
    display: flex;
    align-items: center;
}

.bm-select-search svg {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    width: 14px;
    height: 14px;
}

.bm-select-search input {
    width: 100%;
    padding: 10px 10px 10px 30px;
    border: 1px solid var(--bm-border);
    border-radius: 8px;
    font-size: 13px;
    background: #f8fafc;
    transition: border-color 0.2s;
}

.bm-select-search input:focus {
    outline: none;
    border-color: var(--bm-primary);
    background: var(--bm-white);
}

.bm-select-options {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    max-height: 250px;
    overflow-y: auto;
    /* Ensure scrollbar works correctly */
    overscroll-behavior: contain;
}

/* Custom scrollbar for options */
.bm-select-options::-webkit-scrollbar { width: 6px; }
.bm-select-options::-webkit-scrollbar-track { background: transparent; }
.bm-select-options::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.bm-select-option {
    padding: 10px 16px 10px 40px;
    font-size: 14px;
    color: var(--bm-text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.bm-select-option:hover {
    background: var(--bm-primary-light);
    color: var(--bm-primary);
}

.bm-select-option.selected {
    font-weight: 600;
    color: var(--bm-primary);
    background: #f1f5f9;
}

.bm-select-option.selected::before {
    content: '✓';
    position: absolute;
    left: 16px;
    color: var(--bm-primary);
    font-weight: bold;
}

.bm-search-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, transparent, var(--bm-border), transparent);
}

/* Search Button — Gradient Glow */
.bm-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--bm-white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--bm-transition);
    font-family: 'Inter', sans-serif;
    margin: 4px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.bm-search-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bm-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.bm-search-btn:hover::before {
    opacity: 1;
}

.bm-search-btn svg,
.bm-search-btn span {
    position: relative;
    z-index: 1;
}

.bm-search-btn svg {
    width: 16px;
    height: 16px;
}

/* Popular Searches */
.bm-popular-searches {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bm-popular-searches strong {
    font-size: 13px;
    color: var(--bm-dark);
    font-weight: 700;
    margin-right: 4px;
}

.bm-popular-tag {
    font-size: 12px;
    color: #475569;
    padding: 7px 16px;
    border-radius: 20px;
    background: rgba(241, 245, 249, 0.8);
    transition: var(--bm-transition);
    cursor: pointer;
    font-weight: 500;
    border: 1px solid transparent;
}

.bm-popular-tag:hover {
    color: var(--bm-primary);
    background: var(--bm-primary-light);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

/* ==========================================
   Explore by Category — Elevated Cards
   ========================================== */

.bm-categories {
    background: var(--bm-white);
    padding-top: 110px;
    position: relative;
}

/* Subtle pattern background */
.bm-categories::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.bm-center-header {
    text-align: center;
    justify-content: center;
}

.bm-decorated-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 32px !important;
    position: relative;
}

.bm-decorated-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 4px;
}

.bm-dash-icon {
    color: #c4b5fd;
}
.bm-dash-icon.left { transform: rotate(180deg); }

/* Category Grid */
.bm-category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.bm-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 12px;
    border-radius: 20px;
    transition: var(--bm-transition-bounce);
    cursor: pointer;
    text-align: center;
    background: var(--bm-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.bm-category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, currentColor, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bm-category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.bm-category-item:hover::before {
    opacity: 0.04;
}

.bm-category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bm-transition-bounce);
    border-radius: 16px;
    padding: 12px;
    position: relative;
}

.bm-category-item:hover .bm-category-icon {
    transform: scale(1.15) rotate(5deg);
}

.bm-category-icon svg {
    width: 100%;
    height: 100%;
}

/* Category Colors */
.bm-cat-purple { color: #8b5cf6; }
.bm-cat-orange { color: #f97316; }
.bm-cat-red { color: #ef4444; }
.bm-cat-blue { color: #3b82f6; }
.bm-cat-teal { color: #14b8a6; }
.bm-cat-pink { color: #ec4899; }
.bm-cat-green { color: #22c55e; }
.bm-cat-gray { color: #94a3b8; }

.bm-category-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--bm-dark);
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.bm-category-count {
    font-size: 12px;
    color: var(--bm-muted);
    font-weight: 500;
    margin-top: -6px;
}

/* ==========================================
   Featured Businesses — Premium 3D Cards
   ========================================== */

.bm-businesses {
    background: linear-gradient(180deg, var(--bm-light) 0%, #f1f5f9 100%);
    position: relative;
}

.bm-businesses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bm-border), transparent);
}

.bm-carousel-wrapper {
    position: relative;
}

.bm-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px;
}

.bm-carousel::-webkit-scrollbar {
    display: none;
}

.bm-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--bm-border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--bm-transition);
    color: var(--bm-dark);
}

.bm-carousel-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--bm-white);
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.bm-carousel-prev { left: -24px; }
.bm-carousel-next { right: -24px; }

.bm-carousel-btn svg {
    width: 18px;
    height: 18px;
}

/* Business Card — Premium */
.bm-biz-card {
    min-width: 270px;
    max-width: 270px;
    background: var(--bm-white);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bm-biz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bm-biz-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.bm-biz-card:hover::before {
    opacity: 1;
}

.bm-biz-card-img {
    position: relative;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-biz-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.03) 0%, transparent 50%);
    pointer-events: none;
    transition: var(--bm-transition);
}

.bm-biz-card:hover .bm-biz-card-img::after {
    background: linear-gradient(to top, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.bm-biz-card-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.bm-biz-card-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-biz-card:hover .bm-biz-card-img img {
    transform: scale(1.08);
}

.bm-biz-card-body {
    padding: 18px 8px 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bm-biz-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--bm-dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
}

.bm-biz-card-cat {
    font-size: 12px;
    font-weight: 600;
    color: var(--bm-primary);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--bm-primary-light);
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.bm-biz-card-location {
    font-size: 13px;
    color: var(--bm-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bm-biz-card-location svg {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    flex-shrink: 0;
}

.bm-biz-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    margin-top: auto;
}

.bm-biz-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bm-dark);
}

.bm-biz-rating svg {
    width: 15px;
    height: 15px;
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

.bm-biz-rating small {
    font-weight: 500;
    color: var(--bm-muted);
    font-size: 12px;
}

.bm-view-details-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bm-primary);
    transition: var(--bm-transition);
    border: 1px solid transparent;
}

.bm-view-details-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--bm-white);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* ==========================================
   Popular Services — Refined Grid
   ========================================== */

.bm-services {
    background: var(--bm-white);
    position: relative;
}

.bm-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bm-border), transparent);
}

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

.bm-service-card {
    display: block;
    background: var(--bm-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--bm-transition);
    position: relative;
}

.bm-service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.bm-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bm-shadow-hover);
    border-color: transparent;
}

.bm-service-card:hover::before {
    opacity: 1;
}

.bm-service-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.bm-service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.08) 0%, transparent 40%);
    pointer-events: none;
    transition: var(--bm-transition);
}

.bm-service-card:hover .bm-service-card-img::after {
    background: linear-gradient(to top, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
}

.bm-service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-service-card:hover .bm-service-card-img img {
    transform: scale(1.08);
}

.bm-service-card-body {
    padding: 20px 20px;
}

.bm-service-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bm-dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.bm-service-card-cat {
    font-size: 13px;
    color: var(--bm-muted);
    margin-bottom: 10px;
}

.bm-service-card-location {
    font-size: 13px;
    color: var(--bm-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.bm-service-card-location svg {
    width: 14px;
    height: 14px;
    color: var(--bm-primary);
    flex-shrink: 0;
}

.bm-service-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--bm-primary);
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: var(--bm-primary-light);
    border-radius: 8px;
}

.bm-service-price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--bm-muted);
}

/* ==========================================
   Latest Jobs — Modern List with Accents
   ========================================== */

.bm-jobs {
    background: linear-gradient(180deg, var(--bm-light) 0%, #f1f5f9 100%);
    position: relative;
}

.bm-jobs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bm-border), transparent);
}

.bm-jobs-list {
    background: var(--bm-white);
    border-radius: 20px;
    box-shadow: var(--bm-shadow-md);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.bm-job-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--bm-transition);
    position: relative;
    border-left: 3px solid transparent;
}

.bm-job-item:last-child {
    border-bottom: none;
}

.bm-job-item:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.01));
    border-left-color: var(--bm-primary);
}

.bm-job-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--bm-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--bm-white);
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bm-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-job-info {
    min-width: 0;
}

.bm-job-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--bm-dark);
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.bm-job-title a:hover {
    color: var(--bm-primary);
}

.bm-job-company {
    font-size: 13px;
    color: var(--bm-muted);
}

.bm-job-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--bm-muted);
    white-space: nowrap;
}

.bm-job-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.bm-job-badge {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.bm-badge-fulltime {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.bm-badge-parttime {
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.bm-badge-contract {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.bm-badge-remote {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.bm-job-apply-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--bm-white);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--bm-transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.bm-job-apply-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bm-job-apply-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    color: var(--bm-white);
}

.bm-job-apply-btn:hover::before {
    opacity: 1;
}

/* ==========================================
   CTA Section — Animated Gradient
   ========================================== */

.bm-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 30%, #818cf8 60%, #a5b4fc 100%);
    background-size: 300% 300%;
    animation: ctaGradient 8s ease infinite;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

@keyframes ctaGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating decorative elements */
.bm-cta::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatDecor1 6s ease-in-out infinite;
}

.bm-cta::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: floatDecor2 8s ease-in-out infinite;
}

@keyframes floatDecor1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

@keyframes floatDecor2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

.bm-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.bm-cta-content {
    flex: 1;
    max-width: 500px;
}

.bm-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--bm-white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bm-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.bm-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.bm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--bm-transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.bm-cta-btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #4338ca;
    backdrop-filter: blur(8px);
}

.bm-cta-btn-primary:hover {
    background: var(--bm-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.bm-cta-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bm-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.bm-cta-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bm-cta-image {
    flex-shrink: 0;
    position: relative;
}

.bm-cta-image-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.25);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.bm-cta-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-cta-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================
   How It Works — Polished Steps
   ========================================== */

.bm-how-it-works {
    background: var(--bm-white);
    text-align: center;
    position: relative;
}

.bm-how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bm-border), transparent);
}

.bm-how-it-works .bm-section-header {
    justify-content: center;
    margin-bottom: 60px;
}

.bm-how-it-works .bm-section-header h2 {
    text-align: center;
    position: relative;
}

.bm-how-it-works .bm-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 4px;
}

.bm-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Animated connection line */
.bm-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        rgba(99, 102, 241, 0.2) 0,
        rgba(99, 102, 241, 0.2) 8px,
        transparent 8px,
        transparent 16px
    );
    animation: dashFlow 20s linear infinite;
}

@keyframes dashFlow {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

.bm-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.bm-step-icon {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: var(--bm-transition-bounce);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

/* Gradient ring */
.bm-step-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.bm-step:hover .bm-step-icon {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.bm-step:hover .bm-step-icon::before {
    opacity: 0.6;
}

.bm-step-icon svg {
    width: 38px;
    height: 38px;
    color: var(--bm-primary);
}

.bm-step-number {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--bm-white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bm-white);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3), 0 0 0 6px rgba(99, 102, 241, 0.08); }
}

.bm-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bm-dark);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.bm-step p {
    font-size: 14px;
    color: var(--bm-muted);
    max-width: 260px;
    line-height: 1.7;
}

/* ==========================================
   Footer — Dark Premium
   ========================================== */

.bm-footer {
    background: linear-gradient(180deg, #0c1222 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
    position: relative;
}

/* Top glow line */
.bm-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

.bm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bm-footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--bm-white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.bm-footer-brand h3 svg {
    width: 24px;
    height: 24px;
    color: #818cf8;
}

.bm-footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.5);
}

/* Social Icons with Colored Hovers */
.bm-footer-social {
    display: flex;
    gap: 12px;
}

.bm-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--bm-transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Facebook */
.bm-footer-social a:nth-child(1):hover {
    background: #1877f2;
    color: var(--bm-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
    border-color: transparent;
}

/* Instagram */
.bm-footer-social a:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--bm-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.3);
    border-color: transparent;
}

/* YouTube */
.bm-footer-social a:nth-child(3):hover {
    background: #ff0000;
    color: var(--bm-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    border-color: transparent;
}

/* Twitter */
.bm-footer-social a:nth-child(4):hover {
    background: #1da1f2;
    color: var(--bm-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.3);
    border-color: transparent;
}

.bm-footer-social a svg {
    width: 16px;
    height: 16px;
}

.bm-footer-col h4 {
    font-weight: 700;
    color: var(--bm-white);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 12px;
    position: relative;
    padding-bottom: 12px;
}

.bm-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 2px;
}

.bm-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bm-footer-col ul li {
    margin-bottom: 10px;
}

.bm-footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--bm-transition);
    display: inline-flex;
    align-items: center;
    gap: 0px;
}

.bm-footer-col ul li a::before {
    content: '\2192';
    font-size: 12px;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: var(--bm-transition);
    color: #818cf8;
}

.bm-footer-col ul li a:hover {
    color: var(--bm-white);
    gap: 8px;
}

.bm-footer-col ul li a:hover::before {
    opacity: 1;
    width: 14px;
}

.bm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bm-footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: #818cf8;
}

/* Override contact links — no arrow */
.bm-footer-contact li a::before,
.bm-footer-contact li span::before {
    display: none;
}

.bm-footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.bm-footer-bottom a {
    color: #f87171;
    transition: var(--bm-transition);
}

.bm-footer-bottom a:hover {
    color: #fca5a5;
}

/* ==========================================
   Scroll Animations — Staggered
   ========================================== */

.bm-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.bm-animate.bm-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.bm-visible .bm-category-item,
.bm-visible .bm-biz-card,
.bm-visible .bm-service-card,
.bm-visible .bm-job-item,
.bm-visible .bm-step {
    animation: fadeSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.bm-visible .bm-category-item:nth-child(1),
.bm-visible .bm-biz-card:nth-child(1),
.bm-visible .bm-service-card:nth-child(1),
.bm-visible .bm-job-item:nth-child(1),
.bm-visible .bm-step:nth-child(1) { animation-delay: 0.05s; }

.bm-visible .bm-category-item:nth-child(2),
.bm-visible .bm-biz-card:nth-child(2),
.bm-visible .bm-service-card:nth-child(2),
.bm-visible .bm-job-item:nth-child(2),
.bm-visible .bm-step:nth-child(2) { animation-delay: 0.1s; }

.bm-visible .bm-category-item:nth-child(3),
.bm-visible .bm-biz-card:nth-child(3),
.bm-visible .bm-service-card:nth-child(3),
.bm-visible .bm-job-item:nth-child(3),
.bm-visible .bm-step:nth-child(3) { animation-delay: 0.15s; }

.bm-visible .bm-category-item:nth-child(4),
.bm-visible .bm-biz-card:nth-child(4),
.bm-visible .bm-service-card:nth-child(4),
.bm-visible .bm-job-item:nth-child(4) { animation-delay: 0.2s; }

.bm-visible .bm-category-item:nth-child(5),
.bm-visible .bm-biz-card:nth-child(5) { animation-delay: 0.25s; }

.bm-visible .bm-category-item:nth-child(6),
.bm-visible .bm-biz-card:nth-child(6) { animation-delay: 0.3s; }

.bm-visible .bm-category-item:nth-child(7),
.bm-visible .bm-biz-card:nth-child(7) { animation-delay: 0.35s; }

.bm-visible .bm-category-item:nth-child(8),
.bm-visible .bm-biz-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {

    .bm-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .bm-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .bm-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .bm-cta-content {
        max-width: 100%;
    }

    .bm-cta-buttons {
        justify-content: center;
    }

    .bm-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bm-footer-brand {
        grid-column: span 3;
    }

    .bm-job-item {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .bm-job-meta {
        display: none;
    }

    .bm-job-badge {
        display: none;
    }
}

@media (max-width: 768px) {

    .bm-section {
        padding: 60px 0;
    }

    .bm-section-header h2 {
        font-size: 26px;
    }

    .bm-hero {
        padding: 70px 0 100px;
    }

    .bm-hero h1 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .bm-hero-subtitle {
        font-size: 15px;
    }

    .bm-search-box {
        margin-top: -60px;
        padding: 20px;
        border-radius: 16px;
    }

    .bm-search-fields {
        grid-template-columns: 1fr;
    }

    .bm-search-divider {
        width: 100%;
        height: 1px;
    }

    .bm-search-btn {
        width: 100%;
        justify-content: center;
        margin: 6px 0;
        padding: 14px;
    }

    .bm-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .bm-category-item {
        padding: 20px 10px;
        border-radius: 16px;
    }

    .bm-category-icon {
        width: 48px;
        height: 48px;
    }

    .bm-services-grid {
        grid-template-columns: 1fr;
    }

    .bm-biz-card {
        min-width: 250px;
        max-width: 250px;
    }

    .bm-carousel-prev { left: -10px; }
    .bm-carousel-next { right: -10px; }

    .bm-job-item {
        grid-template-columns: auto 1fr;
        gap: 12px;
        border-left-width: 3px;
    }

    .bm-job-apply-btn {
        grid-column: span 2;
        justify-content: center;
    }

    .bm-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bm-steps::before {
        display: none;
    }

    .bm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .bm-footer-brand {
        grid-column: span 2;
    }

    .bm-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .bm-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bm-center-header {
        align-items: center;
        text-align: center;
    }

    .bm-cta-image-circle {
        width: 200px;
        height: 200px;
    }

    .bm-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {

    .bm-hero h1 {
        font-size: 28px;
        letter-spacing: -0.3px;
    }

    .bm-hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .bm-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bm-category-item {
        padding: 18px 8px;
    }

    .bm-category-icon {
        width: 44px;
        height: 44px;
    }

    .bm-search-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-bottom: 15px;
    }

    .bm-search-tab {
        padding: 8px 4px;
        font-size: 11px;
        justify-content: center;
        gap: 4px;
        border-radius: 20px;
    }

    .bm-search-tab svg {
        width: 14px;
        height: 14px;
    }

    .bm-footer-grid {
        grid-template-columns: 1fr;
    }

    .bm-footer-brand {
        grid-column: span 1;
    }

    .bm-cta-content h2 {
        font-size: 24px;
    }

    .bm-cta-image-circle {
        width: 160px;
        height: 160px;
    }
}

/* Extra small devices like Galaxy Fold front screen */
@media (max-width: 320px) {
    .bm-search-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .bm-search-tab {
        flex-shrink: 0;
        padding: 8px 12px;
    }
}



/* Jobs Slider Responsive Classes */
@media (max-width: 991px) {
    .bm-jobs-slider-track {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        transform: none !important; /* Disable JS transform on mobile */
    }
    .bm-jobs-slider-track::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .bm-jobs-slide {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;
    }
    .hp-jobs-prev-btn, .hp-jobs-next-btn {
        display: none !important;
    }
}

