/* ==========================================================================
   Blueopth Health Care — public website
   ========================================================================== */

:root {
    --blue: #075985;
    --dark-blue: #03263a;
    --teal: #0f766e;
    --cyan: #14b8a6;
    --light: #f4fbfd;
    --ink: #123047;
    --muted: #5d7f96;
    --line: #e3eef5;
    --radius: 16px;
    --shadow: 0 10px 34px rgba(7, 89, 133, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.22;
    color: var(--dark-blue);
}

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

a:hover {
    color: var(--teal);
}

img {
    max-width: 100%;
}

.section {
    padding: 84px 0;
}

.section-tight {
    padding: 56px 0;
}

.bg-light-blue {
    background: var(--light);
}

.bg-deep {
    background: linear-gradient(135deg, var(--dark-blue), #06456a);
    color: #dceaf2;
}

.bg-deep h1, .bg-deep h2, .bg-deep h3 {
    color: #fff;
}

/* Section headings ---------------------------------------------------- */

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(20, 184, 166, .12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(27px, 3.4vw, 40px);
    margin: 0 0 14px;
}

.section-lead {
    color: var(--muted);
    font-size: 17px;
    max-width: 660px;
}

.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons -------------------------------------------------------------- */

.btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 11px 24px;
    font-size: 15.5px;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-brand {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    border: 0;
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(7, 89, 133, .30);
}

.btn-outline-brand {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
}

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

.btn-ghost-light {
    border: 2px solid rgba(255, 255, 255, .55);
    color: #fff;
    background: transparent;
}

.btn-ghost-light:hover {
    background: #fff;
    color: var(--dark-blue);
}

/* Topbar --------------------------------------------------------------- */

.topbar {
    background: var(--dark-blue);
    color: #b8d4e4;
    font-size: 13.5px;
    padding: 8px 0;
}

.topbar a {
    color: #b8d4e4;
}

.topbar a:hover {
    color: #fff;
}

.topbar .social a {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    margin-left: 6px;
}

.topbar .social a:hover {
    background: var(--cyan);
    color: #fff;
}

/* Navbar --------------------------------------------------------------- */

.site-header {
    background: #fff;
    box-shadow: 0 2px 18px rgba(7, 89, 133, .08);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand img {
    /* Stacked lockup (mark above wordmark) needs more height than a wide one. */
    height: 62px;
    width: auto;
}

.site-header .nav-link {
    font-weight: 600;
    color: var(--ink);
    padding: 10px 14px !important;
    font-size: 15.5px;
    position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--blue);
}

.site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--blue);
}

/* Hero ----------------------------------------------------------------- */

.hero {
    position: relative;
}

.hero .carousel-item {
    height: clamp(460px, 74vh, 660px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(3, 38, 58, .88) 12%, rgba(7, 89, 133, .55) 58%, rgba(20, 184, 166, .28) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: #fff;
    padding: 0 8px;
}

.hero-content .eyebrow {
    background: rgba(255, 255, 255, .16);
    color: #a7f3ea;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(32px, 5.2vw, 58px);
    margin-bottom: 16px;
}

.hero-content p {
    font-size: clamp(16px, 1.6vw, 19px);
    color: #d6e8f2;
    margin-bottom: 28px;
    max-width: 580px;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 56px;
    opacity: .65;
}

.hero .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    border-radius: 3px;
}

/* Quick info strip ----------------------------------------------------- */

.info-strip {
    margin-top: -46px;
    position: relative;
    z-index: 5;
}

.info-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    height: 100%;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--line);
}

.info-card .icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 21px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.info-card h6 {
    margin: 0 0 3px;
    font-size: 16px;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

/* Feature cards -------------------------------------------------------- */

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(20, 184, 166, .45);
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 25px;
    color: var(--teal);
    background: rgba(20, 184, 166, .12);
    margin-bottom: 16px;
}

.feature-card h5 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* Category cards ------------------------------------------------------- */

.category-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    height: 100%;
    text-align: center;
    transition: transform .18s, box-shadow .18s;
}

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

.category-card .icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 27px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.category-card h5 {
    font-size: 17px;
    margin-bottom: 6px;
}

