/* ============================================================
   BM Solutions — Global Stylesheet
   Framework: Bootstrap 5.3 RTL  |  Direction: RTL
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
    --bms-primary:      #2563eb;
    --bms-primary-dark: #1d4ed8;
    --bms-secondary:    #7c3aed;
    --bms-accent:       #06b6d4;
    --bms-success:      #10b981;
    --bms-warning:      #f59e0b;
    --bms-danger:       #ef4444;
    --bms-dark:         #0f172a;
    --bms-light:        #f8fafc;
    --bms-gray-50:      #f8fafc;
    --bms-gray-100:     #f1f5f9;
    --bms-gray-200:     #e2e8f0;
    --bms-gray-600:     #475569;
    --bms-gray-700:     #334155;
    --bms-gray-900:     #0f172a;
    --bms-gradient:     linear-gradient(135deg, var(--bms-primary) 0%, var(--bms-secondary) 100%);
    --bms-radius:       14px;
    --bms-radius-sm:    8px;
    --bms-shadow:       0 4px 24px rgba(15, 23, 42, 0.08);
    --bms-shadow-lg:    0 8px 48px rgba(15, 23, 42, 0.14);
    --transition:       0.25s cubic-bezier(.4,0,.2,1);
    --navbar-height:    72px;
}

/* ── Base ───────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #eef2ff;
    color: var(--bms-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    padding-top: calc(var(--navbar-height) + 26px); /* navbar + announcement bar */
}

a { transition: color var(--transition); }
a:hover { text-decoration: none; }

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

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--bms-gray-600);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(37,99,235,.12));
    color: #2563eb;
    font-size: .85rem;
    font-weight: 700;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(37,99,235,.15);
}

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

/* ── Buttons ────────────────────────────────────────────── */
.btn-bms {
    background: var(--bms-gradient);
    color: #fff;
    border: none;
    border-radius: var(--bms-radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    transition: opacity var(--transition), transform var(--transition);
}

.btn-bms:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #fff;
}

.btn-bms-outline {
    background: transparent;
    color: var(--bms-primary);
    border: 2px solid var(--bms-primary);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.42rem 1.1rem;
    font-size: 0.9rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-bms-outline:hover {
    background: var(--bms-primary);
    color: #fff;
}

/* ── Cards ──────────────────────────────────────────────── */
.bms-card {
    background: #fff;
    border-radius: var(--bms-radius);
    box-shadow: var(--bms-shadow);
    border: 1px solid var(--bms-gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.bms-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bms-shadow-lg);
}

/* ── Sections ───────────────────────────────────────────── */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

/* ── Badges ─────────────────────────────────────────────── */
.badge-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--bms-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
}

/* ── Forms ──────────────────────────────────────────────── */
.bms-form .form-control,
.bms-form .form-select {
    border-radius: var(--bms-radius-sm);
    border: 1.5px solid var(--bms-gray-200);
    padding: 0.65rem 1rem;
    font-size: 0.93rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.bms-form .form-control:focus,
.bms-form .form-select:focus {
    border-color: var(--bms-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.bms-form label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--bms-gray-700);
}

/* ── Alerts ─────────────────────────────────────────────── */
.alert-bms-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #065f46;
    border-radius: var(--bms-radius-sm);
}

.alert-bms-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #991b1b;
    border-radius: var(--bms-radius-sm);
}

/* ── Hero ───────────────────────────────────────────────── */
.bms-hero {
    background: var(--bms-gradient);
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.bms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hero-pattern.svg') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

/* ── Service Icon ───────────────────────────────────────── */
.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--bms-primary);
    margin-bottom: 1rem;
    transition: background var(--transition), color var(--transition);
}

.bms-card:hover .service-icon-wrap {
    background: var(--bms-gradient);
    color: #fff;
}

/* ── Progress Bar ───────────────────────────────────────── */
.bms-progress {
    height: 8px;
    border-radius: 100px;
    background: var(--bms-gray-200);
    overflow: hidden;
}

.bms-progress-bar {
    height: 100%;
    background: var(--bms-gradient);
    border-radius: 100px;
    transition: width 0.8s cubic-bezier(.4,0,.2,1);
}

/* ── Status Badges ──────────────────────────────────────── */
.status-pending     { background: #fef3c7; color: #92400e; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-completed   { background: #d1fae5; color: #065f46; }
.status-cancelled   { background: #fee2e2; color: #991b1b; }
.status-review      { background: #ede9fe; color: #5b21b6; }

/* ── Loader ─────────────────────────────────────────────── */
.bms-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bms-spin 0.7s linear infinite;
}

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

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .section-pad { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
}

/* ── Announcement Bar ───────────────────────────────────── */
.bms-announcement-bar {
    background: var(--bms-gradient);
    color: #fff;
    padding: 4px 0;
    text-align: center;
    font-size: 0.82rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1031;
    line-height: 1;
}

/* ── Navbar ─────────────────────────────────────────────── */
.bms-navbar {
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1030;
}

.bms-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.10);
}

