/* ============================================================
   CALRAX HEALTHCARE — Master Stylesheet
   Theme: Modern healthcare / pharma
   Stack: Bootstrap 5.3 + custom design system
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
    /* Brand palette — healthcare blue + medical teal */
    --c-primary:        #2a3e94;   /* trust blue           */
    --c-primary-dark:   #1a2a6b;   /* deep navy blue       */
    --c-primary-light:  #eaeefb;   /* soft blue tint       */
    --c-secondary:      #ea4d0a;   /* medical teal         */
    --c-secondary-dark: #c53e05;
    --c-accent:         #f9a825;   /* wellness green       */

    /* Neutrals */
    --c-dark:           #10243a;
    --c-body:           #51606f;
    --c-muted:          #7d8a97;
    --c-border:         #e4ecf3;
    --c-light:          #f5f9fc;
    --c-white:          #ffffff;

    /* Gradients */
    --grad-brand:  linear-gradient(135deg, #2a3e94 0%, #ea4d0a 100%);
    --grad-hero:   linear-gradient(135deg, #1a2a6b 0%, #2a3e94 55%, #ea4d0a 100%);
    --grad-soft:   linear-gradient(180deg, #ffffff 0%, #f0f7fc 100%);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Layout */
    --radius-sm:  .5rem;
    --radius-md:  1rem;
    --radius-lg:  1.5rem;
    --shadow-sm:  0 2px 10px rgba(16, 36, 58, .06);
    --shadow-md:  0 10px 30px rgba(16, 36, 58, .10);
    --shadow-lg:  0 24px 60px rgba(16, 36, 58, .14);
    --section-py: 5.5rem;
    --header-h:   76px;
}

/* ------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------ */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--c-body);
    font-size: 1rem;
    line-height: 1.7;
    background: var(--c-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--c-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--c-primary);
    text-decoration: none;
    transition: color .25s ease;
}
a:hover { color: var(--c-secondary); }

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

::selection { background: var(--c-primary); color: #fff; }

/*about director msg*/

 .dir-section {
    padding: var(--section-py) 1.5rem;
}

.dir-wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.dir-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4.5rem;
    align-items: center;
}

/* ---- Photo side: offset panel + seal badge ---- */
.dir-photo-col {
    position: relative;
}

.dir-photo-panel {
    position: relative;
    width: 100%;
}

.dir-photo-panel::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    width: 100%;
    height: 100%;
    background: var(--c-primary);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.dir-photo-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    background: var(--c-border);
}

.dir-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dir-seal {
    position: absolute;
    z-index: 2;
    bottom: -22px;
    right: -22px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--c-white);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    border: 2px dashed var(--c-secondary);
}

.dir-seal-inner {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--grad-brand);
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .04em;
    color: var(--c-white);
    text-align: center;
    line-height: 1.15;
}

/* ---- Message side ---- */
.dir-content {
    position: relative;
}

.dir-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: 1.1rem;
}

.dir-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--c-secondary);
    display: inline-block;
}

.dir-quote-mark {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: .6;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: .5rem;
}

.dir-msg {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--c-dark);
    letter-spacing: -.01em;
    margin: 0 0 2rem;
}

.dir-sign-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.dir-signature {
    font-family: var(--font-sign);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--c-primary);
    line-height: 1;
}

.dir-sign-divider {
    width: 1px;
    height: 42px;
    background: var(--c-border);
}

.dir-sign-meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.dir-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-dark);
}

.dir-title {
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

@media (max-width: 860px) {
    .dir-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .dir-photo-col {
        max-width: 280px;
        margin: 0 auto;
    }
    .dir-quote-mark { font-size: 3.5rem; }
    .dir-msg { font-size: 1.25rem; }
}


/* ------------------------------------------------------------
   3. UTILITIES
   ------------------------------------------------------------ */
.section          { padding-block: var(--section-py); }
.section-light    { background: var(--c-light); }
.section-gradient { background: var(--grad-soft); }

.section-head { max-width: 640px; margin-inline: auto; margin-bottom: 3rem; text-align: center; }
.section-tag {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--c-primary-light); color: var(--c-primary);
    font-weight: 600; font-size: .8125rem; letter-spacing: .06em;
    text-transform: uppercase; padding: .35rem 1rem; border-radius: 50rem;
    margin-bottom: 1rem;
}
.section-title    { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.section-subtitle { color: var(--c-muted); margin-bottom: 0; }

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

/* Glassmorphism helper */
.glass {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .5);
}

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn { font-family: var(--font-heading); font-weight: 600; border-radius: 50rem; padding: .65rem 1.6rem; transition: all .3s ease; }