.category-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* Product cards -------------------------------------------------------- */

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .18s, box-shadow .18s;
}

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

.product-card .thumb {
    position: relative;
    background: var(--light);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.product-card:hover .thumb img {
    transform: scale(1.06);
}

.product-card .badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cyan);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
}

.product-card .body {
    padding: 18px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.product-card .cat {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 6px;
}

.product-card h5 {
    font-size: 17.5px;
    margin-bottom: 6px;
}

.product-card h5 a {
    color: var(--dark-blue);
}

.product-card h5 a:hover {
    color: var(--blue);
}

.product-card .composition {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
    flex: 1 1 auto;
}

.product-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    font-size: 14px;
}

.product-card .price {
    font-weight: 800;
    color: var(--blue);
}

/* Spec table ----------------------------------------------------------- */

.spec-table th {
    width: 180px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

/* Counters ------------------------------------------------------------- */

.counter-strip {
    background: linear-gradient(135deg, var(--dark-blue), var(--blue));
    color: #fff;
    padding: 64px 0;
}

.counter-item {
    text-align: center;
}

.counter-item .num {
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.counter-item .num span {
    color: var(--cyan);
}

.counter-item .label {
    margin-top: 8px;
    font-size: 14px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #a9cde0;
    font-weight: 600;
}

/* Testimonials --------------------------------------------------------- */

.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    position: relative;
}

.testimonial-card .quote-mark {
    font-size: 56px;
    line-height: 1;
    color: rgba(20, 184, 166, .22);
    font-weight: 800;
}

.testimonial-card p {
    color: var(--ink);
    font-size: 15.5px;
    margin: 6px 0 18px;
}

.testimonial-card .who {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.testimonial-card .who img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .who strong {
    display: block;
    font-size: 15px;
}

.testimonial-card .who small {
    color: var(--muted);
}

/* Gallery -------------------------------------------------------------- */

.gallery-tile {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--light);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.gallery-tile:hover img {
    transform: scale(1.07);
}

.gallery-tile .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 38, 58, .88), rgba(3, 38, 58, 0) 62%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: #fff;
}

.gallery-tile .overlay strong {
    font-size: 17px;
}

.gallery-tile .overlay small {
    color: #b7d7e6;
}

/* Blog ----------------------------------------------------------------- */

.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .18s, box-shadow .18s;
}

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

.post-card .thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light);
}

.post-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card .body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.post-card h5 {
    font-size: 18px;
    margin: 8px 0 10px;
}

.post-card h5 a {
    color: var(--dark-blue);
}

.post-card p {
    color: var(--muted);
    font-size: 14.5px;
    flex: 1 1 auto;
}

.post-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Rich text (editor output) -------------------------------------------- */

.rich-text {
    font-size: 16.5px;
    color: #2b4a61;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    margin: 30px 0 12px;
}

.rich-text h3 {
    font-size: 23px;
}

.rich-text h4 {
    font-size: 19px;
}

.rich-text p {
    margin-bottom: 16px;
}

.rich-text ul,
.rich-text ol {
    margin-bottom: 16px;
    padding-left: 22px;
}

.rich-text li {
    margin-bottom: 8px;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0;
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.rich-text table th,
.rich-text table td {
    border: 1px solid var(--line);
    padding: 10px 12px;
}

.rich-text blockquote {
    border-left: 4px solid var(--cyan);
    padding: 6px 0 6px 18px;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 18px;
}

/* Page banner ---------------------------------------------------------- */

.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 84px 0;
    color: #fff;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(3, 38, 58, .90), rgba(7, 89, 133, .68));
}

.page-banner .inner {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 8px;
}

.page-banner p {
    color: #cfe3ef;
    margin: 0;
    max-width: 620px;
}

.breadcrumb {
    margin: 12px 0 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #a7f3ea;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #8fb6cd;
}

.breadcrumb .active {
    color: #dceaf2;
}

/* Sidebar -------------------------------------------------------------- */

.sidebar-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 24px;
}

.sidebar-box h5 {
    font-size: 17px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

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

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
}

.sidebar-list a:hover,
.sidebar-list a.active {
    background: var(--light);
    color: var(--blue);
}

