/**
 * BeBacklink Developer Template
 * Professional Modern Premium CSS
 * Optimized for SEO & Performance
 *
 * @author BeBacklink Team
 * @version 1.0.0
 */

/* ========================================
   CSS CUSTOM PROPERTIES (Variables)
   ======================================== */
:root {
    /* Primary Colors - Can be overridden by template params */
    --bb-primary: #2563eb;
    --bb-primary-rgb: 37, 99, 235;
    --bb-primary-dark: #1d4ed8;
    --bb-primary-light: #3b82f6;

    /* Secondary Colors */
    --bb-secondary: #059669;
    --bb-secondary-rgb: 5, 150, 105;
    --bb-secondary-dark: #047857;
    --bb-secondary-light: #10b981;

    /* Accent Colors */
    --bb-accent: #f59e0b;
    --bb-accent-rgb: 245, 158, 11;
    --bb-accent-dark: #d97706;
    --bb-accent-light: #fbbf24;

    /* Neutral Colors */
    --bb-dark: #0f172a;
    --bb-dark-rgb: 15, 23, 42;
    --bb-gray-900: #1e293b;
    --bb-gray-800: #334155;
    --bb-gray-700: #475569;
    --bb-gray-600: #64748b;
    --bb-gray-500: #94a3b8;
    --bb-gray-400: #cbd5e1;
    --bb-gray-300: #e2e8f0;
    --bb-gray-200: #f1f5f9;
    --bb-gray-100: #f8fafc;
    --bb-white: #ffffff;

    /* Gradients */
    --bb-gradient-primary: linear-gradient(135deg, var(--bb-primary) 0%, var(--bb-secondary) 100%);
    --bb-gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    --bb-gradient-cta: linear-gradient(135deg, var(--bb-primary) 0%, #7c3aed 100%);
    --bb-gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 100%);

    /* Typography */
    --bb-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bb-font-heading: 'Plus Jakarta Sans', var(--bb-font-primary);
    --bb-font-mono: 'Fira Code', 'Consolas', monospace;

    /* Font Sizes */
    --bb-text-xs: 0.75rem;
    --bb-text-sm: 0.875rem;
    --bb-text-base: 1rem;
    --bb-text-lg: 1.125rem;
    --bb-text-xl: 1.25rem;
    --bb-text-2xl: 1.5rem;
    --bb-text-3xl: 1.875rem;
    --bb-text-4xl: 2.25rem;
    --bb-text-5xl: 3rem;
    --bb-text-6xl: 3.75rem;

    /* Spacing */
    --bb-space-1: 0.25rem;
    --bb-space-2: 0.5rem;
    --bb-space-3: 0.75rem;
    --bb-space-4: 1rem;
    --bb-space-5: 1.25rem;
    --bb-space-6: 1.5rem;
    --bb-space-8: 2rem;
    --bb-space-10: 2.5rem;
    --bb-space-12: 3rem;
    --bb-space-16: 4rem;
    --bb-space-20: 5rem;
    --bb-space-24: 6rem;

    /* Shadows */
    --bb-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --bb-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --bb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --bb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --bb-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --bb-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --bb-shadow-glow: 0 0 40px rgba(var(--bb-primary-rgb), 0.3);

    /* Border Radius */
    --bb-radius-sm: 0.375rem;
    --bb-radius: 0.5rem;
    --bb-radius-md: 0.75rem;
    --bb-radius-lg: 1rem;
    --bb-radius-xl: 1.5rem;
    --bb-radius-2xl: 2rem;
    --bb-radius-full: 9999px;

    /* Transitions */
    --bb-transition-fast: 150ms ease;
    --bb-transition: 300ms ease;
    --bb-transition-slow: 500ms ease;

    /* Z-index */
    --bb-z-dropdown: 100;
    --bb-z-sticky: 200;
    --bb-z-fixed: 300;
    --bb-z-overlay: 400;
    --bb-z-modal: 500;
    --bb-z-tooltip: 600;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--bb-font-primary);
    font-size: var(--bb-text-base);
    line-height: 1.6;
    color: var(--bb-gray-700);
    background-color: var(--bb-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bb-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bb-gray-900);
    margin-bottom: var(--bb-space-4);
}

h1 { font-size: clamp(2rem, 5vw, var(--bb-text-5xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--bb-text-4xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--bb-text-3xl)); }
h4 { font-size: var(--bb-text-2xl); }
h5 { font-size: var(--bb-text-xl); }
h6 { font-size: var(--bb-text-lg); }

p {
    margin-bottom: var(--bb-space-4);
}

a {
    color: var(--bb-primary);
    text-decoration: none;
    transition: color var(--bb-transition-fast);
}

a:hover {
    color: var(--bb-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Skip Link for Accessibility */
.bb-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bb-primary);
    color: var(--bb-white);
    padding: var(--bb-space-3) var(--bb-space-6);
    border-radius: var(--bb-radius);
    z-index: var(--bb-z-tooltip);
    transition: top var(--bb-transition);
}

.bb-skip-link:focus {
    top: var(--bb-space-4);
}

/* Container */
.bb-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--bb-space-6);
}

@media (max-width: 640px) {
    .bb-container {
        padding: 0 var(--bb-space-4);
    }
}

/* ========================================
   PRELOADER
   ======================================== */
.bb-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bb-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.bb-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.bb-preloader-inner {
    text-align: center;
}

.bb-preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--bb-primary);
    border-radius: 50%;
    animation: bb-spin 1s linear infinite;
    margin: 0 auto var(--bb-space-4);
}

.bb-preloader-text {
    color: var(--bb-white);
    font-size: var(--bb-text-lg);
    font-weight: 600;
}

@keyframes bb-spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   HEADER
   ======================================== */
.bb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--bb-z-sticky);
    transition: all var(--bb-transition);
}

.bb-header-inner {
    background: transparent;
    transition: all var(--bb-transition);
}

.bb-header.scrolled .bb-header-inner {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--bb-shadow-lg);
}

.bb-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 220px;
    padding: 10px 0;
}

/* Logo */
.bb-logo a {
    display: flex;
    align-items: center;
}

