:root {
    --brand: #1a4fa0;
    --brand-dark: #0d2f6e;
    --brand-light: #e9eff9;
    --accent: #4aa8e0;
    --ink: #16223f;
    --muted: #5b6675;
    --bg-soft: #f5f8f7;
}

* { scroll-behavior: smooth; }

/* Accessibility: skip link */
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--brand-dark); color: #fff; padding: .6rem 1rem; border-radius: 0 0 .5rem 0;
}
.skip-link:focus { left: 0; }

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.01em; }
a { text-decoration: none; }
main { min-height: 50vh; }

/* Buttons */
.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand {
    border: 2px solid var(--brand); color: var(--brand); font-weight: 600; background: transparent;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* Header / nav */
.site-header .navbar { position: sticky; top: 0; z-index: 1030; }
.navbar-brand { padding-top: 0; padding-bottom: 0; }
.site-logo { height: 62px; width: auto; }
@media (max-width: 575.98px) { .site-logo { height: 48px; } }
.navbar .nav-link { color: var(--ink); font-weight: 600; padding-inline: .9rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand); }
.dropdown-menu { border: 0; box-shadow: 0 12px 40px rgba(0,0,0,.12); border-radius: .6rem; padding: .4rem; }
.dropdown-item { border-radius: .4rem; font-weight: 500; padding: .5rem .8rem; }
.dropdown-item:hover { background: var(--brand-light); color: var(--brand-dark); }

/* Mega menu */
.navbar .position-static { position: static; }
.mega-menu {
    width: 100%; border: 0; border-radius: 0 0 1rem 1rem;
    box-shadow: 0 24px 60px rgba(0,0,0,.14); margin-top: 0;
    max-height: 80vh; overflow-y: auto;
}
.mega-col-title {
    display: block; font-weight: 700; color: var(--brand-dark);
    padding-bottom: .4rem; margin-bottom: .5rem; border-bottom: 2px solid var(--brand-light);
}
.mega-col-title:hover { color: var(--brand); }
.mega-list { list-style: none; padding: 0; margin: 0; }
.mega-list li a {
    display: block; padding: .3rem 0; color: var(--muted); font-size: .92rem; font-weight: 500;
}
.mega-list li a:hover { color: var(--brand); padding-left: .3rem; transition: .15s; }
@media (max-width: 991.98px) {
    .mega-menu { max-height: 60vh; box-shadow: none; }
    .mega-menu .container { padding-left: .5rem; padding-right: .5rem; }
}

/* Product tile (in-page, on solution pages) */
.product-tile {
    display: flex; gap: .9rem; align-items: center; height: 100%;
    background: #fff; border: 1px solid #eef2f1; border-radius: .8rem; padding: .7rem;
    transition: box-shadow .2s, transform .2s;
}
.product-tile:hover { box-shadow: 0 12px 30px rgba(13,47,110,.12); transform: translateY(-3px); }
.product-tile-img { flex: 0 0 84px; width: 84px; height: 84px; border-radius: .6rem; background-size: cover; background-position: center; }
.product-tile-body { display: flex; flex-direction: column; }
.product-tile-body strong { color: var(--ink); line-height: 1.2; }
.product-tile-body small { color: var(--muted); font-size: .82rem; margin: .2rem 0 .3rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-tile-body .arrow-link { font-size: .85rem; }

/* Hero */
.hero {
    position: relative;
    color: #fff;
    background: linear-gradient(120deg, rgba(13,47,110,.92), rgba(26,79,160,.78)),
                url('/assets/img/hero.jpg') center/cover no-repeat;
    padding: 6rem 0 6.5rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; }
.hero .lead { font-size: 1.15rem; max-width: 640px; opacity: .95; }
.hero .eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: .18em;
    font-size: .78rem; font-weight: 700; color: #cdddf5; margin-bottom: 1rem;
}

/* Section helpers */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-title { margin-bottom: 2.75rem; }
.section-title .eyebrow {
    color: var(--brand); text-transform: uppercase; letter-spacing: .16em;
    font-weight: 700; font-size: .8rem;
}
.section-title h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.text-muted-2 { color: var(--muted); }

/* Service cards */
.service-card {
    background: #fff; border: 1px solid #eef2f1; border-radius: 1rem;
    overflow: hidden; height: 100%; transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(13,47,110,.14); }
.service-card .card-img { height: 190px; background-size: cover; background-position: center; }
.service-card .card-body { padding: 1.5rem; }
.service-card .icon-badge {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: var(--brand-light); color: var(--brand); font-size: 1.5rem;
    margin-top: -3.4rem; position: relative; border: 4px solid #fff; margin-bottom: .9rem;
}
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: .96rem; }
.arrow-link { color: var(--brand); font-weight: 600; }
.arrow-link i { transition: transform .2s; }
.arrow-link:hover i { transform: translateX(4px); }

