/* ============================================================
   MBJ Trading — Design System
   Colour Scheme: Dark Blue · White · Red  (per brand brief)
   ============================================================ */

:root {
    /* Brand colours — Dark Blue, White, Red */
    --mbj-navy:        #0b1d3a;   /* Dark Blue (primary) */
    --mbj-navy-2:      #102b54;   /* Dark Blue (mid) */
    --mbj-navy-3:      #1c3d72;   /* Dark Blue (light) */
    --mbj-crimson:     #e63946;   /* Red (primary) */
    --mbj-crimson-2:   #c92e3b;   /* Red (dark) */
    --mbj-crimson-3:   #ff5a65;   /* Red (light/highlight) */

    /* Neutrals — White-based */
    --ivory:           #ffffff;   /* Pure white page background */
    --paper:           #ffffff;   /* Pure white (cards, forms) */
    --ink:             #0d1b2a;
    --slate:           #475569;
    --mist:            #94a3b8;
    --line:            #e5e7eb;
    --soft:            #f0f2f7;   /* Light grey sections */

    /* Effects */
    --shadow-xs: 0 1px 2px rgba(11, 29, 58, 0.08);
    --shadow-sm: 0 8px 24px rgba(11, 29, 58, 0.12);
    --shadow-md: 0 24px 50px rgba(11, 29, 58, 0.16);
    --shadow-lg: 0 40px 80px rgba(11, 29, 58, 0.22);
    --shadow-glow: 0 20px 60px rgba(230, 57, 70, 0.40);
    --shadow-glow-navy: 0 20px 60px rgba(11, 29, 58, 0.35);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t: 0.4s var(--ease);
}

/* Utility classes used site-wide */
.bg-light-section { background: var(--soft); }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    color: var(--mbj-navy);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
a { text-decoration: none; transition: var(--t); color: inherit; }
img { max-width: 100%; height: auto; display: block; }
section { padding: 110px 0; position: relative; }
@media (max-width: 768px) { section { padding: 72px 0; } }

::selection { background: var(--mbj-crimson); color: #fff; }

/* ---------- Top bar ---------- */
.top-bar {
    background: var(--mbj-navy);
    color: rgba(255,255,255,.75);
    font-size: 13px;
    padding: 9px 0;
    position: relative;
    z-index: 1040;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--mbj-crimson); }
