/* ==========================================================================
   PACSLINK - Modern UI layer
   Loaded last (after bootstrap.min.css, style.css and the header's inline
   styles) and only refines them: spacing rhythm, typography, cards, buttons,
   hero and forms for a clean B2B healthcare-IT look. Remove this one <link>
   in Layout/header.blade.php to fall back to the original template styling.
   ========================================================================== */

:root {
    --pl-primary: #0284C7;
    --pl-primary-600: #0369A1;
    --pl-accent: #06B6D4;
    --pl-ink: #0F172A;
    --pl-body: #475569;
    --pl-muted: #64748B;
    --pl-soft: #F1F7FB;
    --pl-border: #E2E8F0;
    --pl-gradient: linear-gradient(135deg, var(--pl-primary) 0%, var(--pl-accent) 100%);
    --pl-gradient-deep: linear-gradient(135deg, #075985 0%, var(--pl-primary) 55%, var(--pl-accent) 130%);
    --pl-radius-sm: 10px;
    --pl-radius: 16px;
    --pl-radius-lg: 22px;
    --pl-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
    --pl-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --pl-shadow-lg: 0 24px 48px -20px rgba(2, 132, 199, .35);
    --pl-ease: cubic-bezier(.16, 1, .3, 1);
    --pl-section-y: clamp(3.5rem, 6vw, 5.5rem);
}


/* ---------- 1. Base typography ---------- */
body {
    color: var(--pl-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--pl-ink);
    letter-spacing: -.01em;
    line-height: 1.25;
}

h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem); }
h2, .h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.25rem); }

p { color: inherit; }
a { transition: color .2s ease; }

::selection { background: rgba(2, 132, 199, .18); }

:focus-visible {
    outline: 3px solid rgba(6, 182, 212, .55);
    outline-offset: 2px;
    border-radius: 6px;
}


/* ---------- 2. Section rhythm ----------
   The template nests .container.py-5 inside .container-fluid.py-5, giving
   ~12rem between sections. One consistent, fluid spacing value instead. */
.container-fluid.py-5:not(.facts):has(> .container.py-5) {
    padding-top: var(--pl-section-y) !important;
    padding-bottom: var(--pl-section-y) !important;
}

.container-fluid.py-5:not(.facts) > .container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Stat boxes overlap the hero; the section right after them needs a little air */
.facts + .container-fluid { padding-top: calc(var(--pl-section-y) * .8) !important; }


/* ---------- 3. Section titles ---------- */
.section-title .h5 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700 !important;
    letter-spacing: .14em;
    padding: .4rem .9rem;
    margin-bottom: .9rem;
    border-radius: 999px;
    color: var(--pl-primary) !important;
    background: rgba(2, 132, 199, .08);
}

.section-title .h5::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pl-gradient);
}

.section-title h2 { margin-bottom: 0; }

/* Accent bar: short gradient pill instead of the 150px bar + running dot */
.section-title::before {
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: var(--pl-gradient);
}

.section-title.text-center::before { margin-left: -28px; }
.section-title.section-title-sm::before { width: 40px; height: 3px; }
.section-title::after { display: none; }