/* Why choose us */
.why-card { text-align: center; padding: 1.5rem 1rem; height: 100%; }
.why-icon {
    width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
    margin: 0 auto 1.1rem; background: var(--brand-light); color: var(--brand); font-size: 1.9rem;
    transition: transform .2s, background .2s, color .2s;
}
.why-card:hover .why-icon { transform: translateY(-4px); background: var(--brand); color: #fff; }
.why-card h3 { font-size: 1.12rem; }
.why-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* Stats band */
.stats-band { background: var(--brand-dark); color: #fff; padding: 3rem 0; }
.stats-band .stat-value { font-size: 2.4rem; font-weight: 800; color: #fff; }
.stats-band .stat-label { opacity: .85; font-size: .95rem; }

/* Feature / about */
.feature-list li { margin-bottom: .6rem; color: var(--muted); }
.feature-list i { color: var(--accent); margin-right: .5rem; }
.rounded-img { border-radius: 1rem; box-shadow: 0 20px 50px rgba(0,0,0,.12); }

/* Page hero (inner) */
.page-hero {
    background: linear-gradient(120deg, rgba(13,47,110,.94), rgba(26,79,160,.86)),
                url('/assets/img/hero.jpg') center/cover no-repeat;
    color: #fff; padding: 3.5rem 0;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.breadcrumb-eco { --bs-breadcrumb-divider-color: #b9cdf0; }
.breadcrumb-eco a { color: #cdddf5; }
.breadcrumb-eco .active { color: #fff; }

/* Article body */
.article-body p { color: var(--muted); }
.article-body ul { color: var(--muted); padding-left: 1.1rem; }
.article-body li { margin-bottom: .4rem; }

/* CTA */
.cta {
    background: linear-gradient(120deg, var(--brand), var(--accent));
    color: #fff; border-radius: 1.25rem; padding: 3rem;
}

/* Contact */
.contact-card { background:#fff; border:1px solid #eef2f1; border-radius:1rem; padding:1.5rem; }
.contact-card .icon { color: var(--brand); font-size: 1.4rem; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(26,79,160,.15); }
.alert-success { background: var(--brand-light); border-color: var(--brand); color: var(--brand-dark); }

/* Footer */
.site-footer { background: #0e1a33; color: #c2ccdd; padding-top: 3.5rem; }
.footer-logo { filter: brightness(0) invert(1); opacity: .95; }
.text-muted-light { color: #9aa7bd; }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #c2ccdd; display: block; padding: .25rem 0; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; color: #c2ccdd; }
.footer-contact a { color: #c2ccdd; }
.footer-contact i { color: var(--accent); margin-top: .2rem; }
.social a { color: #c2ccdd; font-size: 1.25rem; margin-right: .9rem; }
.social a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.2rem 0; font-size: .9rem; color: #9aa7bd; }

/* ============================================================
   Conversion layer: topbar, WhatsApp, expert band, newsletter
   ============================================================ */

/* Top utility / CTA bar */
.topbar {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand));
    color: #fff; font-size: .86rem;
}
.topbar .container { min-height: 42px; padding-top: .3rem; padding-bottom: .3rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-left a:hover { color: #cdddf5; }
.topbar-left i { color: #bcd3f5; margin-right: .25rem; }
.topbar-sep { opacity: .4; }
.btn-topbar {
    color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 2rem;
    padding: .28rem .8rem; font-size: .82rem; font-weight: 600; line-height: 1.2;
    display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
}
.btn-topbar:hover { background: rgba(255,255,255,.15); color: #fff; }
.topbar .btn-topbar-solid { background: #fff; color: var(--brand-dark); border-color: #fff; }
.topbar .btn-topbar-solid:hover { background: #eef3fb; color: var(--brand-dark); }
.btn-topbar-wa { background: #25d366; border-color: #25d366; }
.btn-topbar-wa:hover { background: #1eb356; }
/* Sticky navbar keeps working; hide topbar on deep scroll to save space */
.site-header.scrolled .topbar { display: none; }
@media (max-width: 575.98px) {
    .topbar { font-size: .78rem; }
    .btn-topbar { padding: .25rem .6rem; font-size: .76rem; }
}

/* Expert-advice band */
.expert-band {
    background: linear-gradient(120deg, var(--brand-dark), var(--brand));
    color: #fff; padding: 3rem 0;
}
.expert-band h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.expert-band .eyebrow { letter-spacing: .16em; text-transform: uppercase; font-weight: 700; font-size: .78rem; display:block; margin-bottom:.4rem; }

/* Newsletter strip */
.newsletter-strip { background: #0e1a33; color: #fff; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.newsletter-strip .form-control { border: 0; }

/* Floating WhatsApp widget */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 1080; }
.wa-fab {
    background: #25d366; color: #fff; border: 0; border-radius: 2rem;
    padding: .7rem 1.1rem; font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(37,211,102,.45); display: inline-flex; align-items: center; gap: .5rem;
    cursor: pointer; transition: transform .15s;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab i { font-size: 1.4rem; }
.wa-fab-label { font-size: .95rem; }
.wa-panel {
    position: absolute; right: 0; bottom: 64px; width: 300px; max-width: 78vw;
    background: #fff; border-radius: 1rem; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.28); border: 1px solid #e7ecf3;
    animation: waPop .18s ease-out;
}
@keyframes waPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wa-panel-head { background: #075e54; color: #fff; padding: .9rem 1rem; display: flex; align-items: center; gap: .6rem; }
.wa-panel-head i { font-size: 1.6rem; }
.wa-panel-head strong { display: block; font-size: .98rem; }
.wa-panel-head small { opacity: .8; font-size: .78rem; }
.wa-panel-body { padding: .6rem; max-height: 60vh; overflow-y: auto; background: #ece5dd; }
.wa-intro { font-size: .82rem; color: #4a5a56; margin: .3rem .3rem .6rem; }
.wa-opt {
    display: flex; align-items: center; gap: .4rem; background: #fff; color: var(--ink);
    border-radius: .7rem; padding: .6rem .7rem; margin-bottom: .4rem; font-size: .9rem; font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,.08); text-decoration: none;
}
.wa-opt i { color: #25d366; }
.wa-opt:hover { background: #f0fdf4; color: var(--brand-dark); }
@media (max-width: 575.98px) { .wa-fab-label { display: none; } .wa-widget { right: 14px; bottom: 14px; } }

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Trust badges */
.trust-badge { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.trust-badge i { color: var(--brand); font-size: 1.6rem; }

/* FAQ */
.faq .accordion-button { font-weight: 600; color: var(--ink); }
.faq .accordion-button:not(.collapsed) { background: var(--brand-light); color: var(--brand-dark); }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(26,79,160,.15); }

/* RFQ / forms */
.rfq-card { background: #fff; border: 1px solid #eef2f1; border-radius: 1rem; padding: 2rem; box-shadow: 0 12px 40px rgba(13,47,110,.06); }
.rfq-dropzone { border: 2px dashed #c3d0e6; border-radius: .8rem; padding: 1.2rem; text-align: center; color: var(--muted); background: #f8fafd; }

/* ROI calculator */
.roi-output { background: var(--brand-light); border-radius: 1rem; padding: 1.5rem; }
.roi-metric { text-align: center; padding: 1rem .5rem; }
.roi-metric .val { font-size: 1.9rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.roi-metric .lbl { font-size: .85rem; color: var(--muted); }

/* Industry / case cards */
.icon-tile { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-light); color: var(--brand); font-size: 1.6rem; margin-bottom: 1rem; }

/* Hero rotating background slideshow */
.hero-slideshow { position: relative; overflow: hidden; background: var(--brand-dark); }
.hero-slideshow .container { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slideshow::after { content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(120deg, rgba(13,47,110,.92), rgba(26,79,160,.72)); }
.hero h1 br { display: block; }

/* ============================================================
   Product landing page: share bar, enquiry, mobile CTA, trust
   ============================================================ */

/* Social share bar */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: 1rem 1.15rem; background: var(--bg-soft); border: 1px solid #e7ecf3; border-radius: .9rem; }
.share-bar-label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.share-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; font-size: 1.05rem; text-decoration: none; transition: transform .15s, filter .15s; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.share-linkedin { background: #0a66c2; } .share-facebook { background: #1877f2; }
.share-x { background: #000; } .share-whatsapp { background: #25d366; }
.share-telegram { background: #29a9eb; }
.share-pinterest { background: #e60023; } .share-email { background: #6b7280; }
.share-copy { background: var(--brand); } .share-copy.copied { background: #1a9d5a; }

/* Enquiry form card */
.enquiry-card { background: #fff; border: 1px solid #e7ecf3; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 14px 44px rgba(13,47,110,.08); }
.enquiry-card h3 { font-size: 1.15rem; }
.sticky-enquiry { position: sticky; top: 90px; }

/* Trust mini strip near form */
.trust-mini { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.trust-mini span { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.trust-mini i { color: var(--brand); }
.client-logo { height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .8rem; border: 1px dashed #cdd6e5; border-radius: .4rem; color: var(--muted); font-weight: 700; font-size: .8rem; background: #fff; }

/* CTA button row */
.cta-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Mobile floating CTA bar */
.mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1075; display: none; background: #fff; border-top: 1px solid #e3e8f0; box-shadow: 0 -6px 20px rgba(0,0,0,.1); padding: .5rem; gap: .4rem; }
.mobile-cta-bar a { flex: 1; text-align: center; font-size: .82rem; font-weight: 700; padding: .55rem .2rem; border-radius: .5rem; text-decoration: none; }
.mobile-cta-quote { background: var(--brand); color: #fff; }
.mobile-cta-call { background: var(--brand-light); color: var(--brand-dark); }
.mobile-cta-wa { background: #25d366; color: #fff; }
@media (max-width: 991.98px) { .mobile-cta-bar { display: flex; } body { padding-bottom: 60px; } .wa-widget { bottom: 70px; } }

/* Lead magnet chips */
.magnet-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.magnet-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid #e2e8f2; border-radius: 2rem; font-size: .85rem; font-weight: 600; color: var(--brand-dark); background: #fff; text-decoration: none; }
.magnet-chip:hover { background: var(--brand-light); color: var(--brand-dark); }
.magnet-chip i { color: var(--brand); }

/* Client / partner logo strip */
.clients-strip { text-align: center; }
.clients-heading { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.clients-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; }
.client-logo-slot { display: inline-flex; align-items: center; justify-content: center; }
.client-logo-slot img { height: 46px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s, transform .2s; }
.client-logo-slot:hover img { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.clients-compact .clients-heading { margin-bottom: .6rem; }
.clients-compact .clients-grid { gap: .5rem .8rem; }
.clients-compact .client-logo-slot img { height: 30px; max-width: 100px; }

/* ============================================================
   Live chat widget
   ============================================================ */
.chat-widget { position: fixed; left: 20px; bottom: 20px; z-index: 1080; }
.chat-fab { background: var(--brand); color: #fff; border: 0; border-radius: 2rem; padding: .7rem 1.1rem;
    font-weight: 700; font-size: 1rem; box-shadow: 0 10px 30px rgba(26,79,160,.45); display: inline-flex;
    align-items: center; gap: .5rem; cursor: pointer; transition: transform .15s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab i { font-size: 1.3rem; }
.chat-fab .badge-dot { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%;
    background: #e60023; color: #fff; font-size: .65rem; display: none; align-items: center; justify-content: center; }
.chat-widget.has-unread .chat-fab .badge-dot { display: flex; }
.chat-panel { position: absolute; left: 0; bottom: 64px; width: 340px; max-width: 82vw; background: #fff;
    border-radius: 1rem; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); border: 1px solid #e7ecf3;
    display: flex; flex-direction: column; max-height: 70vh; animation: waPop .18s ease-out; }
.chat-head { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: .8rem 1rem;
    display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.chat-head-info { display: flex; align-items: center; gap: .6rem; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 1.2rem; }
.chat-head strong { display: block; font-size: .95rem; line-height: 1.1; }
.chat-head small { opacity: .8; font-size: .76rem; }
.chat-close { background: transparent; border: 0; color: #fff; font-size: 1.1rem; cursor: pointer; opacity: .85; }
.chat-close:hover { opacity: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; background: #f5f8fc; display: flex; flex-direction: column; gap: .5rem; min-height: 220px; }
.chat-msg { display: flex; }
.chat-msg span { display: inline-block; padding: .5rem .8rem; border-radius: 1rem; font-size: .9rem; max-width: 82%; line-height: 1.4; }
.chat-msg.visitor { justify-content: flex-end; }
.chat-msg.visitor span { background: var(--brand); color: #fff; border-bottom-right-radius: .3rem; }
.chat-msg.agent span { background: #fff; color: var(--ink); border: 1px solid #e7ecf3; border-bottom-left-radius: .3rem; }
.chat-form { border-top: 1px solid #eef2f7; padding: .6rem; background: #fff; }
.chat-name { width: 100%; border: 1px solid #e2e8f2; border-radius: .5rem; padding: .4rem .6rem; font-size: .82rem; margin-bottom: .4rem; }
.chat-input-row { display: flex; gap: .4rem; }
.chat-input { flex: 1; border: 1px solid #e2e8f2; border-radius: 2rem; padding: .55rem .9rem; font-size: .9rem; }
.chat-input:focus, .chat-name:focus { outline: none; border-color: var(--brand); }
.chat-send { background: var(--brand); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; flex: 0 0 40px; cursor: pointer; }
.chat-send:hover { background: var(--brand-dark); }
@media (max-width: 575.98px) { .chat-widget { left: 14px; bottom: 70px; } .chat-fab-label { display: none; } }