.top-bar i { color: var(--mbj-crimson); margin-right: 4px; }
.top-bar .whatsapp-top,
.top-bar .top-whats { color: #4ade80; font-weight: 600; }
.top-bar .whatsapp-top:hover,
.top-bar .top-whats:hover { color: #22c55e; }

/* ---------- Navbar — Solid Dark Navy (corporate FMCG style) ---------- */
.main-navbar {
    position: sticky; top: 0; z-index: 1030;
    background: var(--mbj-navy);
    border-bottom: 3px solid var(--mbj-crimson);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 14px 0;
}
.main-navbar.is-scrolled {
    background: var(--mbj-navy);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    padding: 10px 0;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.4);
    padding: 6px 10px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-brand { padding: 0; display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 44px; height: 44px;
    background: var(--mbj-crimson);
    color: #fff;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 22px;
    flex-shrink: 0;
    transition: var(--t);
}
.navbar-brand:hover .brand-mark { background: var(--mbj-crimson-2); }
.brand-mark-light {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.2);
}
.brand-name {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 18px;
    color: #ffffff; line-height: 1.1; letter-spacing: -0.01em;
}
.brand-sub {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}
.navbar .nav-link {
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px !important;
    position: relative;
    font-size: 14px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}
.navbar .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.navbar .nav-link.active {
    color: #fff;
    background: var(--mbj-crimson);
}
.navbar .nav-link.active::before { display: none; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; padding: 12px 26px; border-radius: 100px; transition: var(--t); border: 2px solid transparent; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary {
    background: var(--mbj-crimson); border-color: var(--mbj-crimson); color: #fff;
}
.btn-primary:hover { background: var(--mbj-crimson-2); border-color: var(--mbj-crimson-2); transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-blue {
    background: var(--mbj-navy); color: #fff; border-color: var(--mbj-navy);
}
.btn-blue:hover { background: var(--mbj-navy-2); border-color: var(--mbj-navy-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 29, 58, 0.3); }
.btn-outline-primary {
    color: var(--mbj-crimson); border-color: var(--mbj-crimson);
}
.btn-outline-primary:hover { background: var(--mbj-crimson); color: #fff; transform: translateY(-2px); }
.btn-outline-light {
    color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: #fff; color: var(--mbj-navy); border-color: #fff; transform: translateY(-2px); }
.btn-whatsapp {
    background: #25D366; color: #fff; border: 0; font-weight: 600;
}
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); }
.btn-submit {
    background: var(--mbj-crimson); color: #fff; border: 0;
    padding: 14px 32px; border-radius: 100px; font-weight: 700; font-size: 15px;
}
.btn-submit:hover { background: var(--mbj-crimson-2); transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-submit-whatsapp {
    background: #25D366; color: #fff; border: 0;
    padding: 14px 32px; border-radius: 100px; font-weight: 700; font-size: 15px;
}
.btn-submit-whatsapp:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background: #ffffff;
    border-top: 4px solid var(--mbj-crimson);
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 50%; height: 100%;
    background: linear-gradient(135deg, rgba(11,29,58,0.03) 0%, rgba(11,29,58,0.06) 100%);
    z-index: 0;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero::after { display: none; }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--mbj-crimson);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-eyebrow .dot {
    width: 7px; height: 7px; background: rgba(255,255,255,0.8); border-radius: 50%;
}
.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 4.8rem);
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--mbj-navy);
    line-height: 1.1;
}
.hero h1 .accent {
    color: var(--mbj-crimson);
    position: relative;
}
.hero .lead {
    color: var(--slate);
    font-size: 1.25rem; max-width: 580px; margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 500;
}
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero .hero-trust {
    display: flex; flex-wrap: wrap; gap: 28px; padding-top: 32px;
    border-top: 1px solid var(--line);
}
.hero .hero-trust .trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600; color: var(--ink);
}
.hero .hero-trust .trust-item i {
    color: var(--mbj-crimson);
    font-size: 18px;
    flex-shrink: 0;
}
/* Legacy support for trust-icon / trust-text wrappers */
.hero .hero-trust .trust-icon {
    width: 44px; height: 44px;
    background: rgba(11, 29, 58, 0.05);
    color: var(--mbj-crimson);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.hero .hero-trust .trust-text strong { display: block; color: var(--mbj-navy); font-size: 14px; font-weight: 700; }
.hero .hero-trust .trust-text span { color: var(--slate); font-size: 12px; }
/* ---------- HERO IMAGE ---------- */
.hero-image-wrap {
    position: relative;
    perspective: 1200px;
}
.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-12deg) rotateX(8deg) rotateZ(-1deg);
    transition: 0.6s var(--ease);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-image:hover { transform: rotateY(0) rotateX(0) rotateZ(0) scale(1.02); }
.hero-image img { width: 100%; height: 520px; object-fit: cover; }

.hero-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 29, 58, 0.4) 100%);
    pointer-events: none;
}
.hero-floating-card {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 12px;
    z-index: 11;
    border: 1px solid var(--line);
    animation: floating-alt 4s ease-in-out infinite;
}
.hero-floating-card i {
    width: 40px; height: 40px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--mbj-crimson);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.hero-floating-card span {
    font-size: 13px; font-weight: 700; color: var(--mbj-navy);
}
.hero-floating-card.top-right {
    top: 30px; right: -30px; animation-delay: 1s;
}
@keyframes floating-alt {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -15px); }
}