/* ---------- 4. Buttons ---------- */
.btn {
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: var(--pl-radius-sm);
    transition: transform .25s var(--pl-ease), box-shadow .25s var(--pl-ease),
                background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn-primary,
.btn-premium-primary {
    color: #fff !important;
    border: 0;
    background: var(--pl-gradient-deep);
    background-size: 160% 160%;
    background-position: 0% 50%;
    box-shadow: 0 8px 20px -8px rgba(2, 132, 199, .55);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-premium-primary:hover {
    color: #fff !important;
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(2, 132, 199, .6);
}

.btn-primary:active,
.btn-premium-primary:active { transform: translateY(0); }

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    color: var(--pl-ink);
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-success {
    border: 0;
    background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
    box-shadow: 0 8px 18px -8px rgba(22, 163, 74, .6);
}

.btn-success:hover {
    background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
    transform: translateY(-1px);
}


/* ---------- 5. Topbar + navbar ---------- */
/* Topbar is exactly 45px: the navbar offset below and main.js's 45px scroll
   threshold both depend on it (its content made it render ~51px before). */
.container-fluid.bg-dark.px-5 { background: #0B1324 !important; height: 45px; overflow: hidden; }
.container-fluid.bg-dark.px-5 small { font-size: .82rem; opacity: .85; }

/* main.js sets the navbar's `top` on every scroll, so don't animate it */
.navbar { transition: background-color .4s ease, box-shadow .4s ease, padding .3s ease, backdrop-filter .4s ease; }

@media (min-width: 992px) {
    /* No-JS fallback: sit below the 45px topbar; main.js refines `top` while scrolling */
    .navbar { top: 45px; }
    .navbar.sticky-top { position: fixed !important; top: 0; }

    .navbar-dark .navbar-nav .nav-link {
        position: relative;
        padding: 28px 14px;
        font-size: .95rem;
    }

    .navbar-dark .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--pl-gradient);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s var(--pl-ease);
    }

    .navbar-dark .navbar-nav .nav-link:hover::after,
    .navbar-dark .navbar-nav .nav-link.active::after { transform: scaleX(1); }

    .navbar.sticky-top .navbar-nav .nav-link { padding-top: 20px; padding-bottom: 20px; }
    .navbar.sticky-top .navbar-nav .nav-link::after { bottom: 12px; }
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: #38BDF8 !important; }

/* Pages without a dark hero (blog posts): solid bar + room for it above the content */
.has-solid-nav .navbar { background: rgba(11, 19, 36, .97) !important; }
/* The navbar's wrapper is empty in the flow (the bar is fixed), so give it the
   bar's height: it then reserves space right below the topbar. */
.has-solid-nav .container-fluid.position-relative.p-0 { height: 53px; }
@media (min-width: 992px) { .has-solid-nav .container-fluid.position-relative.p-0 { height: 85px; } }

.navbar .btn-success { border-radius: 999px; padding-left: 1.25rem !important; padding-right: 1.25rem !important; }

@media (max-width: 991.98px) {
    /* style.css flips the bar to position:relative once .sticky-top is added,
       so on phones it used to jump from fixed to scrolling away. Keep it fixed. */
    .navbar,
    .sticky-top.navbar-dark { position: fixed !important; top: 0 !important; }
    .navbar { padding-left: 1rem !important; padding-right: 1rem !important; }
    .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem 1rem 1rem;
        border-radius: var(--pl-radius);
        background: rgba(11, 19, 36, .97);
        box-shadow: var(--pl-shadow);
    }
    .navbar-collapse .btn { margin: .5rem 0 0 !important; }
    .navbar-toggler { border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--pl-radius-sm); color: #fff; }
}


/* ---------- 6. Hero carousel ---------- */
#header-carousel .carousel-item img { object-position: center; }

#header-carousel .carousel-caption {
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(6, 182, 212, .18) 0%, transparent 60%),
        linear-gradient(100deg, rgba(9, 30, 62, .94) 0%, rgba(9, 30, 62, .72) 45%, rgba(9, 30, 62, .25) 100%);
}

#header-carousel .carousel-caption .h5 {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem !important;
    letter-spacing: .16em;
    padding: .45rem 1rem;
    border-radius: 999px;
    color: #7DD3FC !important;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(125, 211, 252, .25);
}

#header-carousel .carousel-caption .h5::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22D3EE;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .2);
}

.hero-title {
    font-size: clamp(2rem, 1.25rem + 2.6vw, 3.1rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

#header-carousel .carousel-caption p { max-width: 560px; line-height: 1.7; }

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin: 0 1.25rem;
    border-radius: 50%;
    opacity: .75;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: opacity .2s ease, background-color .2s ease;
}

#header-carousel .carousel-control-prev:hover,
#header-carousel .carousel-control-next:hover { opacity: 1; background: rgba(255, 255, 255, .2); }

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }

@media (max-width: 767.98px) {
    #header-carousel .carousel-item img { min-height: 560px !important; height: 88vh !important; }
    #header-carousel .style-container { margin-left: 0 !important; padding: 0 .5rem !important; }
    #header-carousel .carousel-caption { padding: 0 1.25rem; }
    #header-carousel .carousel-caption .btn { padding: .8rem 1.35rem; font-size: .95rem; }
    #header-carousel .carousel-control-prev,
    #header-carousel .carousel-control-next { display: none; }
}