.bb-logo-img {
    height: 200px;
    width: auto;
    transition: all var(--bb-transition);
    filter: brightness(1.1) contrast(1.2);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bb-logo:hover .bb-logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.bb-logo-text {
    font-family: var(--bb-font-heading);
    font-size: var(--bb-text-2xl);
    font-weight: 800;
    color: var(--bb-white);
    background: var(--bb-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.bb-nav {
    display: none;
}

@media (min-width: 1024px) {
    .bb-nav {
        display: block;
    }
}

.bb-nav ul {
    display: flex;
    align-items: center;
    gap: var(--bb-space-1);
}

.bb-nav li {
    position: relative;
}

.bb-nav a {
    display: block;
    padding: var(--bb-space-3) var(--bb-space-5);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--bb-text-sm);
    font-weight: 500;
    transition: all var(--bb-transition);
    border-radius: var(--bb-radius);
}

.bb-nav a:hover,
.bb-nav li.active > a {
    color: var(--bb-white);
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.bb-nav li.parent > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: var(--bb-space-2);
    transition: transform var(--bb-transition);
}

.bb-nav li.parent:hover > a::after {
    transform: rotate(-135deg);
}

.bb-nav .nav-child {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bb-white);
    border-radius: var(--bb-radius-lg);
    box-shadow: var(--bb-shadow-xl);
    padding: var(--bb-space-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--bb-transition);
}

.bb-nav li.parent:hover .nav-child {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bb-nav .nav-child a {
    color: var(--bb-gray-700);
    padding: var(--bb-space-3) var(--bb-space-4);
    border-radius: var(--bb-radius);
}

.bb-nav .nav-child a:hover {
    color: var(--bb-primary);
    background: var(--bb-gray-100);
}

/* Header Actions */
.bb-header-actions {
    display: flex;
    align-items: center;
    gap: var(--bb-space-4);
}

.bb-header-actions .bb-btn {
    display: none;
}

@media (min-width: 768px) {
    .bb-header-actions .bb-btn {
        display: inline-flex;
    }
}

/* Mobile Toggle */
.bb-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--bb-radius);
    transition: all var(--bb-transition);
}

@media (min-width: 1024px) {
    .bb-mobile-toggle {
        display: none;
    }
}

.bb-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bb-hamburger {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bb-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--bb-white);
    border-radius: 2px;
    transition: all var(--bb-transition);
}

.bb-mobile-toggle.active .bb-hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.bb-mobile-toggle.active .bb-hamburger span:nth-child(2) {
    opacity: 0;
}

.bb-mobile-toggle.active .bb-hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.bb-mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bb-dark);
    padding: var(--bb-space-6);
    transform: translateX(-100%);
    transition: transform var(--bb-transition);
    overflow-y: auto;
    z-index: var(--bb-z-fixed);
}

.bb-mobile-menu.active {
    transform: translateX(0);
}

.bb-mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: var(--bb-space-2);
}

.bb-mobile-menu a {
    display: block;
    padding: var(--bb-space-4);
    color: var(--bb-white);
    font-size: var(--bb-text-lg);
    font-weight: 500;
    border-radius: var(--bb-radius);
    transition: all var(--bb-transition);
}

.bb-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bb-mobile-menu-cta {
    margin-top: var(--bb-space-8);
}

/* Overlay */
.bb-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--bb-transition);
    z-index: var(--bb-z-overlay);
}

.bb-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   BUTTONS
   ======================================== */
.bb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--bb-space-2);
    padding: var(--bb-space-3) var(--bb-space-6);
    font-family: var(--bb-font-primary);
    font-size: var(--bb-text-sm);
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    border-radius: var(--bb-radius-full);
    transition: all var(--bb-transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.bb-btn i {
    font-size: 0.875em;
    transition: transform var(--bb-transition);
}

.bb-btn:hover i {
    transform: translateX(3px);
}

/* Primary Button */
.bb-btn-primary {
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
    box-shadow: 0 4px 15px rgba(var(--bb-primary-rgb), 0.4);
}

.bb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--bb-primary-rgb), 0.5);
    color: var(--bb-white);
}

/* Outline Button */
.bb-btn-outline {
    background: transparent;
    color: var(--bb-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.bb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--bb-white);
}

/* White Button */
.bb-btn-white {
    background: var(--bb-white);
    color: var(--bb-primary);
    box-shadow: var(--bb-shadow-lg);
}

.bb-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--bb-shadow-xl);
    color: var(--bb-primary-dark);
}

/* Ghost Button */
.bb-btn-ghost {
    background: transparent;
    color: var(--bb-white);
    border-color: transparent;
}

.bb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bb-white);
}

/* Button Sizes */
.bb-btn-sm {
    padding: var(--bb-space-2) var(--bb-space-4);
    font-size: var(--bb-text-xs);
}

.bb-btn-lg {
    padding: var(--bb-space-4) var(--bb-space-8);
    font-size: var(--bb-text-base);
}

.bb-btn-full {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.bb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Hero Background */
.bb-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bb-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bb-gradient-hero);
}

.bb-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Animated Shapes */
.bb-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bb-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: bb-float 20s ease-in-out infinite;
}

.bb-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--bb-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.bb-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--bb-secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.bb-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--bb-accent);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes bb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

/* Hero Content */
.bb-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.bb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--bb-space-2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--bb-space-2) var(--bb-space-5);
    border-radius: var(--bb-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bb-white);
    font-size: var(--bb-text-sm);
    font-weight: 600;
    margin-bottom: var(--bb-space-6);
}

.bb-hero-badge i {
    color: var(--bb-accent);
}

.bb-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--bb-white);
    line-height: 1.1;
    margin-bottom: var(--bb-space-6);
}

.bb-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto var(--bb-space-8);
}

/* Hero CTA */
.bb-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bb-space-4);
    justify-content: center;
    margin-bottom: var(--bb-space-10);
}

/* Trust Indicators */
.bb-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--bb-space-6);
}

.bb-trust-item {
    display: flex;
    align-items: center;
    gap: var(--bb-space-2);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--bb-text-sm);
}

.bb-trust-item i {
    color: var(--bb-secondary-light);
}

/* Hero Stats */
.bb-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--bb-space-6);
    margin-top: var(--bb-space-16);
    padding-top: var(--bb-space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .bb-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bb-stat-item {
    text-align: center;
}

.bb-stat-number {
    display: block;
    font-family: var(--bb-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--bb-white);
    line-height: 1;
    margin-bottom: var(--bb-space-2);
}

.bb-stat-label {
    font-size: var(--bb-text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Indicator */
.bb-scroll-indicator {
    position: absolute;
    bottom: var(--bb-space-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    animation: bb-bounce 2s infinite;
}

.bb-scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    margin: 0 auto var(--bb-space-2);
    position: relative;
}

.bb-scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: bb-scroll-wheel 2s infinite;
}

.bb-scroll-indicator span {
    font-size: var(--bb-text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bb-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes bb-scroll-wheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 16px; }
}

@media (max-width: 768px) {
    .bb-scroll-indicator {
        display: none;
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.bb-section {
    padding: var(--bb-space-24) 0;
}

.bb-section-alt {
    background: var(--bb-gray-100);
}

.bb-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--bb-space-16);
}

.bb-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(var(--bb-primary-rgb), 0.1), rgba(var(--bb-secondary-rgb), 0.1));
    color: var(--bb-primary);
    padding: var(--bb-space-2) var(--bb-space-5);
    border-radius: var(--bb-radius-full);
    font-size: var(--bb-text-sm);
    font-weight: 600;
    margin-bottom: var(--bb-space-4);
}

.bb-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--bb-space-4);
}