/* ---------- Page header ---------- */
.page-header {
    position: relative;
    background:
        linear-gradient(135deg, rgba(11, 29, 58, 0.95) 0%, rgba(16, 43, 84, 0.92) 100%),
        url('https://images.unsplash.com/photo-1542838132-92c53300491e?w=1600&q=80') center/cover;
    color: #fff;
    padding: 100px 0 70px;
    overflow: hidden;
    border-bottom: 4px solid var(--mbj-crimson);
}
.page-header::before { display: none; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 700px; }
.breadcrumb-custom { background: transparent; padding: 0; margin: 0 0 12px; }
.breadcrumb-custom a { color: rgba(255,255,255,.7); font-size: 13px; }
.breadcrumb-custom a:hover { color: var(--mbj-crimson); }
.breadcrumb-custom .breadcrumb-item.active,
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.7); font-size: 13px; }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { content: '›'; padding: 0 8px; }

/* ---------- Section heading ---------- */
.eyebrow {
    display: inline-block;
    color: var(--mbj-crimson);
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: ''; display: inline-block; width: 24px; height: 2px;
    background: var(--mbj-crimson);
    vertical-align: middle; margin-right: 10px;
    border-radius: 2px;
}
.section-title small {
    display: inline-block;
    color: var(--mbj-crimson);
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 14px;
}
.section-title small::before {
    content: ''; display: inline-block; width: 20px; height: 2px;
    background: var(--mbj-crimson);
    vertical-align: middle; margin-right: 8px;
    border-radius: 2px;
}
.section-title h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    margin-bottom: 16px;
}
.section-title p { color: var(--slate); max-width: 640px; }
.section-title.text-center p { margin: 0 auto; }
.section-title { margin-bottom: 50px; }

/* ---------- Stats (modern with icons) ---------- */
.stats-band {
    background: linear-gradient(135deg, var(--mbj-navy) 0%, var(--mbj-navy-3) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    border-radius: 32px 32px 0 0;
}
.stats-band::before {
    content: '';
    position: absolute; inset: 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");
}
.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px 10px;
}
.stat-item .stat-icon {
    width: 56px; height: 56px;
    background: rgba(230, 57, 70, 0.15);
    color: var(--mbj-crimson);
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
}
/* ---------- Stats section ---------- */
.stats-section {
    padding: 60px 0;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

/* ---------- Stats & Counters ---------- */
.stat-card {
    text-align: center;
    padding: 32px 20px 28px;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: var(--t);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--mbj-crimson);
}
.stat-card .stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--mbj-navy);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-card .stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-card .stat-icon-wrap {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(230,57,70,0.1) 0%, rgba(230,57,70,0.05) 100%);
    color: var(--mbj-crimson);
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px;
    transition: var(--t);
    border: 1px solid rgba(230,57,70,0.12);
}
.stat-card:hover .stat-icon-wrap {
    background: var(--mbj-crimson);
    color: #fff;
    border-color: var(--mbj-crimson);
    transform: scale(1.1) rotate(-6deg);
}