/* ---------- 7. Stat boxes (facts) ---------- */
.facts .row.gx-0 {
    border-radius: var(--pl-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(9, 30, 62, .45);
}

.facts .shadow { box-shadow: none !important; }
.facts .bg-primary { background: var(--pl-gradient-deep) !important; }
.facts .bg-light { background: #fff !important; }

.facts .bg-white.rounded,
.facts .bg-primary.rounded {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    margin-bottom: 0 !important;
}

.facts .bg-white.rounded { background: rgba(255, 255, 255, .16) !important; }
.facts .bg-white.rounded i { color: #fff !important; }
.facts .bg-primary.rounded { background: var(--pl-gradient) !important; }
.facts .h5 { font-size: .95rem; opacity: .9; }
.facts .h2 { font-size: 2.25rem; letter-spacing: -.02em; }

@media (max-width: 991.98px) {
    .facts .row.gx-0 > [class*="col-"] > div { height: 120px !important; }
}


/* ---------- 8. Cards: shared surface ---------- */
.service-item,
.blog-item,
.team-item,
.client-card,
.testimonial-carousel .testimonial-item {
    border-radius: var(--pl-radius) !important;
    border: 1px solid var(--pl-border);
    background: #fff !important;
    box-shadow: var(--pl-shadow-sm);
    transition: transform .35s var(--pl-ease), box-shadow .35s var(--pl-ease), border-color .35s ease;
}

.service-item:hover,
.blog-item:hover,
.team-item:hover,
.client-card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 132, 199, .28);
    box-shadow: var(--pl-shadow-lg);
}

/* Services */
.service-item {
    height: 100% !important;
    padding: 1.25rem 1.25rem 1.75rem !important;
    justify-content: flex-start !important;
}

.service-item .service-icon {
    height: 180px;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--pl-soft);
}

.service-item .service-icon img {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    transition: transform .6s var(--pl-ease);
}

.service-item:hover .service-icon img { transform: scale(1.05); }

.service-item h3 { font-size: 1.1rem !important; margin-bottom: 1rem !important; }

/* Always-visible enquire arrow (the hover-only version never shows on touch screens) */
.service-item a.btn {
    position: static;
    width: 44px;
    height: 44px;
    margin: auto 0 0;
    padding: 0;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-size: 1rem;
}

.service-item:hover a.btn { transform: translateX(4px); }

/* Blog cards: equal image heights regardless of source image ratio */
.blog-item { overflow: hidden; height: 100%; }
.blog-item .blog-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-item:hover .blog-img img { transform: scale(1.06); }
.blog-item .p-4 { padding: 1.5rem !important; }
.blog-item h3 { font-size: 1.15rem !important; line-height: 1.4; }
.blog-item a.text-uppercase {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--pl-primary);
    text-decoration: none;
}
.blog-item a.text-uppercase i { display: inline-block; transition: transform .25s var(--pl-ease); }
.blog-item a.text-uppercase:hover i { transform: translateX(4px); }

/* Team */
.team-item { overflow: hidden; }
.team-item .team-img img { aspect-ratio: 300 / 335; object-fit: cover; }
.team-item:hover .team-img img { transform: scale(1.06); }

/* Features ("Why choose us") */
.container-fluid .col-12.wow.zoomIn > .bg-primary.rounded {
    border-radius: 14px !important;
    background: var(--pl-gradient) !important;
    box-shadow: 0 10px 20px -10px rgba(2, 132, 199, .6);
}
.container-fluid .col-12.wow.zoomIn h3 { font-size: 1.15rem !important; margin-bottom: .5rem; }
.container-fluid .col-12.wow.zoomIn p { color: var(--pl-muted); }


/* ---------- 9. Partner logo strip ---------- */
.testimonial-carousel .testimonial-item {
    height: 120px !important;
    margin: 6px 2px !important;
    padding: 18px !important;
}

.testimonial-carousel .testimonial-item img { max-width: 100%; max-height: 72px; }

.testimonial-carousel.owl-theme .owl-nav {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    gap: .75rem;
}

/* Owl Carousel 2.2.1 renders the arrows as <div class="owl-prev|owl-next"> */
.testimonial-carousel.owl-theme .owl-nav .owl-prev,
.testimonial-carousel.owl-theme .owl-nav .owl-next {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--pl-primary);
    background: #fff;
    border: 1px solid var(--pl-border);
    box-shadow: var(--pl-shadow-sm);
    transition: all .25s var(--pl-ease);
}