/* ── Logo ───────────────────────────────────────────────── */
.bms-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--bms-dark);
    letter-spacing: -0.02em;
}

.bms-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--bms-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
}

.bms-logo .logo-text span {
    background: var(--bms-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Nav Links ──────────────────────────────────────────── */
.bms-navbar .nav-link {
    font-size: 0.93rem;
    font-weight: 500;
    color: #374151 !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.bms-navbar .nav-link:hover {
    color: var(--bms-primary) !important;
    background: rgba(37, 99, 235, 0.06);
}

.bms-navbar .nav-link.active {
    color: var(--bms-primary) !important;
    background: rgba(37, 99, 235, 0.08);
    font-weight: 700;
}

.bms-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 20px;
    height: 3px;
    background: var(--bms-gradient);
    border-radius: 2px;
}

/* ── Navbar CTA button ──────────────────────────────────── */
.btn-bms-primary {
    background: var(--bms-gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.btn-bms-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Mobile Toggle ──────────────────────────────────────── */
.navbar-toggler {
    border: none;
    outline: none !important;
    box-shadow: none !important;
    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%2837, 99, 235, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── User Avatar ────────────────────────────────────────── */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bms-primary);
}

.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bms-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid rgba(37, 99, 235, 0.3);
}

/* ── Notification Badge ─────────────────────────────────── */
.notif-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

/* ── Mobile nav ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .bms-navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 16px;
        margin-top: 10px;
        padding: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
        border: 1px solid rgba(37, 99, 235, 0.08);
    }

    .bms-navbar .nav-link.active::after {
        display: none;
    }

    .nav-cta-group {
        flex-direction: row;
        padding-top: 0.5rem;
        border-top: 1px solid #e5e7eb;
        margin-top: 0.5rem;
        gap: 8px;
    }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer-heading {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 7px; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-links a:hover { color: #60a5fa; }

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(-3px);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    direction: ltr;
    display: inline-block;
}

.footer-contact-link:hover { color: #60a5fa; }

.footer-bottom-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-bottom-link:hover { color: #94a3b8; }

.bms-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.bms-social-icon:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   BM Solutions — Creative UI Enhancements (v2)
   ============================================================ */

/* ── Animate-on-Scroll ──────────────────────────────────── */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1);
}
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }

.anim-fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1);
}
.anim-fade-right.visible { opacity: 1; transform: translateX(0); }

.anim-fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1);
}
.anim-fade-left.visible { opacity: 1; transform: translateX(0); }

.anim-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.55s cubic-bezier(.4,0,.2,1), transform 0.55s cubic-bezier(.4,0,.2,1);
}
.anim-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ── Glass Card ─────────────────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--bms-radius);
}

/* ── Gradient Section Divider ───────────────────────────── */
.wave-divider {
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg { display: block; }

/* ── Pulsing CTA ────────────────────────────────────────── */
@keyframes bms-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108,99,255,.4); }
    50%       { box-shadow: 0 0 0 14px rgba(108,99,255,0); }
}
.btn-pulse { animation: bms-pulse 2s infinite; }

/* ── Hero Section ───────────────────────────────────────── */
.bms-hero-v2 {
    min-height: 100vh;
    background: linear-gradient(140deg, #0f172a 0%, #1e1b4b 40%, #1e3a8a 75%, #0e7490 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bms-hero-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 70% 50%, rgba(99,102,241,.22) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6,182,212,.18) 0%, transparent 65%);
    pointer-events: none;
}

.hero-grid-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

/* Hero float cards (right column visual) */
.hero-visual { position: relative; height: 420px; }

.hero-float-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 16px;
    padding: 16px 20px;
    position: absolute;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.hero-central-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -52%);
    width: 200px; height: 200px;
    background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(6,182,212,.25));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,.2);
    box-shadow: 0 0 60px rgba(99,102,241,.3), inset 0 0 40px rgba(6,182,212,.1);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.fc1 { top: 30px; right: 0;   animation: floatCard 4.5s ease-in-out infinite; }