/* ---------- Client / Retailer Strip ---------- */
.client-strip {
    background: var(--mbj-navy);
    padding: 22px 0;
    position: relative;
    overflow: hidden;
}
.client-strip::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--mbj-crimson) 0%, transparent 40%, transparent 60%, var(--mbj-crimson) 100%);
    opacity: 0.08;
}
.client-strip-inner {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 20px; justify-content: center;
    position: relative; z-index: 1;
}
.client-strip-label {
    color: rgba(255,255,255,0.55);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.client-types {
    display: flex; align-items: center;
    flex-wrap: wrap; gap: 0;
    justify-content: center;
}
.client-type {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 13px; font-weight: 600;
    padding: 6px 18px;
    white-space: nowrap;
    transition: color 0.2s;
}
.client-type:hover { color: #fff; }
.client-type i {
    color: var(--mbj-crimson);
    font-size: 16px;
}
.client-type-divider {
    width: 1px; height: 20px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}
@media (max-width: 575px) {
    .client-strip-label { width: 100%; text-align: center; }
    .client-type-divider { display: none; }
    .client-type { padding: 4px 12px; font-size: 12px; }
}

/* ---------- How it Works / Process Steps ---------- */
.how-it-works { background: var(--ivory); }

.process-step {
    text-align: center;
    padding: 36px 20px 28px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--t);
    height: 100%;
}
.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230,57,70,0.25);
}
.process-num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--mbj-crimson);
    color: #fff;
    font-size: 12px; font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 100px;
    box-shadow: 0 6px 16px rgba(230,57,70,0.35);
}
.process-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(230,57,70,0.08), rgba(230,57,70,0.04));
    color: var(--mbj-crimson);
    border-radius: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 18px;
    border: 1px solid rgba(230,57,70,0.1);
    transition: var(--t);
}
.process-step:hover .process-icon {
    background: var(--mbj-crimson); color: #fff;
    border-color: var(--mbj-crimson);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 28px rgba(230,57,70,0.35);
}
.process-step h6 {
    color: var(--mbj-navy); font-size: 16px; font-weight: 700; margin-bottom: 10px;
}
.process-step p { color: var(--slate); font-size: 13.5px; margin: 0; line-height: 1.6; }

/* ---------- Hero Floating Stat ---------- */
.hero-stat-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    border: 1px solid var(--line);
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.hero-stat-card .stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--mbj-crimson);
    line-height: 1;
    margin-bottom: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-stat-card .stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--mbj-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Category cards (modern) ---------- */
.category-card {
    background: #fff; border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    height: 100%; border: 1px solid var(--line);
    display: flex; flex-direction: column; position: relative;
    z-index: 1;
}
.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--mbj-crimson);
}
.category-card .cat-img {
    height: 240px; overflow: hidden; position: relative; background: var(--soft);
}
.category-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.category-card:hover .cat-img img { transform: scale(1.15); }
.category-card .cat-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 29, 58, 0.4) 100%);
}
.category-card .cat-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--mbj-crimson); color: #fff;
    padding: 6px 14px; border-radius: 100px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}
.category-card .cat-body { padding: 28px 24px 24px; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.category-card .cat-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--mbj-crimson) 0%, var(--mbj-crimson-2) 100%);
    color: #fff; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
    transition: var(--t);
}
.category-card:hover .cat-icon { transform: scale(1.1) rotate(-5deg); }
.category-card h5 { margin-bottom: 10px; font-size: 19px; }
.category-card p { color: var(--slate); font-size: 14px; flex: 1; line-height: 1.6; }
.category-card .cat-link {
    color: var(--mbj-crimson); font-weight: 700; font-size: 14px; margin-top: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.category-card .cat-link i { transition: var(--t); }
.category-card:hover .cat-link i { transform: translateX(4px); }

/* ---------- Brand cards (professional logo-grid) ---------- */
.brand-card {
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: var(--t);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: flex; flex-direction: column;
}
.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--mbj-crimson);
}
/* Red top accent bar on hover */
.brand-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--mbj-crimson);
    transform: scaleX(0); transform-origin: left; transition: var(--t);
    z-index: 2;
}
.brand-card:hover::before { transform: scaleX(1); }