.testimonial-carousel.owl-theme .owl-nav .owl-prev:hover,
.testimonial-carousel.owl-theme .owl-nav .owl-next:hover,
.testimonial-carousel.owl-theme .owl-nav .owl-prev:focus-visible,
.testimonial-carousel.owl-theme .owl-nav .owl-next:focus-visible {
    color: #fff;
    background: var(--pl-primary);
    border-color: var(--pl-primary);
}


/* ---------- 10. Forms ---------- */
.form-control,
.form-select {
    border-radius: var(--pl-radius-sm) !important;
    border: 1px solid var(--pl-border) !important;
    padding: .8rem 1rem;
    color: var(--pl-ink);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pl-primary) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, .12) !important;
}

.form-control.is-invalid { border-color: #DC2626 !important; }
.form-control::placeholder { color: #94A3B8; }

/* Homepage consultation card */
#contactForm { margin: 0; }

/* About checklist: hanging indent so wrapped lines align with the text, not the icon */
.col-sm-12 > h3.h5 { display: flex; align-items: baseline; }
.col-sm-12 > h3.h5 > .fa-check { flex-shrink: 0; }
.col-lg-5 > .bg-white.shadow-lg {
    border-radius: var(--pl-radius-lg) !important;
    box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .3) !important;
}


/* ---------- 11. Blog post page ---------- */
.col-lg-8 > .mb-5 > p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.25rem; }
.col-lg-8 > .mb-5 > img { border-radius: var(--pl-radius-lg) !important; box-shadow: var(--pl-shadow); }
.col-lg-8 > .mb-5 > h2 { margin: 2rem 0 1rem; }

.col-lg-8 > .mb-5 > blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    font-size: 1.2rem !important;
    line-height: 1.6;
    color: var(--pl-ink);
    border-radius: var(--pl-radius);
    background: var(--pl-soft);
    border-left: 4px solid var(--pl-primary);
}

.col-lg-8 > .mb-5 > .bg-light.rounded {
    border-radius: var(--pl-radius) !important;
    border: 1px solid var(--pl-border);
    background: linear-gradient(180deg, #F8FBFE 0%, #F1F7FB 100%) !important;
}

.comment-form { border-radius: var(--pl-radius-lg) !important; border: 1px solid var(--pl-border); }

.comment-avatar {
    width: 44px;
    height: 44px;
    font-weight: 700;
    background: var(--pl-gradient);
}

/* Sidebar widgets */
.link-animated a {
    border-radius: var(--pl-radius-sm) !important;
    font-size: 1rem !important;
    transition: background-color .2s ease, color .2s ease, padding-left .25s var(--pl-ease);
}
.link-animated a:hover { background: rgba(2, 132, 199, .08) !important; color: var(--pl-primary); padding-left: 1.25rem !important; }

.col-lg-4 .d-flex.rounded.overflow-hidden { border-radius: var(--pl-radius-sm) !important; border: 1px solid var(--pl-border); }
.col-lg-4 .d-flex.rounded.overflow-hidden a { font-size: .95rem !important; line-height: 1.4; background: #fff !important; }
.col-lg-4 .d-flex.flex-wrap .btn-light { border-radius: 999px; font-size: .85rem; border: 1px solid var(--pl-border); background: #fff; }


/* ---------- 12. Footer + back-to-top ---------- */
.footer-link { transition: color .2s ease, padding-left .25s var(--pl-ease); }
.footer-link:hover { padding-left: 4px; }

.back-to-top {
    border: 0;
    background: var(--pl-gradient) !important;
    box-shadow: 0 12px 24px -10px rgba(2, 132, 199, .7);
}


/* ---------- 13. Small-screen polish ---------- */
@media (max-width: 575.98px) {
    .container { padding-left: 1.1rem; padding-right: 1.1rem; }
    .section-title { margin-bottom: 2rem !important; }
    .btn-lg { padding: .7rem 1.2rem; font-size: 1rem; }
    .col-lg-5 > .bg-white.shadow-lg { padding: 1.5rem !important; }
}


/* ---------- 14. Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .wow { visibility: visible !important; }
}


/* ---------- 15. Team cards (Layout/team.blade.php) ----------
   Glass card over a soft gradient backdrop, 20px squircle avatar with a
   blue-to-navy gradient ring. The avatar is 150px so the 300px-wide source
   photos are pixel-exact on 2x screens (the chairman and PM use 500-600px
   square crops); object-fit crops any ratio without stretching. */
.team-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(40% 50% at 8% 15%, rgba(2, 132, 199, .12) 0%, transparent 70%),
        radial-gradient(35% 45% at 95% 85%, rgba(6, 182, 212, .14) 0%, transparent 70%),
        linear-gradient(180deg, #F8FAFC 0%, #EEF6FB 100%);
}

.team-card {
    --avatar: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    border-radius: var(--pl-radius-lg);
    border: 1px solid rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .62);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 30px rgba(15, 23, 42, .08);
    transform: perspective(1000px) translateZ(0);
    transition: transform .45s var(--pl-ease), box-shadow .45s var(--pl-ease), border-color .3s ease;
}

/* Gradient hairline on top of the card */
.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--pl-gradient);
    opacity: .7;
    transition: left .45s var(--pl-ease), right .45s var(--pl-ease), opacity .3s ease;
}