.btn-cta {
    background: var(--grad-brand);
    color: #fff; border: 0;
    box-shadow: 0 8px 20px rgba(42, 62, 148, .28);
}
.btn-cta:hover, .btn-cta:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(234, 77, 10, .38);
}
.btn-cta i { margin-right: .35rem; }

.btn-outline-light-brand {
    border: 2px solid rgba(255,255,255,.7); color: #fff; background: transparent;
}
.btn-outline-light-brand:hover { background: #fff; color: var(--c-primary); }

.btn-outline-brand { border: 2px solid var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline-brand:hover { background: var(--c-primary); color: #fff; }

/* ------------------------------------------------------------
   5. TOP BAR
   ------------------------------------------------------------ */
.topbar {
    background: var(--c-primary-dark);
    color: #d7ddf3;
    font-size: .8125rem;
    padding-block: .45rem;
}
.topbar a, .topbar span { color: #d7ddf3; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar-list li + li { margin-left: 1.5rem; }
.topbar-social li + li { margin-left: .9rem; }
.topbar-social a { font-size: .9rem; }

/* ------------------------------------------------------------
   6. HEADER / NAVBAR
   ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-sticky { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, .97); }

.site-header .navbar { min-height: var(--header-h); padding-block: .5rem; }

.brand-logo { height: 48px; width: auto; }

.main-menu .nav-link {
    font-family: var(--font-heading);
    font-weight: 600; font-size: .95rem;
    color: var(--c-dark);
    padding: .6rem 1rem !important;
    position: relative;
}
.main-menu .nav-link::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .25rem;
    height: 2px; border-radius: 2px;
    background: var(--grad-brand);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.main-menu .nav-link:hover, .main-menu .nav-link.active { color: var(--c-primary); }
.main-menu .nav-link:hover::after, .main-menu .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.main-menu .dropdown-menu {
    border: 0; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .6rem; margin-top: .75rem; min-width: 230px;
}
.main-menu .dropdown-item {
    border-radius: var(--radius-sm);
    font-weight: 500; padding: .55rem .9rem;
    display: flex; align-items: center; gap: .55rem;
    color: var(--c-body);
}
.main-menu .dropdown-item i { color: var(--c-secondary); }
.main-menu .dropdown-item:hover, .main-menu .dropdown-item.active {
    background: var(--c-primary-light); color: var(--c-primary);
}

/* Toggler */
.navbar-toggler { border: 0; padding: .25rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
    display: block; width: 26px; height: 3px; border-radius: 3px;
    background: var(--c-primary); margin-block: 5px;
    transition: all .3s ease;
}

/* ------------------------------------------------------------
   7. MOBILE OFFCANVAS MENU
   ------------------------------------------------------------ */
.mobile-menu { width: 320px; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--c-border); }
.mobile-nav li + li { border-top: 1px solid var(--c-border); }
.mobile-nav a {
    display: block; padding: .8rem .25rem;
    font-family: var(--font-heading); font-weight: 600;
    color: var(--c-dark);
}
.mobile-nav a.active, .mobile-nav a:hover { color: var(--c-primary); padding-left: .6rem; }
.mobile-contact p { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .9rem; }
.mobile-contact i { color: var(--c-secondary); }

/* ------------------------------------------------------------
   8. PAGE TITLE / BREADCRUMB BANNER (inner pages)
   ------------------------------------------------------------ */
.page-banner {
    background: var(--grad-hero);
    color: #fff;
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-banner::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%3Cpath d='M28 26h4v-8h8v-4h-8v-8h-4v8h-8v4h8z' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E");
}
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.page-banner .breadcrumb { margin: .5rem 0 0; justify-content: center; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,.85); }
.page-banner .breadcrumb-item.active { color: #fff; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }

/* ------------------------------------------------------------
   9. CARDS (shared card system)
   ------------------------------------------------------------ */
.card-modern {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
}
.card-modern:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-badge {
    width: 62px; height: 62px; border-radius: var(--radius-md);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--c-primary-light); color: var(--c-primary);
    font-size: 1.65rem;
    transition: all .35s ease;
}
.card-modern:hover .icon-badge { background: var(--grad-brand); color: #fff; }

/* ------------------------------------------------------------
   10. FORMS
   ------------------------------------------------------------ */
.form-control, .form-select {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: .7rem 1rem;
    font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-secondary);
    box-shadow: 0 0 0 .2rem rgba(234, 77, 10, .15);
}
label.form-label { font-weight: 600; color: var(--c-dark); font-size: .9rem; }

/* ------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------ */
.site-footer { background: var(--c-primary-dark); color: #b7c0e4; }

/* Newsletter strip overlapping the footer */
.footer-newsletter { background: transparent; transform: translateY(2.75rem); margin-top: -2.75rem; position: relative; z-index: 2; }
.newsletter-card {
    background: var(--grad-brand);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-lg);
    color: #fff;
}
.newsletter-title { color: #fff; font-weight: 800; font-size: 1.35rem; }
.newsletter-text { color: rgba(255,255,255,.85); font-size: .95rem; }
.newsletter-form .form-control {
    border: 0; border-radius: 50rem 0 0 50rem; padding-left: 1.25rem;
}
.newsletter-form .btn { border-radius: 0 50rem 50rem 0; box-shadow: none; background: var(--c-primary-dark); }
.newsletter-form .btn:hover { transform: none; background: #131f52; }

.footer-main { padding: 6.5rem 0 2.5rem; }

.footer-about { font-size: .925rem; color: #b7c0e4; }

.footer-heading {
    color: #fff; font-size: 1.05rem; font-weight: 700;
    margin-bottom: 1.25rem; position: relative; padding-bottom: .6rem;
}
.footer-heading::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 38px; height: 3px; border-radius: 3px; background: var(--c-secondary);
}

.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #b7c0e4; font-size: .925rem; display: inline-flex; align-items: center; }
.footer-links a::before {
    content: "\F285"; /* bi-chevron-right */
    font-family: "bootstrap-icons";
    font-size: .7rem; margin-right: .45rem; color: var(--c-secondary);
    transition: margin .25s ease;
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { margin-right: .7rem; }

.footer-contact li { display: flex; gap: .75rem; margin-bottom: .9rem; font-size: .925rem; }
.footer-contact i { color: var(--c-secondary); font-size: 1.05rem; flex-shrink: 0; margin-top: .15rem; }
.footer-contact a { color: #b7c0e4; }
.footer-contact a:hover { color: #fff; }

.footer-social { gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); color: #d7ddf3;
    transition: all .3s ease;
}
.footer-social a:hover { background: var(--c-secondary); color: #fff; transform: translateY(-3px); }

.footer-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.footer-map iframe { display: block; filter: grayscale(25%); }

.footer-bottom {
    background: #131f52;
    padding-block: 1rem;
    font-size: .875rem;
}
.footer-bottom a { color: #b7c0e4; }
.footer-bottom a:hover { color: #fff; }
.footer-sep { margin-inline: .6rem; color: #6a77b3; }

/* ------------------------------------------------------------
   12. BACK TO TOP
   ------------------------------------------------------------ */
.back-to-top {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--grad-brand); color: #fff; font-size: 1.15rem;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .35s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------
   13. MISC
   ------------------------------------------------------------ */
.swiper-pagination-bullet-active { background: var(--c-primary); }

.alert-success { border-radius: var(--radius-sm); }

/* Accessible skip target */
#main-content { outline: none; }

/* ============================================================
   14. HOME — HERO
   ============================================================ */
.hero {
    background: var(--grad-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5.5rem;
}
.hero::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%3Cpath d='M28 26h4v-8h8v-4h-8v-8h-4v8h-8v4h8z' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E");
}
.hero-blob {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none;
}
.hero-blob-1 { width: 420px; height: 420px; background: #ea4d0a; top: -120px; right: -80px; }
.hero-blob-2 { width: 340px; height: 340px; background: #4a5fd0; bottom: -140px; left: -100px; }

.hero-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
    color: #fff; font-weight: 600; font-size: .8125rem; letter-spacing: .05em;
    padding: .4rem 1.1rem; border-radius: 50rem; backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.05rem; }

.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.92); font-size: .925rem; font-weight: 500; }
.hero-points i { color: #fdb515; }

.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-float-card {
    position: absolute; display: flex; align-items: center; gap: .7rem;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: .8rem 1.1rem; color: var(--c-dark); font-weight: 700; font-size: .9rem;
}
.hero-float-card small { display: block; font-weight: 500; color: var(--c-muted); font-size: .75rem; }
.hero-float-card i { font-size: 1.5rem; color: var(--c-secondary); }
.hf-1 { top: 8%; left: -1.5rem; }
.hf-2 { bottom: 10%; right: -1rem; }

/* ============================================================
   15. STATS / ACHIEVEMENTS
   ============================================================ */
.stat-box {
    text-align: center; padding: 2rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    height: 100%;
}
.stat-box .counter { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: #fff; }
.stat-box p { color: rgba(255,255,255,.8); margin: 0; font-size: .925rem; }
.section-dark { background: var(--grad-hero); }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.75); }
.section-dark .section-tag { background: rgba(255,255,255,.14); color: #fff; }

/* ============================================================
   16. FEATURE / WHY CHOOSE US
   ============================================================ */
.why-card { padding: 1.75rem; text-align: left; }
.why-card h4 { font-size: 1.1rem; margin: 1.1rem 0 .5rem; }
.why-card p { font-size: .925rem; margin: 0; }

.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .95rem; }
.feature-list i { color: var(--c-secondary); font-size: 1.1rem; margin-top: .1rem; }

.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-exp-badge {
    position: absolute; bottom: -1.25rem; right: 1.5rem;
    background: var(--grad-brand); color: #fff;
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 1rem 1.4rem; text-align: center;
}
.about-exp-badge strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.about-exp-badge span { font-size: .8rem; opacity: .9; }

/* ============================================================
   17. PRODUCT CARDS
   ============================================================ */
.product-card { overflow: hidden; }
.product-card .product-thumb {
    background: var(--grad-soft);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem 1.5rem; position: relative;
}
.product-card .product-thumb i { font-size: 3rem; color: var(--c-primary); transition: transform .35s ease; }
.product-card:hover .product-thumb i { transform: scale(1.15) rotate(-6deg); color: var(--c-secondary); }
.product-card .badge-cat {
    position: absolute; top: .9rem; right: .9rem;
    background: #fff; color: var(--c-primary);
    font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: 50rem; box-shadow: var(--shadow-sm);
}
.product-card .card-body { padding: 1.4rem; }
.product-card h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.product-card p { font-size: .9rem; margin-bottom: 1rem; }
.link-more { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.link-more i { transition: transform .25s ease; }
.link-more:hover i { transform: translateX(4px); }

/* ============================================================
   18. SERVICES
   ============================================================ */
.service-card { padding: 1.9rem; position: relative; overflow: hidden; }
.service-card::after {
    content: ""; position: absolute; right: -40px; bottom: -40px;
    width: 120px; height: 120px; border-radius: 50%;
    background: var(--c-primary-light); opacity: .6; transition: transform .4s ease;
}
.service-card:hover::after { transform: scale(1.5); }
.service-card > * { position: relative; z-index: 1; }
.service-card h4 { font-size: 1.12rem; margin: 1.1rem 0 .5rem; }
.service-card p { font-size: .925rem; margin-bottom: 0; }

/* Process steps */
.process-step { text-align: center; padding: 1.5rem 1rem; position: relative; }
.process-num {
    width: 56px; height: 56px; margin: 0 auto 1rem;
    border-radius: 50%; background: var(--grad-brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(42,62,148,.3);
}
.process-step h5 { font-size: 1rem; }
.process-step p { font-size: .875rem; margin: 0; }

/* ============================================================
   19. CERTIFICATES & QUALITY
   ============================================================ */
.cert-card {
    text-align: center; padding: 1.75rem 1.25rem;
}
.cert-card img { height: 84px; width: auto; margin-bottom: 1rem; }
.cert-card h5 { font-size: 1rem; margin-bottom: .25rem; }
.cert-card p { font-size: .85rem; color: var(--c-muted); margin: 0; }

.quality-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.quality-item .icon-badge { flex-shrink: 0; width: 52px; height: 52px; font-size: 1.3rem; }
.quality-item h5 { font-size: 1.02rem; margin-bottom: .25rem; }
.quality-item p { font-size: .9rem; margin: 0; }

/* ============================================================
   20. GALLERY
   ============================================================ */
.gallery-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-tile img { width: 100%; display: block; transition: transform .6s ease; }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile .tile-cap {
    position: absolute; inset-inline: 0; bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(6,61,112,.85));
    color: #fff; padding: 2.2rem 1rem .9rem; font-weight: 600; font-size: .9rem;
}
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.25rem; }
.filter-bar .btn { font-size: .85rem; padding: .45rem 1.2rem; }
.filter-bar .btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ============================================================
   21. TESTIMONIALS & CLIENTS
   ============================================================ */
.testimonial-card { padding: 1.9rem; height: auto; }
.testimonial-card .quote-icon { font-size: 2rem; color: var(--c-secondary); opacity: .5; }
.testimonial-card p.quote { font-size: .95rem; font-style: italic; color: var(--c-body); }
.testimonial-card .t-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.t-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--grad-brand); color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.t-author h6 { margin: 0; font-size: .95rem; }
.t-author small { color: var(--c-muted); }
.t-stars { color: #f5b301; font-size: .85rem; }

.client-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-chip {
    display: inline-flex; align-items: center; gap: .55rem;
    background: #fff; border: 1px solid var(--c-border);
    border-radius: 50rem; padding: .7rem 1.5rem; margin-right: 1.25rem;
    font-family: var(--font-heading); font-weight: 700; color: var(--c-dark); white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.client-chip i { color: var(--c-secondary); }

/* ============================================================
   22. BLOG CARDS
   ============================================================ */
.blog-card { overflow: hidden; }
.blog-card .blog-thumb { position: relative; }
.blog-card .blog-date {
    position: absolute; top: .9rem; left: .9rem;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
    text-align: center; padding: .4rem .7rem; line-height: 1.15;
}
.blog-card .blog-date strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--c-primary); }
.blog-card .blog-date span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.blog-card .card-body { padding: 1.4rem; }
.blog-meta { display: flex; gap: 1.1rem; font-size: .8rem; color: var(--c-muted); margin-bottom: .5rem; }
.blog-meta i { color: var(--c-secondary); margin-right: .25rem; }
.blog-card h4 { font-size: 1.05rem; line-height: 1.45; }
.blog-card h4 a { color: var(--c-dark); }
.blog-card h4 a:hover { color: var(--c-primary); }

/* ============================================================
   23. FAQ
   ============================================================ */
.faq-accordion .accordion-item {
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: .9rem; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
    font-family: var(--font-heading); font-weight: 700; font-size: .98rem;
    color: var(--c-dark); padding: 1.1rem 1.4rem; background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--c-primary); background: var(--c-primary-light); box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border: 0; }
.faq-accordion .accordion-body { font-size: .925rem; color: var(--c-body); }

/* ============================================================
   24. CTA BANNER
   ============================================================ */
.cta-banner {
    background: var(--grad-brand); border-radius: var(--radius-lg);
    padding: 3rem 2.5rem; color: #fff; position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-banner::before {
    content: ""; position: absolute; right: -60px; top: -60px;
    width: 220px; height: 220px; border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.cta-banner h3 { color: #fff; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner .btn { background: #fff; color: var(--c-primary); box-shadow: none; }
.cta-banner .btn:hover { background: var(--c-primary-dark); color: #fff; }

/* ============================================================
   25. CONTACT PAGE
   ============================================================ */
.contact-info-card { padding: 1.75rem; text-align: center; }
.contact-info-card h5 { font-size: 1.02rem; margin: 1rem 0 .35rem; }
.contact-info-card p, .contact-info-card a { font-size: .925rem; color: var(--c-body); margin: 0; word-break: break-word; }
.contact-info-card a:hover { color: var(--c-primary); }
.contact-form-wrap {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.25rem;
}
.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 420px; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============================================================
   26. CAREER
   ============================================================ */
.job-card { padding: 1.75rem; }
.job-card .job-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; }
.job-tag {
    background: var(--c-primary-light); color: var(--c-primary);
    font-size: .75rem; font-weight: 600; padding: .3rem .8rem; border-radius: 50rem;
}
.job-card h4 { font-size: 1.12rem; }
.perk-item { text-align: center; padding: 1.5rem 1rem; }
.perk-item h6 { margin-top: .9rem; font-size: .95rem; }

/* ============================================================
   27. PROSE (Privacy / Terms)
   ============================================================ */
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .96rem; color: var(--c-body); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose .updated-note {
    background: var(--c-primary-light); border-left: 4px solid var(--c-primary);
    border-radius: var(--radius-sm); padding: .9rem 1.2rem; font-size: .9rem;
}

/* ============================================================
   28. VALUES / MISSION-VISION
   ============================================================ */
.mv-card { padding: 2rem; height: 100%; }
.mv-card h4 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; }
.mv-card h4 i { color: var(--c-secondary); font-size: 1.4rem; }
.value-card { text-align: center; padding: 1.75rem 1.25rem; }
.value-card h5 { font-size: 1rem; margin-top: 1rem; }
.value-card p { font-size: .875rem; margin: 0; }

/* ------------------------------------------------------------
   29. BRAND LOGO (real PNG logo)
   ------------------------------------------------------------ */
.brand-logo { height: 54px; width: auto; }
.footer-brand img {
    background: #ffffff;
    padding: .55rem .9rem;
    border-radius: var(--radius-sm);
    height: 64px; width: auto;
    box-shadow: var(--shadow-sm);
}
.offcanvas-brand img { height: 44px; width: auto; }

/* ------------------------------------------------------------
   30. WHATSAPP FLOAT BUTTON
   ------------------------------------------------------------ */
.whatsapp-float {
    position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1040;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
    animation: pulseRing 2.4s ease-out infinite;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); }

/* ------------------------------------------------------------
   31. FIXED CTA — CALL / WHATSAPP / MESSAGE
   ------------------------------------------------------------ */
/* Desktop right-side dock */
.cta-dock {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    z-index: 1045; flex-direction: column; gap: .5rem; padding: .4rem;
}
.cta-dock-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .15rem; width: 64px; padding: .65rem .25rem;
    border: 0; border-radius: .8rem 0 0 .8rem; cursor: pointer;
    color: #fff; text-decoration: none; font-size: .68rem; font-weight: 600;
    box-shadow: 0 8px 22px rgba(16, 22, 41, .25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cta-dock-btn i { font-size: 1.25rem; }
.cta-dock-btn:hover { transform: translateX(-6px); color: #fff; }
.cta-call { background: linear-gradient(135deg, #2a3e94, #4a5fd0); }
.cta-wa   { background: linear-gradient(135deg, #1ea952, #25d366); }
.cta-msg  { background: linear-gradient(135deg, #ea4d0a, #f9a825); }

/* Mobile bottom action bar */
.cta-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 1045;
    display: flex; background: #ffffff;
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -8px 24px rgba(16, 22, 41, .12);
}
.cta-bar-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .85rem .25rem; border: 0; background: transparent;
    font-family: var(--font-heading); font-weight: 700; font-size: .85rem;
    color: var(--c-primary); text-decoration: none;
}
.cta-bar-btn + .cta-bar-btn { border-left: 1px solid var(--c-border); }
.cta-bar-btn i { font-size: 1.1rem; }
.cta-bar-wa { color: #1ea952; }
.cta-bar-btn:active { background: var(--c-primary-light); }

@media (max-width: 991.98px) {
    body { padding-bottom: 56px; }               /* keep footer clear of the CTA bar */
    .back-to-top { bottom: 4.5rem; }
    .whatsapp-float { display: none; }
}

/* Enquiry popup */
.enquiry-modal { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.enquiry-modal .modal-header {
    background: var(--grad-brand); color: #fff;
    border: 0; padding: 1.1rem 1.4rem; align-items: flex-start;
}
.enquiry-modal .modal-title { color: #fff; font-weight: 800; }
.enquiry-modal .modal-header small { color: rgba(255,255,255,.8) !important; }
.enquiry-modal .btn-close { filter: invert(1); opacity: .8; }
.enquiry-modal .modal-body { padding: 1.5rem 1.4rem; }

/* Success toast */
.cta-toast {
    position: fixed; top: 1.25rem; right: 1.25rem; z-index: 1060;
    display: flex; align-items: center; gap: .6rem;
    background: #10863f; color: #fff;
    padding: .85rem 1.1rem; border-radius: .7rem;
    box-shadow: 0 14px 34px rgba(16, 134, 63, .4);
    font-size: .9rem; max-width: 92vw;
    animation: fadeUpSoft .4s ease both;
}
.cta-toast i { font-size: 1.15rem; }
.cta-toast button {
    background: none; border: 0; color: #fff; font-size: 1.2rem;
    line-height: 1; opacity: .8; margin-left: .25rem;
}
.cta-toast.hide { opacity: 0; transition: opacity .4s ease; }

/* ------------------------------------------------------------
   32. CMS PAGE CONTENT (pages designed from admin)
   ------------------------------------------------------------ */
.cms-content { max-width: 900px; margin-inline: auto; }
.cms-content h1, .cms-content h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; }
.cms-content h3 { font-size: 1.3rem; margin: 1.6rem 0 .7rem; }
.cms-content h4 { font-size: 1.12rem; margin: 1.3rem 0 .6rem; }
.cms-content p { margin-bottom: 1rem; }
.cms-content img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); margin: 1rem 0; }
.cms-content ul, .cms-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.cms-content li { margin-bottom: .4rem; }
.cms-content blockquote {
    border-left: 4px solid var(--c-secondary);
    background: var(--c-primary-light);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem; margin: 1.25rem 0;
    font-style: italic;
}
.cms-content a { font-weight: 600; }
.cms-content .ql-align-center { text-align: center; }
.cms-content .ql-align-right { text-align: right; }
.cms-content .ql-align-justify { text-align: justify; }

/* ------------------------------------------------------------
   33. PRODUCTS MEGA-DROPDOWN (header)
   ------------------------------------------------------------ */
.mega-dropdown {
    width: 620px; max-width: 92vw;
    padding: 0 !important; overflow: hidden;
    border: 0; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.mega-col { padding: 1rem 1.1rem; }
.mega-col-divider { border-left: 1px solid var(--c-border); }
.mega-heading {
    display: flex; align-items: center; gap: .45rem;
    font-family: var(--font-heading); font-weight: 800; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--c-primary); margin-bottom: .6rem;
}
.mega-heading i { color: var(--c-secondary); }
.mega-list { max-height: 300px; overflow-y: auto; margin: 0; padding-right: .25rem; }
.mega-list li a {
    display: block; padding: .34rem .55rem; border-radius: .45rem;
    font-size: .855rem; font-weight: 500; color: var(--c-body);
}
.mega-list li a:hover, .mega-list li a.active {
    background: var(--c-primary-light); color: var(--c-primary);
    padding-left: .8rem;
}
.mega-list::-webkit-scrollbar { width: 5px; }
.mega-list::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 5px; }
.mega-footer { padding: .8rem 1.1rem; background: var(--c-light); border-top: 1px solid var(--c-border); }

/* Mobile products submenu (offcanvas) */
.mobile-sub-toggle {
    border: 1px solid var(--c-border); background: #fff; border-radius: .45rem;
    width: 34px; height: 34px; color: var(--c-primary);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .25s ease;
}
.mobile-sub-toggle:not(.collapsed) { transform: rotate(180deg); background: var(--c-primary-light); }
.mobile-submenu { padding: .35rem 0 .75rem .6rem; }
.mobile-sub-all {
    display: flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: .875rem; color: var(--c-secondary) !important;
    padding: .4rem 0 !important;
}
.mobile-sub-label {
    font-size: .7rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .08em; color: var(--c-muted); margin: .7rem 0 .2rem;
}
.mobile-submenu ul li a {
    display: block; padding: .34rem 0 !important;
    font-size: .855rem; font-weight: 500 !important; color: var(--c-body) !important;
}
.mobile-submenu ul li a:hover { color: var(--c-primary) !important; padding-left: .4rem !important; }

/* ------------------------------------------------------------
   34. PRODUCTS CATALOGUE — SIDEBAR + TABLE + LOAD MORE
   ------------------------------------------------------------ */
.catalog-sidebar {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    padding: 1rem;
}
@media (min-width: 992px) {
    .catalog-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; }
    .catalog-sidebar::-webkit-scrollbar { width: 5px; }
    .catalog-sidebar::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 5px; }
}

.side-all {
    display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
    color: var(--c-dark); padding: .6rem .75rem; border-radius: .55rem;
    border: 1px solid var(--c-border); margin-bottom: .75rem;
}
.side-all:hover { border-color: var(--c-primary); color: var(--c-primary); }
.side-all.active { background: var(--grad-brand); border-color: transparent; color: #fff; }
.side-all.active .side-count { background: rgba(255,255,255,.2); color: #fff; }

.side-group + .side-group { margin-top: 1rem; }
.side-heading {
    display: flex; align-items: center; gap: .45rem;
    font-family: var(--font-heading); font-weight: 800; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--c-primary); margin: 0 0 .4rem;
    padding-bottom: .4rem; border-bottom: 2px solid var(--c-primary-light);
}
.side-heading i { color: var(--c-secondary); }
.side-list { margin: 0; }
.side-list li a {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .42rem .6rem; border-radius: .45rem;
    font-size: .865rem; font-weight: 500; color: var(--c-body);
}
.side-list li a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.side-list li a.active {
    background: var(--c-secondary); color: #fff; font-weight: 600;
    box-shadow: 0 6px 14px rgba(234, 77, 10, .3);
}
.side-list li a.active .side-count { background: rgba(255,255,255,.25); color: #fff; }
.side-count {
    background: var(--c-light); color: var(--c-muted);
    font-size: .7rem; font-weight: 700; padding: .1rem .5rem; border-radius: 50rem;
    flex-shrink: 0;
}

/* Catalogue head */
.catalog-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-bottom: 1rem;
}
.catalog-title { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; margin: 0; }
.catalog-sub { color: var(--c-muted); font-size: .875rem; }

/* Products table */
.products-table-wrap {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.products-table thead th {
    background: var(--c-primary); color: #fff;
    font-family: var(--font-heading); font-weight: 700; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .05em;
    padding: .85rem 1rem; border: 0; white-space: nowrap;
}
.products-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.products-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.products-table tbody td { padding: .7rem 1rem; border-color: #eef2f8; font-size: .9rem; }
.products-table tbody tr:nth-child(even) { background: #f8fafd; }
.products-table tbody tr:hover { background: var(--c-primary-light); }
.pt-num { color: var(--c-muted); font-size: .8rem !important; }
.pt-name strong { color: var(--c-dark); font-weight: 600; font-size: .9rem; }
.pt-subtype {
    display: inline-block; margin-left: .45rem;
    background: #fdeadd; color: var(--c-secondary);
    font-size: .68rem; font-weight: 700; padding: .12rem .5rem; border-radius: 50rem;
    vertical-align: middle;
}
.pt-dosage, .pt-therapy { color: var(--c-body); white-space: nowrap; font-size: .85rem !important; }
.pt-action { text-align: right; }
.btn-wa-enquire {
    background: #e6f6ec; color: #128c45; border: 1px solid #bfe8cf;
    font-weight: 700; font-size: .8rem; border-radius: 50rem; padding: .35rem .8rem;
}
.btn-wa-enquire:hover { background: #25d366; border-color: #25d366; color: #fff; }

/* Mobile table adjustments */
@media (max-width: 767.98px) {
    .products-table thead th:nth-child(4),
    .products-table tbody td.pt-therapy { display: none; }
    .products-table tbody td { padding: .6rem .65rem; }
    .pt-name strong { font-size: .82rem; }
    .catalog-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ------------------------------------------------------------
   35. HOVER DROPDOWNS + CENTERED MEGA MENU (desktop)
   ------------------------------------------------------------ */
@media (min-width: 992px) {
    /* Mega parent positions against the whole navbar, so the menu can center */
    .site-header .navbar { position: relative; }
    .main-menu .nav-item.has-mega { position: static; }

    /* Dropdowns render via opacity/visibility so they can animate on hover */
    .main-menu .dropdown-menu {
        display: block;
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(12px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
        top: 100%; margin-top: 0;
    }

    /* Open on hover or keyboard focus (and keep Bootstrap click .show working) */
    .main-menu .nav-item.dropdown:hover > .dropdown-menu,
    .main-menu .nav-item.dropdown:focus-within > .dropdown-menu,
    .main-menu .dropdown-menu.show {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateY(0);
    }

    /* Centered mega menu under the navbar */
    .mega-dropdown {
        left: 50%; right: auto;
        transform: translate(-50%, 12px);
    }
    .main-menu .nav-item.has-mega:hover > .mega-dropdown,
    .main-menu .nav-item.has-mega:focus-within > .mega-dropdown,
    .mega-dropdown.show {
        transform: translate(-50%, 0);
    }

    /* Invisible bridge so the cursor can travel from link to menu */
    .main-menu .nav-item.dropdown > .dropdown-menu::before {
        content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
    }

    /* Rotate caret on hover */
    .main-menu .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after {
        transform: rotate(180deg);
    }
    .main-menu .nav-link.dropdown-toggle::after { transition: transform .25s ease; }
}

/* Product name links in catalogue table */
.pt-name a { color: inherit; }
.pt-name a:hover strong { color: var(--c-primary); }

/* ------------------------------------------------------------
   36. MEGA MENU — HOVER-INTENT FIX (menu stays open)
   ------------------------------------------------------------ */
@media (min-width: 992px) {
    /* Wider, taller invisible bridge so the cursor never leaves the hot zone */
    .main-menu .nav-item.dropdown > .dropdown-menu::before {
        content: ""; position: absolute;
        left: -20px; right: -20px; top: -22px; height: 26px;
        background: transparent;
    }

    /* Keep the trigger's own hit-area connected to the panel */
    /*.main-menu .nav-item.dropdown > .nav-link { padding-bottom: 1rem !important; }*/

    /* JS-controlled open state — survives brief cursor gaps */
    .main-menu .nav-item.dropdown.menu-open > .dropdown-menu {
        opacity: 1 !important; visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
    .main-menu .nav-item.has-mega.menu-open > .mega-dropdown {
        transform: translate(-50%, 0) !important;
    }
    .main-menu .nav-item.dropdown.menu-open > .nav-link { color: var(--c-primary); }
    .main-menu .nav-item.dropdown.menu-open > .nav-link.dropdown-toggle::after { transform: rotate(180deg); }

    /* Slightly slower fade so it feels stable, and no flicker while inside */
    .main-menu .dropdown-menu { transition: opacity .2s ease, transform .2s ease, visibility .2s; }
    .mega-dropdown { padding-top: 0 !important; }
}

/* ------------------------------------------------------------
   37. CLIENT LOGOS (home) + admin logo box
   ------------------------------------------------------------ */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.client-logo-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 110px;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem 1.1rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-secondary);
}
.client-logo-card img {
    max-height: 68px; max-width: 100%; width: auto; object-fit: contain;
     
    transition: filter .3s ease, opacity .3s ease;
}
.client-logo-card:hover img { filter: grayscale(0); opacity: 1; }
.client-logo-card a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.client-logo-text {
    font-family: var(--font-heading); font-weight: 700;
    color: var(--c-dark); font-size: .95rem; text-align: center;
}

@media (max-width: 1199.98px) { .client-logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767.98px)  { .client-logo-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
                                .client-logo-card { height: 88px; padding: .7rem; }
                                .client-logo-card img { max-height: 52px; } }
@media (max-width: 479.98px)  { .client-logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Quote-request button in the products table */
.btn-quote-enquire {
    background: var(--c-primary-light); color: var(--c-primary);
    border: 1px solid #d3dbf6; border-radius: 50rem;
    font-size: .8rem; padding: .35rem .6rem;
}
.btn-quote-enquire:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