.bb-section-subtitle {
    font-size: var(--bb-text-lg);
    color: var(--bb-gray-600);
}

.bb-text-gradient {
    background: var(--bb-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.bb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bb-space-8);
}

@media (max-width: 1024px) {
    .bb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bb-features-grid {
        grid-template-columns: 1fr;
    }
}

.bb-feature-card {
    background: var(--bb-white);
    padding: var(--bb-space-8);
    border-radius: var(--bb-radius-xl);
    box-shadow: var(--bb-shadow);
    border: 1px solid var(--bb-gray-200);
    transition: all var(--bb-transition);
}

.bb-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bb-shadow-xl);
    border-color: var(--bb-primary);
}

.bb-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bb-gradient-primary);
    border-radius: var(--bb-radius-lg);
    color: var(--bb-white);
    font-size: var(--bb-text-2xl);
    margin-bottom: var(--bb-space-5);
}

.bb-feature-icon-secondary {
    background: linear-gradient(135deg, var(--bb-secondary) 0%, var(--bb-secondary-dark) 100%);
}

.bb-feature-icon-accent {
    background: linear-gradient(135deg, var(--bb-accent) 0%, var(--bb-accent-dark) 100%);
}

.bb-feature-title {
    font-size: var(--bb-text-xl);
    margin-bottom: var(--bb-space-3);
}

.bb-feature-desc {
    color: var(--bb-gray-600);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.bb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bb-space-8);
}

@media (max-width: 1024px) {
    .bb-services-grid {
        grid-template-columns: 1fr;
    }
}

.bb-service-card {
    background: var(--bb-white);
    padding: var(--bb-space-10);
    border-radius: var(--bb-radius-2xl);
    box-shadow: var(--bb-shadow-lg);
    border: 2px solid transparent;
    transition: all var(--bb-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.bb-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--bb-shadow-2xl);
}

.bb-service-card-featured {
    border-color: var(--bb-primary);
    transform: scale(1.05);
}

.bb-service-card-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.bb-service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
    padding: var(--bb-space-2) var(--bb-space-5);
    border-radius: var(--bb-radius-full);
    font-size: var(--bb-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bb-service-header {
    text-align: center;
    margin-bottom: var(--bb-space-6);
}

.bb-service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--bb-primary-rgb), 0.1), rgba(var(--bb-secondary-rgb), 0.1));
    border-radius: var(--bb-radius-xl);
    color: var(--bb-primary);
    font-size: var(--bb-text-3xl);
    margin: 0 auto var(--bb-space-4);
}

.bb-service-title {
    font-size: var(--bb-text-2xl);
    margin-bottom: 0;
}

.bb-service-desc {
    text-align: center;
    color: var(--bb-gray-600);
    margin-bottom: var(--bb-space-6);
}

.bb-service-features {
    flex: 1;
    margin-bottom: var(--bb-space-6);
}

.bb-service-features li {
    display: flex;
    align-items: center;
    gap: var(--bb-space-3);
    padding: var(--bb-space-3) 0;
    color: var(--bb-gray-700);
    border-bottom: 1px solid var(--bb-gray-200);
}

.bb-service-features li:last-child {
    border-bottom: none;
}

.bb-service-features i {
    color: var(--bb-secondary);
    font-size: var(--bb-text-sm);
}

.bb-service-price {
    text-align: center;
    margin-bottom: var(--bb-space-6);
}

.bb-price-from {
    display: block;
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-500);
    margin-bottom: var(--bb-space-1);
}

.bb-price-amount {
    font-family: var(--bb-font-heading);
    font-size: var(--bb-text-4xl);
    font-weight: 800;
    color: var(--bb-primary);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.bb-process-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 var(--bb-space-6);
}

.bb-process-line {
    position: absolute;
    top: 0;
    left: 40px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--bb-primary), var(--bb-secondary));
    opacity: 0.3;
}

@media (min-width: 768px) {
    .bb-process-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.bb-process-step {
    display: flex;
    gap: var(--bb-space-6);
    margin-bottom: var(--bb-space-16);
    position: relative;
}

@media (min-width: 768px) {
    .bb-process-step {
        gap: var(--bb-space-10);
        align-items: flex-start;
    }

    .bb-process-step:nth-child(odd) .bb-step-content {
        padding-right: var(--bb-space-8);
    }

    .bb-process-step:nth-child(even) {
        flex-direction: row-reverse;
    }

    .bb-process-step:nth-child(even) .bb-step-content {
        text-align: right;
        padding-left: var(--bb-space-8);
    }
}

.bb-step-number {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bb-gradient-primary);
    border-radius: 50%;
    color: var(--bb-white);
    font-family: var(--bb-font-heading);
    font-size: var(--bb-text-2xl);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(var(--bb-primary-rgb), 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.bb-step-content {
    flex: 1;
    padding-top: var(--bb-space-2);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--bb-radius-lg);
    padding: var(--bb-space-6);
    border: 2px solid rgba(var(--bb-primary-rgb), 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bb-step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bb-gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bb-step-content:hover::before {
    opacity: 1;
}

.bb-process-step:nth-child(2) .bb-step-content {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border-color: rgba(168, 85, 247, 0.15);
}

.bb-process-step:nth-child(3) .bb-step-content {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(251, 146, 60, 0.08) 100%);
    border-color: rgba(236, 72, 153, 0.15);
}

.bb-process-step:nth-child(4) .bb-step-content {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-color: rgba(251, 146, 60, 0.15);
}

.bb-process-step:nth-child(5) .bb-step-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-color: rgba(16, 185, 129, 0.15);
}

.bb-step-content:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(var(--bb-primary-rgb), 0.3);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
    transform: translateY(-6px);
}

.bb-process-step:nth-child(2) .bb-step-content:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
}

.bb-process-step:nth-child(3) .bb-step-content:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(251, 146, 60, 0.15) 100%);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.2);
}

.bb-process-step:nth-child(4) .bb-step-content:hover {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    box-shadow: 0 12px 32px rgba(251, 146, 60, 0.2);
}

.bb-process-step:nth-child(5) .bb-step-content:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
}

@media (min-width: 768px) {
    .bb-step-content {
        max-width: calc(50% - 80px);
    }
}

@media (min-width: 1024px) {
    .bb-step-content {
        max-width: calc(50% - 90px);
    }
}

@media (min-width: 1280px) {
    .bb-step-content {
        max-width: calc(50% - 110px);
    }
}

.bb-step-title {
    font-size: var(--bb-text-xl);
    font-weight: 700;
    margin-bottom: var(--bb-space-3);
    color: var(--bb-heading-color);
    display: flex;
    align-items: center;
    gap: var(--bb-space-2);
}

.bb-process-step:nth-child(even) .bb-step-title {
    justify-content: flex-end;
}

.bb-step-desc {
    color: var(--bb-gray-600);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: var(--bb-text-base);
}

/* ========================================
   CTA SECTION
   ======================================== */