.team-card:hover {
    transform: perspective(1000px) translateY(-8px) rotateX(3deg) scale(1.015);
    border-color: rgba(125, 211, 252, .9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -28px rgba(2, 132, 199, .5);
}

.team-card:hover::before { left: 8%; right: 8%; opacity: 1; }

/* Squircle avatar: 3px gradient ring (transparent border over a border-box
   gradient), a white 3px gap (padding over a padding-box white fill) + glow */
.team-avatar {
    position: relative;
    width: calc(var(--avatar) + 12px);
    height: calc(var(--avatar) + 12px);
    padding: 3px;
    margin-bottom: 1.25rem;
    border: 3px solid transparent;
    border-radius: 20px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #0284C7, #0F172A) border-box;
    box-shadow: 0 14px 30px -14px rgba(2, 132, 199, .55);
    transition: transform .45s var(--pl-ease), box-shadow .45s var(--pl-ease);
}

.team-avatar-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #E0F2FE;
    isolation: isolate;          /* keeps the rounded clip during the zoom in Safari */
}

.team-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;   /* keep faces in frame when cropping portrait photos */
    transition: transform .3s ease;
}

.team-card:hover .team-avatar {
    transform: translateZ(30px);
    box-shadow: 0 20px 40px -14px rgba(2, 132, 199, .65), 0 0 0 6px rgba(2, 132, 199, .1);
}

/* subtle zoom inside the frame */
.team-card:hover .team-avatar img { transform: scale(1.04); }

/* Designation badge: same gradient ring as the avatar */
.team-role {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .85rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--pl-primary-600);
    background:
        linear-gradient(#F0F9FF, #F0F9FF) padding-box,
        linear-gradient(135deg, rgba(2, 132, 199, .7), rgba(15, 23, 42, .5)) border-box;
}

.team-role::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284C7, #0F172A);
}

.team-name {
    margin: .8rem 0 .3rem;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--pl-ink);
}

.team-focus { margin-bottom: 1.25rem; font-size: .93rem; line-height: 1.5; color: var(--pl-muted); }

/* LinkedIn / profile quick-connect, pinned to the card bottom so rows align */
.team-connect {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    padding: .5rem 1.1rem;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 999px;
    color: var(--pl-primary-600);
    background: #fff;
    border: 1px solid rgba(2, 132, 199, .25);
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s var(--pl-ease), box-shadow .25s ease;
}

.team-connect i { font-size: .95rem; }

.team-connect:hover,
.team-connect:focus-visible {
    color: #fff;
    border-color: transparent;
    background: #0A66C2;        /* LinkedIn blue */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(10, 102, 194, .7);
}

@media (max-width: 575.98px) {
    .team-card { --avatar: 130px; padding: 1.75rem 1.25rem 1.5rem; }
}

/* Touch screens have no hover: skip the tilt so a tap doesn't leave cards skewed */
@media (hover: none) {
    .team-card:hover { transform: none; }
    .team-card:hover .team-avatar { transform: none; }
}


/* ---------- 16. PACS ROI estimator ----------
   Moved into a <style> block inside Layout/roi.blade.php so the component
   always ships with its own CSS (a stale cached copy of this file on the
   server can't leave it unstyled). */


/* ---------- 17. FAQ accordion (Layout/faq.blade.php) ---------- */
.faq-cta { padding: 1.25rem 1.5rem; border-radius: var(--pl-radius); background: var(--pl-soft); border: 1px solid var(--pl-border); }