.sidebar-list a.active {
    font-weight: 700;
}

/* Forms ---------------------------------------------------------------- */

.form-control,
.form-select {
    border: 1px solid #d5e5ef;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15.5px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .15);
}

.form-label {
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 6px;
}

.enquiry-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

/* Honeypot: hidden from people, visible to naive bots. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    height: 0;
    width: 0;
}

/* CTA ------------------------------------------------------------------ */

.cta-band {
    background: linear-gradient(120deg, var(--dark-blue), var(--teal));
    color: #fff;
    border-radius: 22px;
    padding: 46px;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.cta-band h2 {
    color: #fff;
}

.cta-band p {
    color: #cdeae5;
    margin-bottom: 0;
}

/* Footer --------------------------------------------------------------- */

.site-footer {
    background: var(--dark-blue);
    color: #a9c9da;
    padding-top: 66px;
    font-size: 15px;
}

.site-footer h5 {
    color: #fff;
    font-size: 16.5px;
    margin-bottom: 18px;
}

.site-footer a {
    color: #a9c9da;
}

.site-footer a:hover {
    color: var(--cyan);
}

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

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

.footer-links i {
    font-size: 11px;
    color: var(--cyan);
    margin-right: 7px;
}

.footer-logo {
    height: 78px;
    width: auto;
    margin-bottom: 16px;
}

.footer-contact li {
    display: flex;
    gap: 11px;
    margin-bottom: 13px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--cyan);
    font-size: 16px;
    margin-top: 3px;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    margin-right: 8px;
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--cyan);
    color: #fff;
}

.newsletter-form .form-control {
    border: 0;
    border-radius: 10px 0 0 10px;
}

.newsletter-form .btn {
    border-radius: 0 10px 10px 0;
    padding-left: 18px;
    padding-right: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    margin-top: 52px;
    padding: 20px 0;
    font-size: 14px;
    color: #89aec4;
}

/* Floating actions ------------------------------------------------------ */

.float-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-actions a,
.float-actions button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 8px 20px rgba(3, 38, 58, .28);
    border: 0;
}

.float-wa {
    background: #25d366;
}

.float-call {
    background: var(--blue);
}

.float-top {
    background: var(--dark-blue);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s;
}

.float-top.show {
    opacity: 1;
    visibility: visible;
}

/* Misc ------------------------------------------------------------------ */

.accordion-button {
    font-weight: 700;
    color: var(--dark-blue);
}

.accordion-button:not(.collapsed) {
    background: var(--light);
    color: var(--blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .15);
}

.accordion-item {
    border: 1px solid var(--line);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.page-link {
    color: var(--blue);
    border-color: var(--line);
    border-radius: 9px !important;
    margin: 0 3px;
    font-weight: 600;
}

.page-item.active .page-link {
    background: var(--blue);
    border-color: var(--blue);
}

.cert-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    height: 100%;
}

.cert-card img {
    height: 210px;
    object-fit: contain;
    margin-bottom: 12px;
}

.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--light);
}

.team-card .body {
    padding: 18px;
}

.team-card h5 {
    font-size: 17px;
    margin-bottom: 3px;
}

.team-card .role {
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .section {
        padding: 58px 0;
    }

    .info-strip {
        margin-top: 28px;
    }

    .cta-band {
        padding: 30px;
    }

    .navbar-collapse {
        padding: 12px 0;
    }
}

/* Lightbox -------------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(3, 38, 58, .93);
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 28px;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 82vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-caption {
    color: #cfe3ef;
    margin-top: 14px;
    font-size: 15px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    background: none;
    border: 0;
}

/* Reveal on scroll ------------------------------------------------------ */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Footer regulatory disclaimer ------------------------------------------ */

.footer-disclaimer {
    margin-top: 46px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: 12.8px;
    line-height: 1.6;
    color: #93b4cb;
}

.footer-disclaimer i {
    color: var(--cyan);
    margin-right: 5px;
}

.footer-disclaimer + .footer-bottom {
    margin-top: 22px;
}

/* Product flag badges rendered inside editor content -------------------- */

.rich-text .badge {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 6px 11px;
    border-radius: 999px;
}