.bb-cta-section {
    position: relative;
    padding: var(--bb-space-20) 0;
    overflow: hidden;
}

.bb-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bb-cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bb-gradient-cta);
}

.bb-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.bb-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--bb-white);
    margin-bottom: var(--bb-space-4);
}

.bb-cta-subtitle {
    font-size: var(--bb-text-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--bb-space-8);
}

.bb-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bb-space-4);
    justify-content: center;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.bb-main {
    padding: var(--bb-space-12) 0;
    min-height: 50vh;
}

.bb-content-wrapper {
    display: grid;
    gap: var(--bb-space-10);
}

.bb-content-wrapper.bb-has-sidebar {
    grid-template-columns: 1fr 320px;
}

@media (max-width: 1024px) {
    .bb-content-wrapper.bb-has-sidebar {
        grid-template-columns: 1fr;
    }
}

.bb-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--bb-space-6);
}

/* ========================================
   FOOTER
   ======================================== */
.bb-footer {
    background: var(--bb-dark);
    color: var(--bb-gray-400);
}

.bb-footer-top {
    padding: var(--bb-space-20) 0 var(--bb-space-12);
}

.bb-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1fr;
    gap: var(--bb-space-8);
}

@media (max-width: 1200px) {
    .bb-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    .bb-footer-grid .bb-footer-col:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .bb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bb-footer-grid .bb-footer-col:last-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .bb-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Brand */
.bb-footer-brand {
    padding-right: var(--bb-space-10);
}

.bb-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--bb-space-5);
}

.bb-footer-logo-text {
    font-family: var(--bb-font-heading);
    font-size: var(--bb-text-2xl);
    font-weight: 800;
    color: var(--bb-white);
    display: block;
    margin-bottom: var(--bb-space-5);
}

.bb-footer-desc {
    line-height: 1.8;
    margin-bottom: var(--bb-space-6);
}

.bb-footer-social {
    display: flex;
    gap: var(--bb-space-3);
}

.bb-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--bb-radius);
    color: var(--bb-gray-400);
    transition: all var(--bb-transition);
}

.bb-footer-social a:hover {
    background: var(--bb-primary);
    color: var(--bb-white);
    transform: translateY(-3px);
}

/* Footer Columns */
.bb-footer-col {}

.bb-footer-title {
    font-size: var(--bb-text-lg);
    color: var(--bb-white);
    margin-bottom: var(--bb-space-5);
}

.bb-footer-links li {
    margin-bottom: var(--bb-space-3);
}

.bb-footer-links a {
    color: var(--bb-gray-400);
    transition: all var(--bb-transition);
    display: inline-block;
}

.bb-footer-links a:hover {
    color: var(--bb-white);
    transform: translateX(5px);
}

/* Footer Contact */
.bb-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--bb-space-3);
    margin-bottom: var(--bb-space-4);
}

.bb-footer-contact i {
    color: var(--bb-primary);
    margin-top: 4px;
}

.bb-footer-contact a {
    color: var(--bb-gray-400);
}

.bb-footer-contact a:hover {
    color: var(--bb-white);
}

/* Footer Bottom */
.bb-footer-bottom {
    padding: var(--bb-space-6) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bb-footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--bb-space-4);
}

.bb-copyright {
    font-size: var(--bb-text-sm);
    margin: 0;
}

.bb-footer-legal {
    display: flex;
    gap: var(--bb-space-6);
}

.bb-footer-legal a {
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-400);
}

.bb-footer-legal a:hover {
    color: var(--bb-white);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.bb-back-to-top {
    position: fixed;
    bottom: var(--bb-space-6);
    right: var(--bb-space-6);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
    border-radius: var(--bb-radius-lg);
    box-shadow: var(--bb-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--bb-transition);
    z-index: var(--bb-z-fixed);
}

.bb-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bb-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--bb-shadow-xl);
}

/* ========================================
   ANIMATIONS (AOS Alternative)
   ======================================== */
.animations-enabled [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animations-enabled [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.animations-enabled [data-aos="fade-down"] {
    transform: translateY(-30px);
}

.animations-enabled [data-aos="fade-left"] {
    transform: translateX(30px);
}

.animations-enabled [data-aos="fade-right"] {
    transform: translateX(-30px);
}

.animations-enabled [data-aos="zoom-in"] {
    transform: scale(0.9);
}

/* ========================================
   UTILITIES
   ======================================== */
.bb-text-center { text-align: center; }
.bb-text-left { text-align: left; }
.bb-text-right { text-align: right; }

.bb-mb-0 { margin-bottom: 0 !important; }
.bb-mb-4 { margin-bottom: var(--bb-space-4); }
.bb-mb-8 { margin-bottom: var(--bb-space-8); }

.bb-mt-0 { margin-top: 0 !important; }
.bb-mt-4 { margin-top: var(--bb-space-4); }
.bb-mt-8 { margin-top: var(--bb-space-8); }

.bb-py-4 { padding-top: var(--bb-space-4); padding-bottom: var(--bb-space-4); }
.bb-py-8 { padding-top: var(--bb-space-8); padding-bottom: var(--bb-space-8); }

.bb-hidden { display: none !important; }
.bb-visible { display: block !important; }

@media (max-width: 768px) {
    .bb-hidden-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .bb-hidden-desktop { display: none !important; }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .bb-header,
    .bb-hero,
    .bb-footer,
    .bb-back-to-top,
    .bb-preloader {
        display: none !important;
    }

    .bb-main {
        padding: 0;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */
.services-page,
.pricing-page,
.about-page,
.contact-page,
.legal-page {
    background: var(--bb-white);
}

.services-hero {
    background: var(--bb-gradient-hero);
    color: var(--bb-white);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-hero p {
    font-size: clamp(1rem, 2vw, 1.375rem);
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.services-content {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: var(--bb-white);
    border-radius: var(--bb-radius-2xl);
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: var(--bb-shadow-lg);
    transition: all var(--bb-transition);
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(var(--bb-primary-rgb), 0.15);
    border-color: var(--bb-primary);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bb-gradient-primary);
    border-radius: var(--bb-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--bb-white);
    flex-shrink: 0;
}

.service-title {
    font-size: var(--bb-text-3xl);
    font-weight: 700;
    color: var(--bb-gray-900);
    margin: 0;
}

.service-description {
    font-size: var(--bb-text-lg);
    line-height: 1.8;
    color: var(--bb-gray-600);
    margin-bottom: 30px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bb-gray-100);
    border-radius: var(--bb-radius);
}

.feature-item::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--bb-secondary);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--bb-gray-700);
    font-size: var(--bb-text-sm);
}

.service-pricing {
    background: linear-gradient(135deg, var(--bb-gray-100) 0%, rgba(var(--bb-primary-rgb), 0.1) 100%);
    padding: 30px;
    border-radius: var(--bb-radius-lg);
    margin-bottom: 25px;
}

.pricing-label {
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-600);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-amount {
    font-size: var(--bb-text-4xl);
    font-weight: 800;
    color: var(--bb-primary);
    margin-bottom: 10px;
}

.pricing-description {
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-600);
}