.faq-accordion .accordion-item {
    margin-bottom: .75rem;
    overflow: hidden;
    border: 1px solid var(--pl-border) !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: var(--pl-shadow-sm);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-accordion .accordion-item:hover { border-color: rgba(2, 132, 199, .3) !important; }
.faq-accordion .accordion-header { margin: 0; }

.faq-accordion .accordion-button {
    gap: .85rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--pl-ink);
    background: #fff;
}

.faq-accordion .accordion-button::after { margin-top: .15rem; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--pl-primary-600); background: var(--pl-soft); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 4px rgba(2, 132, 199, .15); }
.faq-question { flex: 1; }

.faq-topic {
    flex-shrink: 0;
    margin-top: .1rem;
    padding: .15rem .6rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    color: var(--pl-primary);
    background: rgba(2, 132, 199, .1);
}

.faq-accordion .accordion-body { padding: 0 1.25rem 1.25rem; line-height: 1.75; color: var(--pl-body); background: var(--pl-soft); }

@media (max-width: 575.98px) { .faq-topic { display: none; } }


/* ---------- 18. Sticky "Schedule Live PACS Demo" bar (Layout/footer.blade.php) ----------
   Floating pill centred on desktop (clear of back-to-top on the right),
   full-width bottom sheet on phones. Shown by Assets/js/innovations.js. */
.consult-bar {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: .75rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    padding: .55rem .55rem .55rem .65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(11, 19, 36, .92);
    border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -16px rgba(2, 6, 23, .6);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 150%);
    transition: transform .45s var(--pl-ease), opacity .3s ease, visibility 0s linear .45s;
}

.consult-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: transform .45s var(--pl-ease), opacity .3s ease, visibility 0s;
}

.consult-bar-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pl-gradient);
}

.consult-bar-text { line-height: 1.3; }
.consult-bar-text strong { display: block; font-size: .95rem; color: #fff; }
.consult-bar-text span { font-size: .8rem; color: #CBD5E1; }

.consult-bar-btn { flex-shrink: 0; padding: .55rem 1.25rem; border-radius: 999px !important; white-space: nowrap; }

.consult-bar-wa,
.consult-bar-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s var(--pl-ease);
}

.consult-bar-wa { width: 40px; height: 40px; font-size: 1.15rem; color: #fff; background: #16A34A; }
.consult-bar-wa:hover { color: #fff; background: #15803D; transform: translateY(-2px); }

.consult-bar-close { width: 32px; height: 32px; padding: 0; border: 0; font-size: 1.35rem; color: #94A3B8; background: transparent; }
.consult-bar-close:hover { color: #fff; background: rgba(255, 255, 255, .1); }

@media (max-width: 575.98px) {
    .consult-bar {
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        max-width: none;
        gap: .6rem;
        padding: .7rem .75rem calc(.7rem + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
        border-width: 1px 0 0;
        transform: translateY(110%);
    }
    .consult-bar.is-visible { transform: translateY(0); }
    .consult-bar-icon { display: none; }
    .consult-bar-text { flex: 1; min-width: 0; }
    .consult-bar-text strong { font-size: .88rem; }
    .consult-bar-btn { padding: .5rem 1rem; font-size: .88rem; }

    /* keep the footer and back-to-top reachable above the sheet */
    body.consult-bar-open { padding-bottom: 72px; }
    body.consult-bar-open .back-to-top { bottom: 88px; }
}


/* ---------- 19. Uptime / compliance trust badge (Layout/uptime-badge.blade.php) ---------- */
.uptime-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .85rem;
    padding: .5rem 1rem;
    font-size: .85rem;
    line-height: 1.3;
    border-radius: 999px;
    color: #E2E8F0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-decoration: none;
}

a.uptime-badge:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.uptime-badge strong { color: #fff; font-weight: 700; }
.uptime-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.uptime-item i { color: #38BDF8; }
.uptime-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }

.uptime-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.uptime-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #22C55E;
    animation: pl-pulse 2s ease-out infinite;
}

@keyframes pl-pulse {
    from { transform: scale(1); opacity: .6; }
    to   { transform: scale(2.8); opacity: 0; }
}


/* ---------- 20. Anchor targets clear the fixed navbar ---------- */
#contactForm,
#demo-form,
#roi-calculator,
#faq { scroll-margin-top: 100px; }