.fc2 { top: 50%; left: -10px; transform: translateY(-50%); animation: floatCard 5s ease-in-out infinite .8s; }
.fc3 { bottom: 40px; right: 20px; animation: floatCard 4s ease-in-out infinite 1.5s; }
.fc4 { top: 0; left: 50%; transform: translateX(-50%); animation: floatCard 5.5s ease-in-out infinite .4s; }

/* Typed cursor */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #fbbf24;
    margin-right: 2px;
    vertical-align: text-bottom;
    animation: blink .75s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Why Choose Us ──────────────────────────────────────── */
.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.6rem;
    border: 1px solid #e8eef8;
    text-align: center;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6C63FF08, #2563eb08);
    opacity: 0;
    transition: opacity .35s;
}

.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(37,99,235,.1); }
.why-card:hover::before { opacity: 1; }

.why-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.2rem;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    background: linear-gradient(135deg, #6C63FF20, #7c3aed20);
    color: #6C63FF;
    transition: all .35s;
}
.why-card:hover .why-icon {
    background: linear-gradient(135deg, #6C63FF, #7c3aed);
    color: #fff;
    transform: scale(1.1);
}

/* ── Process (How We Work) ──────────────────────────────── */
.process-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99,102,241,.12), transparent);
    pointer-events: none;
}

.process-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C63FF, #7c3aed);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(108,99,255,.4);
    transition: transform .3s;
}

.process-card:hover .process-number { transform: scale(1.12); }

.process-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: linear-gradient(90deg, #6C63FF55, #7c3aed55);
}

/* ── Floating WhatsApp ──────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 6px 24px rgba(37,211,102,.4);
    text-decoration: none;
    transition: all .3s;
    animation: bms-pulse-green 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 32px rgba(37,211,102,.55);
    color: #fff;
}

@keyframes bms-pulse-green {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.4); }
    50%       { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.08); }
}

/* ── Back-to-top positioning (avoid clash with WA button) ── */
#backToTop { left: auto !important; right: 100px; bottom: 28px; }

/* ── Mobile-first improvements ──────────────────────────── */
@media (max-width: 575.98px) {
    .hero-title   { font-size: 1.9rem !important; }
    .hero-subtitle { font-size: 1rem !important; }
    .stat-number  { font-size: 2.6rem !important; }
    .section-title { font-size: 1.7rem !important; }
    .why-card     { padding: 1.5rem 1.2rem; }
    .process-connector { display: none; }
    .bms-hero-v2  { min-height: auto; padding: 5rem 0 3rem; }
    .hero-float-card { font-size: .78rem; padding: 10px 14px; }
    .fc2 { display: none; }
}

@media (max-width: 767.98px) {
    .section-pad  { padding: 3.5rem 0; }
    .stats-section { padding: 50px 0; }
    .process-connector { display: none; }
}

/* ── Card number badge on service cards ─────────────────── */
.service-card .service-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(108,99,255,.1);
    color: #6C63FF;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ── Scroll progress indicator ──────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #6C63FF, #06b6d4);
    z-index: 9999;
    width: 0%;
    transition: width .1s linear;
}

/* ── Animations ─────────────────────────────────────────── */
.min-vh-hero {
    min-height: calc(100vh - var(--navbar-height));
}

/* ── Hero Section Fixes ─────────────────────────────────── */
.bms-hero-v2 {
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ── Stats Section ─────────────────────────────────────── */
.stats-section {
    padding: 70px 0;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    border-radius: var(--bms-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ── Service Cards ─────────────────────────────────────── */
.service-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.35s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(108,99,255,.12);
}

/* ── Process Section ───────────────────────────────────── */
.process-section {
    background: linear-gradient(135deg, #1a1a2e, #0f172a);
    padding: 90px 0;
    position: relative;
}

.process-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* ── Missing Utility Classes ───────────────────────────── */
.text-center { text-align: center !important; }
.text-end { text-align: end !important; }
.d-flex { display: flex !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.position-relative { position: relative !important; }
.z-index-1 { z-index: 1 !important; }
.z-index-3 { z-index: 3 !important; }

/* ── Animation Classes ─────────────────────────────────── */
.anim-fade-up, .anim-fade-right, .anim-fade-left, .anim-scale {
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
}

.anim-fade-up {
    transform: translateY(40px);
}

.anim-fade-right {
    transform: translateX(-40px);
}

.anim-fade-left {
    transform: translateX(40px);
}

.anim-scale {
    transform: scale(0.85);
}

.anim-fade-up.visible,
.anim-fade-right.visible,
.anim-fade-left.visible,
.anim-scale.visible {
    opacity: 1;
    transform: none;
}

/* ── Delays ────────────────────────────────────────────── */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ── Button Styles ─────────────────────────────────────── */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