.service-cta {
    display: inline-block;
    background: var(--bb-gradient-primary);
    color: #ffffff !important;
    padding: 20px 45px;
    border-radius: var(--bb-radius-full);
    font-weight: 700;
    font-size: var(--bb-text-lg);
    text-decoration: none;
    transition: all var(--bb-transition);
    box-shadow: 0 10px 25px rgba(var(--bb-primary-rgb), 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.025em;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(var(--bb-primary-rgb), 0.4);
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.service-cta span {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.25em;
    font-weight: 700;
    color: #ffffff !important;
    transition: transform var(--bb-transition);
}

.service-cta:hover span {
    transform: translateX(4px);
}

/* Services Page Badge */
.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--bb-radius-full);
    font-size: var(--bb-text-sm);
    font-weight: 600;
    color: var(--bb-white);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-badge i {
    font-size: 16px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, var(--bb-gray-100) 0%, var(--bb-white) 100%);
    border-radius: var(--bb-radius-lg);
    border: 1px solid var(--bb-gray-200);
    transition: all var(--bb-transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--bb-shadow-lg);
    border-color: var(--bb-primary);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
    font-size: var(--bb-text-2xl);
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: var(--bb-text-xl);
    font-weight: 700;
    color: var(--bb-gray-900);
    margin-bottom: 12px;
}

.process-step p {
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Service CTA Section */
div.service-cta {
    display: block;
    text-align: center;
    padding: 60px 40px;
    background: var(--bb-gradient-hero);
    border-radius: var(--bb-radius-2xl);
    margin-top: 50px;
    color: var(--bb-white);
    box-shadow: var(--bb-shadow-xl);
}

div.service-cta h2 {
    font-size: var(--bb-text-3xl);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--bb-white);
}

div.service-cta p {
    font-size: var(--bb-text-lg);
    opacity: 0.9;
    margin-bottom: 30px;
    color: var(--bb-white);
}

div.service-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bb-white);
    color: var(--bb-primary);
    padding: 18px 40px;
    border-radius: var(--bb-radius-full);
    font-weight: 700;
    font-size: var(--bb-text-base);
    text-decoration: none;
    transition: all var(--bb-transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

div.service-cta .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Feature items fix - remove duplicate checkmarks */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bb-gray-100);
    border-radius: var(--bb-radius);
}

.feature-item i.fa-check {
    color: var(--bb-secondary);
    font-size: 16px;
    flex-shrink: 0;
}