/* Logo area */
.brand-logo-area {
    background: var(--soft);
    padding: 32px 20px 28px;
    display: flex; align-items: center; justify-content: center;
    min-height: 130px;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: var(--t);
}
.brand-card:hover .brand-logo-area {
    background: rgba(11, 29, 58, 0.03);
}
/* Brand monogram / initial */
.brand-monogram {
    width: 72px; height: 72px;
    background: var(--mbj-navy);
    color: #fff;
    border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px; font-weight: 800;
    letter-spacing: -1px;
    box-shadow: 0 8px 24px rgba(11, 29, 58, 0.22);
    transition: var(--t);
    flex-shrink: 0;
}
.brand-card:hover .brand-monogram {
    background: var(--mbj-crimson);
    box-shadow: var(--shadow-glow);
    transform: scale(1.08);
}
/* Category tag */
.brand-cat-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.08);
    color: var(--mbj-crimson);
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
    border: 1px solid rgba(230, 57, 70, 0.15);
}
/* Brand card body */
.brand-card-body {
    padding: 20px 20px 22px;
    flex: 1; display: flex; flex-direction: column;
}
.brand-card h6 {
    color: var(--mbj-navy);
    margin: 0 0 6px;
    font-size: 16px; font-weight: 800;
}
.brand-card p {
    color: var(--slate);
    font-size: 13px;
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

/* ---------- Brands category section title ---------- */
.brands-category-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--line);
}
.brands-category-title span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--mbj-navy);
    display: inline-flex; align-items: center; gap: 8px;
}
.brands-category-title i {
    color: var(--mbj-crimson);
    font-size: 16px;
}

/* ---------- Standalone feature-icon (used outside .feature-card) ---------- */
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(230, 57, 70, 0.08);
    color: var(--mbj-crimson);
    border-radius: 16px;
    width: 64px; height: 64px;
    font-size: 26px;
    margin-bottom: 16px;
    transition: var(--t);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.1);
}

