/* =====================================================
   BLOOMSERVE HERO (PERFECT CENTER & BALANCED MICA UI)
===================================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 55px !important;
    background: #f1f6fe;
    z-index: 1;
    text-align: center;
}

/* 1. Subtle Fluent Tech Grid */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 134, 213, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 85%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 85%);
    pointer-events: none;
    z-index: -2;
}

/* 2. Windows 11 Radiant Aurora Mesh Backdrop */
.hero::after {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    height: 700px;
    background: 
        radial-gradient(circle at 18% 30%, rgba(99, 102, 241, 0.20) 0%, transparent 50%),
        radial-gradient(circle at 82% 25%, rgba(56, 189, 248, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(154, 192, 60, 0.16) 0%, transparent 55%),
        linear-gradient(180deg, #f8faff 0%, #edf4fe 100%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* =====================================
   HERO CENTER CONTENT
===================================== */
.hero-center {
    text-align: center !important;
    max-width: 880px;
    margin: 0 auto 32px;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    text-align: center !important;
}

.hero h1 .highlight,
.highlight {
    color: #0b86d5;
    background: linear-gradient(135deg, #0b86d5 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 auto 26px;
    max-width: 680px;
    text-align: center !important;
}

.hero-actions {
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    width: 100%;
}

.hero-actions .btn {
    min-width: 220px;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 16px;
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(99, 102, 241, 0.48);
}

/* =====================================
   HERO TRUST CHIPS (FLUENT PILLS)
===================================== */
.hero-trust-chips {
    display: flex;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 28px;
    width: 100%;
}

.hero-trust-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
}

.hero-trust-chips span i {
    color: #16a34a;
    font-size: 12px;
    background: rgba(34, 197, 94, 0.12);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =====================================
   HERO 5 SERVICE TILES (DESKTOP)
===================================== */
.hero-five-services,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 25px;
}

.hero-five-services .trust-item {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 24px 16px 22px;
    min-height: 138px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.hero-five-services .trust-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    border-radius: 20px 20px 0 0;
}

.hero-five-services .trust-item:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 20px 42px rgba(99, 102, 241, 0.14);
}

.hero-five-services .trust-item h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.hero-five-services .trust-item small {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    font-weight: 500;
    display: block;
    margin: 0;
}

/* =====================================
   HERO FLOATING ICONS
===================================== */
.hero-floating-icons {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    opacity: 0.85;
}

.icon-users { width: 48px; height: 48px; left: 5%; top: 24%; border: 1px solid rgba(99, 102, 241, 0.2); color: #4f46e5; font-size: 18px; }
.icon-doc { width: 44px; height: 44px; left: 6%; bottom: 26%; border: 1px solid rgba(34, 197, 94, 0.2); color: #16a34a; font-size: 16px; }
.icon-chart { width: 48px; height: 48px; right: 5%; top: 24%; border: 1px solid rgba(11, 134, 213, 0.2); color: #0b86d5; font-size: 18px; }
.icon-shield { width: 44px; height: 44px; right: 6%; bottom: 22%; border: 1px solid rgba(99, 102, 241, 0.2); color: #4f46e5; font-size: 16px; }

@media (max-width: 991px) {
    .hero-floating-icons {
        display: none !important;
    }
}

/* =====================================
   CLEAN MOBILE OVERRIDES (<= 768px)
===================================== */
@media (max-width: 768px) {
    .hero {
        padding: 30px 16px 25px !important;
        text-align: center !important;
    }

    .hero-center {
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .hero h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .hero-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }

    .hero-actions {
        justify-content: center !important;
        margin-bottom: 16px !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: 270px;
        min-width: auto;
        padding: 13px 20px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
    }

    .hero-trust-chips {
        gap: 8px 10px !important;
        margin-bottom: 18px !important;
        justify-content: center !important;
    }

    .hero-trust-chips span {
        font-size: 11.5px !important;
        padding: 5px 10px !important;
        border-radius: 8px !important;
    }

    .hero-five-services,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .hero-five-services .trust-item {
        padding: 14px 10px !important;
        min-height: auto !important;
        border-radius: 14px !important;
    }

    .hero-five-services .trust-item h3 {
        font-size: 13.5px !important;
        margin-bottom: 4px !important;
    }

    .hero-five-services .trust-item small {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .hero-five-services .trust-item:last-child {
        grid-column: span 2 !important;
    }
}