.feature-item::before {
    display: none;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-hero {
    background: linear-gradient(135deg, var(--bb-dark) 0%, #1e293b 100%);
    color: var(--bb-white);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(var(--bb-primary-rgb), 0.2) 0%, transparent 70%);
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.contact-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95) !important;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-content h1,
.contact-hero-content p,
.contact-hero-content * {
    color: #ffffff !important;
}

.contact-container {
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-card,
.contact-info-card {
    background: var(--bb-white);
    padding: 50px;
    border-radius: var(--bb-radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form-card h2,
.contact-info-card h2 {
    font-size: var(--bb-text-3xl);
    font-weight: 700;
    color: var(--bb-gray-900);
    margin-bottom: 15px;
}

.contact-form-card > p,
.contact-info-card > p {
    font-size: var(--bb-text-base);
    color: var(--bb-gray-600);
    margin-bottom: 35px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: var(--bb-text-sm);
    font-weight: 600;
    color: var(--bb-gray-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--bb-gray-300);
    border-radius: var(--bb-radius);
    font-size: var(--bb-text-base);
    font-family: inherit;
    transition: all var(--bb-transition);
    background: var(--bb-gray-100);
}

.form-input:focus {
    outline: none;
    border-color: var(--bb-primary);
    background: var(--bb-white);
    box-shadow: 0 0 0 4px rgba(var(--bb-primary-rgb), 0.1);
}

.form-input::placeholder {
    color: var(--bb-gray-500);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
    padding: 18px;
    border: none;
    border-radius: var(--bb-radius-full);
    font-size: var(--bb-text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--bb-transition);
    box-shadow: 0 10px 25px rgba(var(--bb-primary-rgb), 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(var(--bb-primary-rgb), 0.4);
}

.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--bb-gray-200);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bb-gradient-primary);
    border-radius: var(--bb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bb-white);
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: var(--bb-text-base);
    font-weight: 600;
    color: var(--bb-gray-700);
    margin-bottom: 5px;
}

.contact-info-content p {
    font-size: var(--bb-text-lg);
    font-weight: 600;
    color: var(--bb-gray-900);
    margin: 0;
}

.contact-info-content a {
    color: var(--bb-primary);
    text-decoration: none;
    transition: color var(--bb-transition);
}

.contact-info-content a:hover {
    color: var(--bb-primary-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bb-gray-100);
    border-radius: var(--bb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bb-primary);
    text-decoration: none;
    transition: all var(--bb-transition);
    border: 2px solid var(--bb-gray-300);
}

.social-link:hover {
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
    border-color: transparent;
    transform: translateY(-3px);
}

.faq-section {
    background: var(--bb-white);
    padding: 50px;
    border-radius: var(--bb-radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: var(--bb-text-3xl);
    font-weight: 700;
    color: var(--bb-gray-900);
    margin-bottom: 35px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid var(--bb-gray-200);
    padding: 25px 0;
}

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

.faq-question {
    font-size: var(--bb-text-lg);
    font-weight: 600;
    color: var(--bb-gray-900);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: var(--bb-text-base);
    color: var(--bb-gray-600);
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS FOR CONTENT PAGES
   ======================================== */
@media (max-width: 768px) {
    .services-hero,
    .contact-hero {
        padding: 80px 20px 60px;
    }

    .service-item {
        padding: 30px 25px;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-card,
    .faq-section {
        padding: 30px 25px;
    }

    .contact-info-item {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================
   AUTHENTICATION PAGES (Login, Register, Reset, Remind)
   ======================================== */
.bb-auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--bb-gray-50);
}

/* Left Branding Panel */
.bb-auth-branding {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bb-auth-branding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.bb-auth-branding-pattern {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bb-auth-branding-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.bb-auth-logo {
    margin-bottom: 50px;
}

.bb-auth-logo img {
    max-height: 50px;
    width: auto;
}

.bb-auth-logo-text {
    font-size: 28px;
    font-weight: 800;
}

.bb-auth-headline {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.bb-auth-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 50px;
}

/* Auth Features List */
.bb-auth-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bb-auth-feature {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bb-auth-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.bb-auth-feature-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bb-auth-feature-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonial */
.bb-auth-testimonial {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bb-testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.bb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bb-testimonial-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: 700;
}

.bb-testimonial-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.bb-testimonial-info span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Right Form Panel */
.bb-auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #fff;
}

.bb-auth-form-container {
    width: 100%;
    max-width: 420px;
}

.bb-auth-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.bb-auth-form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.bb-auth-form-header p {
    font-size: 15px;
    color: #64748b;
}

/* Form Styles */
.bb-auth-form .bb-form-group {
    margin-bottom: 22px;
}

.bb-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.bb-form-label i {
    color: #2563eb;
    font-size: 14px;
}

.bb-form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.bb-form-input:focus {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.bb-form-input::placeholder {
    color: #94a3b8;
}

/* Input Wrapper for Password Toggle */
.bb-input-wrapper {
    position: relative;
}

.bb-input-wrapper .bb-form-input {
    padding-right: 50px;
}

.bb-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.bb-password-toggle:hover {
    color: #2563eb;
}

/* Checkbox Styles */
.bb-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bb-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #2563eb;
    cursor: pointer;
}

.bb-checkbox-label {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.bb-checkbox-label a {
    color: #2563eb;
    text-decoration: none;
}

.bb-checkbox-label a:hover {
    text-decoration: underline;
}

/* Form Actions */
.bb-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.bb-forgot-link {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bb-forgot-link:hover {
    color: #1d4ed8;
}

/* Submit Button */
.bb-btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bb-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.bb-btn-submit i {
    font-size: 14px;
}

/* Auth Footer */
.bb-auth-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.bb-auth-footer p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.bb-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bb-auth-link:hover {
    color: #1d4ed8;
    gap: 10px;
}

.bb-auth-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.bb-auth-link:hover i {
    transform: translateX(3px);
}

/* Auth Pages Responsive */
@media (max-width: 1024px) {
    .bb-auth-branding {
        display: none;
    }

    .bb-auth-form-panel {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .bb-auth-form-panel {
        padding: 30px 16px;
    }

    .bb-auth-form-header h2 {
        font-size: 26px;
    }

    .bb-form-input {
        padding: 14px 16px;
    }

    .bb-btn-submit {
        padding: 16px 20px;
    }
}

/* ========================================
   INTERNAL PAGES - Header with Background
   ======================================== */
/* Header always has dark background on internal pages */
body:not(.bb-homepage) .bb-header .bb-header-inner,
.view-article .bb-header .bb-header-inner,
.view-category .bb-header .bb-header-inner,
.com-content .bb-header .bb-header-inner,
.com-users .bb-header .bb-header-inner,
.com-contact .bb-header .bb-header-inner {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--bb-shadow-lg);
}

/* Ensure menu text is always visible */
.bb-header .bb-nav a {
    color: rgba(255, 255, 255, 0.9);
}

.bb-header .bb-nav a:hover,
.bb-header .bb-nav li.active > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   HIDE JOOMLA ARTICLE METADATA
   ======================================== */
/* Hide article details, category, publish date */
.com-content-article .article-info,
.com-content-article .article-info-term,
.com-content-article dd.createdby,
.com-content-article dd.create,
.com-content-article dd.published,
.com-content-article dd.category-name,
.com-content-article dl.article-info,
.item-page .article-info,
.item-page dl.article-info,
.article-details,
dd.category-name,
dd.create,
dd.published,
dd.createdby,
dt.article-info-term,
.page-header .article-info,
[itemprop="datePublished"],
[itemprop="author"],
.content-category,
.published,
.createdby {
    display: none !important;
}

/* Hide "Détails" section completely */
.article-info-wrap,
.article-sidebar {
    display: none !important;
}

/* ========================================
   CONTACT PAGE FIXES
   ======================================== */
/* Force white text on contact hero */
.contact-hero,
.contact-hero h1,
.contact-hero p,
.contact-hero * {
    color: #fff !important;
}

.contact-hero h1 {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure proper padding for internal pages */
.com-content-article .item-page,
.view-article .item-page {
    padding-top: 0;
}

/* Content area padding when no hero */
.com-content-article:not(.contact-page):not(.services-page) .item-page {
    padding-top: 100px;
}

/* ========================================
   SERVICES & CONTENT PAGE IMPROVEMENTS
   ======================================== */
/* Services hero text */
.services-hero h1,
.services-hero p {
    color: #fff !important;
}

/* Default article styling for pages without custom hero */
.item-page > h1:first-child,
.item-page > h2:first-child {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--bb-gray-900);
    margin-bottom: 1.5rem;
}

/* Make sure content is readable */
.item-page p,
.item-page li {
    color: var(--bb-gray-700);
    line-height: 1.8;
}

/* Links in content */
.item-page a:not(.bb-btn) {
    color: var(--bb-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-page a:not(.bb-btn):hover {
    color: var(--bb-primary-dark);
    text-decoration: underline;
}

/* ========================================
   ARTICLE PAGES - SPACING & NAVIGATION
   ======================================== */
/* Add proper top padding for article titles (space below fixed header) */
.com-content-article .item-page,
.view-article .item-page,
.bb-internal-page .item-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 60vh;
}

/* If page has custom hero section, remove extra padding */
.item-page:has(.contact-hero),
.item-page:has(.services-hero),
.item-page:has(.pricing-hero) {
    padding-top: 0 !important;
}

/* Article content container */
.com-content-article .item-page > *:first-child:not(.contact-hero):not(.services-hero) {
    margin-top: 0;
}

/* Hide article bottom navigation (prev/next) */
.com-content-article .pager,
.com-content-article .pagination,
.com-content-article .article-navigation,
.com-content-article .pagenav,
.com-content-article ul.pager,
.com-content-article ul.pagenav,
.com-content-article .page-navigation,
.item-page .pager,
.item-page .pagenav,
.item-page ul.pager,
.item-page ul.pagenav,
.item-page .pagination,
nav.pagination,
ul.pagination,
.pagenavbar,
.article-footer nav,
.com-content-article nav[aria-label],
.item-page > nav,
.item-page > ul.pager {
    display: none !important;
}

/* Also hide any page counter or paging info */
.com-content-article .counter,
.com-content-article .page-counter,
.item-page .counter {
    display: none !important;
}

/* Ensure proper spacing for article content */
.item-page .article-content,
.item-page .com-content-article__body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article title styling */
.item-page h1.article-title,
.item-page > h1:first-of-type,
.com-content-article h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--bb-gray-900);
    margin-bottom: 30px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.bb-testimonials-section {
    background: linear-gradient(180deg, var(--bb-gray-100) 0%, var(--bb-white) 100%);
}

.bb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bb-space-8);
    align-items: stretch;
}

@media (max-width: 1024px) {
    .bb-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

.bb-testimonial-card {
    background: var(--bb-white);
    padding: var(--bb-space-8);
    border-radius: var(--bb-radius-2xl);
    box-shadow: var(--bb-shadow-lg);
    border: 2px solid transparent;
    transition: all var(--bb-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.bb-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--bb-shadow-2xl);
    border-color: var(--bb-primary);
}

.bb-testimonial-featured {
    background: linear-gradient(135deg, var(--bb-dark) 0%, #1e3a5f 100%);
    color: var(--bb-white);
    transform: scale(1.05);
}

.bb-testimonial-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.bb-testimonial-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--bb-accent);
    color: var(--bb-dark);
    padding: var(--bb-space-1) var(--bb-space-4);
    border-radius: var(--bb-radius-full);
    font-size: var(--bb-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bb-testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--bb-space-5);
}

.bb-testimonial-rating i {
    color: var(--bb-accent);
    font-size: var(--bb-text-sm);
}

.bb-testimonial-text {
    flex: 1;
    font-size: var(--bb-text-base);
    line-height: 1.8;
    color: var(--bb-gray-600);
    margin-bottom: var(--bb-space-6);
    font-style: italic;
}

.bb-testimonial-featured .bb-testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.bb-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--bb-space-4);
    padding-top: var(--bb-space-5);
    border-top: 1px solid var(--bb-gray-200);
}

.bb-testimonial-featured .bb-testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.bb-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bb-gray-200), var(--bb-gray-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bb-gray-600);
    font-size: var(--bb-text-sm);
}

.bb-author-avatar-primary {
    background: var(--bb-gradient-primary);
    color: var(--bb-white);
}

.bb-author-info strong {
    display: block;
    font-size: var(--bb-text-base);
    color: var(--bb-gray-900);
    margin-bottom: 2px;
}

.bb-testimonial-featured .bb-author-info strong {
    color: var(--bb-white);
}

.bb-author-info span {
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-500);
}

.bb-testimonial-featured .bb-author-info span {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   TRUSTED BY SECTION
   ======================================== */
.bb-trusted-section {
    padding: var(--bb-space-16) 0;
    background: var(--bb-white);
    border-top: 1px solid var(--bb-gray-200);
    border-bottom: 1px solid var(--bb-gray-200);
}

.bb-trusted-header {
    text-align: center;
    margin-bottom: var(--bb-space-10);
}

.bb-trusted-label {
    font-size: var(--bb-text-sm);
    color: var(--bb-gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
}

.bb-trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--bb-space-10);
    margin-bottom: var(--bb-space-10);
}

.bb-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bb-space-2);
    color: var(--bb-gray-400);
    transition: all var(--bb-transition);
    padding: var(--bb-space-4);
}