/* ---------- Why-choose features ---------- */
.feature-card {
    background: #fff; padding: 40px 30px; border-radius: 24px;
    height: 100%; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 6px; height: 100%;
    background: var(--mbj-crimson);
    transform: scaleY(0); transform-origin: top; transition: var(--t);
}
.feature-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg); border-color: rgba(230, 57, 70, 0.2); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-card .feature-icon {
    width: 68px; height: 68px;
    background: rgba(230, 57, 70, 0.08);
    color: var(--mbj-crimson); border-radius: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.1);
    transition: var(--t);
}
.feature-card:hover .feature-icon { 
    background: var(--mbj-crimson); color: #fff;
    transform: rotateY(360deg);
    box-shadow: var(--shadow-glow);
}
.feature-card h6 { color: var(--mbj-navy); margin-bottom: 10px; font-size: 17px; font-weight: 700; }
.feature-card p { color: var(--slate); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Service card ---------- */
.service-card {
    background: #fff; padding: 45px 35px; border-radius: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--t);
    border: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: rgba(230, 57, 70, 0.2); }
.service-card .service-icon {
    width: 72px; height: 72px;
    background: rgba(230, 57, 70, 0.08);
    color: var(--mbj-crimson);
    border-radius: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 32px; margin-bottom: 24px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.1);
}
.service-card:hover .service-icon { 
    background: var(--mbj-crimson); color: #fff; 
    transform: scale(1.1) rotate(-8deg);
    box-shadow: var(--shadow-glow);
}
.service-card h5 { margin-bottom: 16px; font-weight: 800; color: var(--mbj-navy); font-size: 20px; }
.service-card p { color: var(--slate); font-size: 14px; }
.service-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.service-card ul li {
    padding: 8px 0 8px 28px; color: var(--ink);
    position: relative; font-size: 14px;
}
.service-card ul li::before {
    content: '\F633'; font-family: 'bootstrap-icons';
    position: absolute; left: 0; top: 8px;
    color: var(--mbj-crimson); font-size: 18px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--mbj-navy) 0%, var(--mbj-navy-3) 100%);
    color: #fff;
    padding: 90px 0;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner::after {
    content: '';
    position: absolute; bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(28, 61, 114, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 28px; max-width: 600px; }
.cta-banner .position-relative { z-index: 1; }

/* ---------- Forms ---------- */
.form-card {
    background: var(--paper); border-radius: 20px; padding: 40px;
    box-shadow: var(--shadow-md); border: 1px solid var(--line);
    position: relative;
}
.form-card h3 { margin-bottom: 8px; }
.form-card .form-text { color: var(--slate); margin-bottom: 28px; }
.form-label { font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 14px; }
.form-control, .form-select {
    border: 1.5px solid var(--line);
    border-radius: 12px; padding: 13px 16px; font-size: 15px;
    transition: var(--t);
    background: var(--ivory);
}
.form-control:focus, .form-select:focus {
    border-color: var(--mbj-crimson);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    background: #fff;
}
textarea.form-control { min-height: 130px; resize: vertical; }

.contact-info-card {
    background: linear-gradient(135deg, var(--mbj-navy) 0%, var(--mbj-navy-3) 100%);
    color: #fff;
    border-radius: 20px; padding: 40px; height: 100%;
    position: relative; overflow: hidden;
}
.contact-info-card::before {
    content: ''; position: absolute;
    width: 240px; height: 240px; right: -60px; top: -60px;
    background: rgba(230, 57, 70, 0.2); border-radius: 50%;
}
.contact-info-card h3 { color: #fff; margin-bottom: 24px; font-size: 22px; }
.contact-info-card .ci-item {
    display: flex; gap: 16px; padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    position: relative; z-index: 1;
}
.contact-info-card .ci-item:last-child { border-bottom: 0; }
.contact-info-card .ci-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(255,255,255,.1); color: #fff;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.contact-info-card .ci-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.contact-info-card .ci-item a, .contact-info-card .ci-item span {
    color: rgba(255,255,255,.75); font-size: 14px; word-break: break-word;
}
.contact-info-card .ci-item a:hover { color: #fff; }
.contact-info-card .social-icons { margin-top: 24px; position: relative; z-index: 1; }
.contact-info-card .social-icons a {
    width: 42px; height: 42px; background: rgba(255,255,255,.1);
    border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    color: #fff; margin-right: 8px; font-size: 16px;
    transition: var(--t);
}
.contact-info-card .social-icons a:hover { background: var(--mbj-crimson); transform: translateY(-3px); }

.map-embed { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 32px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(135deg, #061224 0%, var(--mbj-navy) 100%);
    color: rgba(255,255,255,.7);
    padding: 90px 0 24px;
    position: relative; overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--mbj-crimson) 0%, var(--mbj-crimson-2) 40%, var(--mbj-navy-3) 100%);
}
.footer-title {
    color: #fff; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px; font-weight: 700; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 1.5px;
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: 6px 0; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--mbj-crimson); padding-left: 4px; }
.footer-contact li i { color: var(--mbj-crimson); margin-right: 10px; font-size: 16px; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 40px 0 20px; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; justify-content: flex-end; }
.footer-legal a { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-legal a:hover { color: #fff; }
.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.06); color: #fff;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 8px; font-size: 16px;
    transition: var(--t);
}
.social-icons a:hover { background: var(--mbj-crimson); transform: translateY(-3px); }

@media (max-width: 768px) {
    .footer-legal { justify-content: flex-start; margin-top: 12px; }
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
    position: fixed; bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background: #25D366; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; z-index: 1000;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
    transition: var(--t);
}
.floating-whatsapp:hover { transform: scale(1.15) rotate(10deg); color: #fff; }
.floating-whatsapp-pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: .7; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 575px) {
    .floating-whatsapp { width: 54px; height: 54px; font-size: 28px; bottom: 18px; right: 18px; }
}

.back-to-top {
    position: fixed; bottom: 24px; left: 24px;
    width: 48px; height: 48px;
    background: var(--mbj-navy); color: #fff;
    border: 0; border-radius: 14px;
    display: none; align-items: center; justify-content: center;
    font-size: 20px; z-index: 999;
    box-shadow: var(--shadow-md);
    transition: var(--t);
}
.back-to-top:hover { background: var(--mbj-crimson); transform: translateY(-3px); }
.back-to-top.show { display: flex; }