.bb-logo-item:hover {
    color: var(--bb-primary);
    transform: translateY(-5px);
}

.bb-logo-item i {
    font-size: 2.5rem;
    opacity: 0.6;
    transition: all var(--bb-transition);
}

.bb-logo-item:hover i {
    opacity: 1;
}

.bb-logo-item span {
    font-size: var(--bb-text-sm);
    font-weight: 600;
    opacity: 0.8;
}

.bb-trusted-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--bb-space-12);
}

.bb-trusted-stat {
    display: flex;
    align-items: center;
    gap: var(--bb-space-3);
    color: var(--bb-gray-600);
    font-size: var(--bb-text-sm);
}

.bb-trusted-stat i {
    color: var(--bb-primary);
    font-size: var(--bb-text-lg);
}

.bb-trusted-stat strong {
    color: var(--bb-gray-900);
}

/* ========================================
   ENHANCED ANIMATIONS
   ======================================== */
/* Floating animation for shapes */
@keyframes bb-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(var(--bb-primary-rgb), 0.4);
    }
    50% { 
        box-shadow: 0 0 0 20px rgba(var(--bb-primary-rgb), 0);
    }
}

/* Gradient text animation */
@keyframes bb-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bb-text-gradient {
    background: linear-gradient(90deg, var(--bb-primary), var(--bb-secondary), var(--bb-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bb-gradient-shift 4s ease infinite;
}

/* Enhanced button hover effects */
.bb-btn-primary {
    position: relative;
    overflow: hidden;
}

.bb-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.bb-btn-primary:hover::before {
    left: 100%;
}

/* Card hover glow effect */
.bb-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--bb-transition);
    background: linear-gradient(135deg, rgba(var(--bb-primary-rgb), 0.1), rgba(var(--bb-secondary-rgb), 0.1));
    pointer-events: none;
}

.bb-feature-card:hover::before {
    opacity: 1;
}

.bb-feature-card {
    position: relative;
}

/* Service card enhanced effects */
.bb-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--bb-gradient-primary);
    border-radius: 0 0 var(--bb-radius-2xl) var(--bb-radius-2xl);
    transition: width var(--bb-transition);
}

.bb-service-card:hover::after {
    width: 80%;
}

/* Stats counter animation effect */
.bb-stat-number {
    position: relative;
}

.bb-stat-item:hover .bb-stat-number {
    transform: scale(1.1);
    transition: transform var(--bb-transition);
}

/* Process step hover effect */
.bb-step-number {
    transition: all var(--bb-transition);
}

.bb-process-step:hover .bb-step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 40px rgba(var(--bb-primary-rgb), 0.6);
}

/* Enhanced scroll indicator */
.bb-scroll-indicator {
    opacity: 0.7;
    transition: opacity var(--bb-transition);
}

.bb-scroll-indicator:hover {
    opacity: 1;
}

/* Hero content entrance animation */
.bb-hero-content {
    animation: bb-hero-entrance 1s ease-out;
}

@keyframes bb-hero-entrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust item hover effect */
.bb-trust-item {
    transition: all var(--bb-transition);
    padding: var(--bb-space-2) var(--bb-space-4);
    border-radius: var(--bb-radius-full);
}

.bb-trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* CTA section enhanced gradient */
.bb-cta-section {
    position: relative;
}

.bb-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */
@media (max-width: 768px) {
    .bb-testimonials-grid {
        gap: var(--bb-space-6);
    }
    
    .bb-testimonial-featured {
        transform: none;
    }
    
    .bb-testimonial-featured:hover {
        transform: translateY(-10px);
    }
    
    .bb-trusted-logos {
        gap: var(--bb-space-6);
    }
    
    .bb-logo-item i {
        font-size: 2rem;
    }
    
    .bb-trusted-stats {
        flex-direction: column;
        gap: var(--bb-space-4);
    }
}

/* Hide prices on homepage */
.bb-service-price {
    display: none !important;
}

/* ========================================
   SENETOILE NETWORK INTEGRATION
   ======================================== */
.bb-network-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(5, 150, 105, 0.15));
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bb-primary);
}

.bb-network-badge i {
    color: var(--bb-secondary);
}

/* Senetoile Articles Widget - Grid Layout */
.bb-senetoile-widget {
    background: var(--bb-white);
    border-radius: var(--bb-radius-2xl);
    padding: var(--bb-space-8);
    box-shadow: var(--bb-shadow-xl);
}

.bb-senetoile-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--bb-space-6);
    padding-bottom: var(--bb-space-4);
    border-bottom: 2px solid var(--bb-gray-100);
}

.bb-senetoile-widget-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--bb-text-xl);
    font-weight: 700;
    color: var(--bb-gray-900);
    margin: 0;
}

.bb-senetoile-widget-title i {
    color: #e94560;
    font-size: 1.2em;
}

.bb-senetoile-widget-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--bb-text-sm);
    color: var(--bb-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--bb-radius-full);
    background: rgba(37, 99, 235, 0.1);
    transition: all var(--bb-transition);
}

.bb-senetoile-widget-link:hover {
    background: var(--bb-primary);
    color: var(--bb-white);
}

/* Grid Layout */
.bb-senetoile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--bb-space-5);
}

@media (max-width: 1024px) {
    .bb-senetoile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bb-senetoile-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styles */
.bb-senetoile-card {
    border-radius: var(--bb-radius-xl);
    overflow: hidden;
    background: var(--bb-white);
    border: 1px solid var(--bb-gray-200);
    transition: all var(--bb-transition);
}

.bb-senetoile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bb-shadow-lg);
    border-color: var(--bb-primary);
}

.bb-senetoile-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bb-senetoile-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.bb-senetoile-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bb-senetoile-card:hover .bb-senetoile-card-img {
    transform: scale(1.08);
}

.bb-senetoile-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(233, 69, 96, 0.95);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--bb-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bb-senetoile-card-body {
    padding: var(--bb-space-4);
}

.bb-senetoile-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--bb-gray-800);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.bb-senetoile-card:hover .bb-senetoile-card-title {
    color: var(--bb-primary);
}

.bb-senetoile-card-meta {
    font-size: 11px;
    color: var(--bb-gray-500);
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-senetoile-card-meta i {
    font-size: 10px;
    margin-right: 3px;
}

/* Footer */
.bb-senetoile-footer {
    text-align: center;
    margin-top: var(--bb-space-6);
    padding-top: var(--bb-space-5);
    border-top: 1px solid var(--bb-gray-100);
}

.bb-senetoile-powered {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e94560;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all var(--bb-transition);
}

.bb-senetoile-powered:hover {
    opacity: 0.8;
}

.bb-senetoile-powered img {
    border-radius: 4px;
}

/* Legacy styles - keeping for compatibility */
.bb-senetoile-article-meta {
    font-size: 11px;
    color: var(--bb-gray-500);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bb-senetoile-article-meta i {
    font-size: 10px;
}

/* Loading state */
.bb-senetoile-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--bb-gray-400);
}

.bb-senetoile-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* News Section */
.bb-news-section {
    padding: var(--bb-space-16) 0;
    background: linear-gradient(180deg, var(--bb-gray-50) 0%, var(--bb-white) 100%);
}

/* Hide About page title */
.view-article.itemid-111 .page-header,
.view-article.itemid-111 h1.article-title,
.view-article[data-itemid="111"] .page-header,
body[class*="about"] .page-header,
body[class*="about"] h1.article-title,
body[class*="about"] .item-page h1:first-of-type {
    display: none !important;
}

/* ========================================
   LANGUAGE SWITCHER WITH FLAGS
   ======================================== */
.mod-languages {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mod-languages ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.mod-languages li {
    margin: 0;
    padding: 0;
}

.mod-languages a,
.mod-languages span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--bb-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--bb-transition);
    background: transparent;
    color: var(--bb-gray-700);
}

.mod-languages a:hover {
    background: var(--bb-gray-100);
    color: var(--bb-primary);
    transform: translateY(-1px);
}

.mod-languages .lang-active a,
.mod-languages .lang-active span {
    background: var(--bb-primary);
    color: var(--bb-white);
    box-shadow: 0 2px 8px rgba(var(--bb-primary-rgb), 0.3);
}

/* Flag icons using Unicode or emoji */
.mod-languages img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* If using text instead of images, add flag emojis */
.mod-languages a[href*="en-gb"]:before,
.mod-languages span[lang="en-GB"]:before {
    content: "🇬🇧";
    font-size: 1.2em;
    margin-right: 4px;
}

.mod-languages a[href*="fr-fr"]:before,
.mod-languages span[lang="fr-FR"]:before {
    content: "🇫🇷";
    font-size: 1.2em;
    margin-right: 4px;
}

/* Hide text if you want only flags */
.mod-languages.flags-only a span:not(:before),
.mod-languages.flags-only span span {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mod-languages {
        gap: 5px;
    }
    
    .mod-languages a,
    .mod-languages span {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Inline style for header */
.mod-languages.inline ul {
    flex-direction: row;
}

/* Dropdown style if needed */
.mod-languages.dropdown {
    position: relative;
}

.mod-languages.dropdown ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bb-white);
    box-shadow: var(--bb-shadow-xl);
    border-radius: var(--bb-radius-md);
    padding: 8px;
    min-width: 150px;
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mod-languages.dropdown:hover ul {
    display: flex;
}

.mod-languages.dropdown > span {
    cursor: pointer;
    padding: 8px 16px;
    background: var(--bb-white);
    border: 2px solid var(--bb-gray-300);
    border-radius: var(--bb-radius);
    font-weight: 600;
}


/* Hide title on About page - Added 29 Jan 2026 */
body.itemid-107 h1,
body.itemid-107 .page-header,
body.itemid-107 .item-page h1,
body.itemid-107 .article-header,
body.itemid-107 .content-header,
body.itemid-107 .bb-content-main h1,
body.itemid-107 article h1:first-child,
body.itemid-107 .page-title,
body.itemid-107 .article-title,
.itemid-107 h1 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Language Switcher Styling - Added 29 Jan 2026 */
.bb-header-actions .mod-languages {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.bb-header-actions .mod-languages ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.bb-header-actions .mod-languages li {
    margin: 0;
    padding: 0;
}

.bb-header-actions .mod-languages a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: var(--bb-gray-700);
    background: var(--bb-gray-100);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bb-header-actions .mod-languages a:hover {
    background: var(--bb-primary);
    color: white;
    transform: translateY(-2px);
}

.bb-header-actions .mod-languages li.lang-active a {
    background: var(--bb-primary);
    color: white;
    border-color: var(--bb-primary);
    font-weight: 600;
}

.bb-header-actions .mod-languages img {
    width: 20px;
    height: 15px;
    margin-right: 6px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bb-header-actions .mod-languages {
        margin-right: 10px;
    }
    
    .bb-header-actions .mod-languages a {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .bb-header-actions .mod-languages img {
        width: 18px;
        height: 13px;
    }
}

/* Language Switcher Label - Make text visible */
.bb-header-actions .mod-languages .mod-title,
.bb-header-actions .mod-languages h3,
.bb-header-actions .mod-languages label,
.bb-header-actions .mod-languages .language-switcher-label {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

/* For dropdown language switcher */
.mod-languages .mod-title,
.mod-languages h3 {
    color: #ffffff !important;
}