/* Timeline */
.timeline { position: relative; padding: 0; list-style: none; }
.timeline::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
    width: 2px; background: var(--line);
}
.timeline > li { position: relative; padding-left: 70px; margin-bottom: 36px; }
.timeline > li::before {
    content: ''; position: absolute; left: 14px; top: 4px;
    width: 22px; height: 22px;
    background: var(--mbj-crimson); border: 4px solid #fff;
    border-radius: 50%; box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
}
.timeline h6 { color: var(--mbj-navy); margin-bottom: 4px; }
.timeline p { color: var(--slate); font-size: 14px; margin: 0; }

/* Check list */
ul.checklist { list-style: none; padding: 0; }
ul.checklist li { padding: 8px 0 8px 32px; position: relative; color: var(--ink); }
ul.checklist li::before {
    content: '\F633'; font-family: 'bootstrap-icons';
    position: absolute; left: 0; top: 8px;
    color: var(--mbj-crimson); font-size: 18px;
}

/* Product detail panels */
.product-detail {
    background: var(--paper);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    border: 1px solid var(--line);
}

/* Section bg variants */
.bg-soft { background: var(--soft); }
.bg-ivory { background: var(--ivory); }

/* Animations */
.fade-in { animation: fadeIn .6s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Mobile top contact strip (shows on small screens) ---------- */
.mobile-contact-strip {
    display: none;
    background: var(--mbj-navy);
    padding: 10px 0;
    text-align: center;
}
.mobile-contact-strip a {
    color: rgba(255,255,255,.85);
    font-size: 13px; font-weight: 600;
    padding: 4px 12px;
    display: inline-flex; align-items: center; gap: 6px;
    border-radius: 100px;
    transition: color 0.2s;
}
.mobile-contact-strip a:hover { color: #fff; }
.mobile-contact-strip .wa-strip {
    color: #4ade80;
    background: rgba(37,211,102,0.1);
    margin-left: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 8px;
        background: var(--mbj-navy-2);
        padding: 12px 16px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.08);
    }
    .navbar .nav-link {
        padding: 10px 14px !important;
        border-radius: 6px;
    }
    .navbar .nav-link.active::before { display: none; }
    .hero { padding: 50px 0 80px; }
    .hero-image { transform: none; }
    .hero-floating-card { display: none; }
    .hero-image img { height: 360px; }
    .page-header { padding: 90px 0 60px; }
}
@media (max-width: 767px) {
    .mobile-contact-strip { display: block; }
    .feature-card, .service-card { padding: 28px 22px; }
    .brand-card { padding: 28px 20px; }
    .cta-banner { padding: 60px 0; }
    .cta-banner .btn { width: 100%; justify-content: center; }
    .hero .hero-cta { gap: 12px; }
    .hero .hero-cta .btn { flex: 1 1 calc(50% - 6px); text-align: center; justify-content: center; }
    .hero .hero-cta .btn-whatsapp { flex: 1 1 100%; }
    .page-header { padding: 80px 0 50px; }
    .page-header h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    section { padding: 64px 0; }
    .stat-card { padding: 22px 14px; }
    .stat-card .stat-num { font-size: 2.2rem; }
    .category-card .cat-img { height: 190px; }
    .form-card { padding: 24px 20px; }
    .contact-info-card { padding: 24px 20px; }
    .footer-legal { justify-content: flex-start; margin-top: 12px; }
}
@media (max-width: 575px) {
    .hero { padding: 36px 0 56px; }
    .stats-band { border-radius: 24px 24px 0 0; }
    .hero .hero-trust { gap: 20px; }
    .category-card .cat-body { padding: 20px 18px 18px; }
    .section-title h2 { font-size: clamp(1.6rem, 5.5vw, 2rem); }
    .back-to-top { display: none !important; }
}
