/* ── Variables ── */
    :root {
      --db-bg:           #f2f0e8;
      --db-white:        #ffffff;
      --db-olive:        #5a6340;
      --db-olive-light:  #6b7a4a;
      --db-olive-pale:   #eaebdf;
      --db-topbar-bg:    #ffffff;
      --db-border:       #e2e0d8;
      --db-green-icon:   #5a8a5a;
      --db-radius-sm:    8px;
      --db-radius-md:    14px;
      --db-radius-lg:    24px;
      --db-radius-pill:  999px;
    }

/* ════════════════════════════════════
    TOP BAR
════════════════════════════════════ */
.db-topbar {
    background: var(--db-white);
    border-bottom: 1px solid var(--db-border);
    padding: 10px 0;
}

.db-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.db-topbar-tagline {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: var(--db-text);
    font-weight: 500;
}

.db-topbar-tagline .db-bolt {
    font-size: 1rem;
    line-height: 1;
}

.db-topbar-cta {
    border: 1.5px solid var(--db-text);
    border-radius: var(--db-radius-pill);
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--db-text);
    padding: 7px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.db-topbar-cta:hover {
    background: var(--db-navy);
    color: var(--db-white);
}

@media (max-width: 992px){
    .db-topbar-cta{
        display: none;
    }
}

/* ════════════════════════════════════
    MAIN NAV
════════════════════════════════════ */
.db-navbar {
    background: var(--brand-cream);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.db-navbar.db-scrolled {
    border-color: var(--db-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.db-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

/* Logo */
.db-logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--db-text);
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Desktop nav links */
.db-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.db-nav-links a,
.db-nav-links button {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--db-text);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--db-radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.18s;
    white-space: nowrap;
}

.db-nav-links a:hover,
.db-nav-links button:hover {
    background: rgba(0,0,0,0.05);
}

.db-chevron {
    font-size: 0.65rem;
    transition: transform 0.22s;
    display: inline-block;
}

/* ── Dropdown wrapper ── */
.db-dropdown {
    position: relative;
}

/* ── Dropdown panel ── */
.db-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--db-white);
    border-radius: var(--db-radius-md);
    box-shadow: 0 12px 48px rgba(0,0,0,0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
    z-index: 999;
}

.db-dropdown-panel.db-drop-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Services panel — wider, two columns */
.db-drop-services {
    width: 660px;
    padding: 20px;
    display: flex;
    gap: 16px;
}

/* Services card (left) */
.db-drop-card {
    flex: 0 0 320px;
    border-radius: var(--db-radius-sm);
    border: 1px solid var(--db-border);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s;
    max-width: 320px!important;
    display: block!important;
}

.db-drop-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); background-color: var(--db-olive-pale)!important; }

.db-drop-card-body {
    /* padding: 14px;
    background: var(--db-white); */
}


.db-drop-card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #dde0d8;
    display: block;
    border-radius: 10px;
}


.db-drop-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--db-text);
    margin-bottom: 4px;
    margin-top: 12px;
    text-transform: uppercase;
}

.db-drop-card-desc {
    color: var(--db-muted);
    line-height: 1.5;
    margin-bottom: 10px;

}

.db-drop-card-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--db-olive);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
}

/* Services list (right) */
.db-drop-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    list-style: none;
    padding: 4px 0;
}

.db-drop-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--db-radius-sm);
    text-decoration: none;
    color: var(--db-text);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.15s;
}

.db-drop-list a:hover { background: var(--db-olive-pale); }

.db-drop-list .db-globe {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    color: var(--db-green-icon);
}

.db-drop-list .db-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--db-olive);
}

/* About us panel — simple */
.db-drop-about {
    width: 220px;
    padding: 12px 8px;
}

.db-drop-about a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--db-radius-sm);
    text-decoration: none;
    color: var(--db-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}

.db-drop-about a:hover { background: var(--db-olive-pale); }

.db-drop-about .db-arrow { font-size: 0.8rem; color: var(--db-olive); }

/* Chevron rotation when open */
.db-dropdown.db-drop-open > button .db-chevron,
.db-dropdown.db-drop-open > a .db-chevron {
    transform: rotate(180deg);
}

/* ════════════════════════════════════
    MOBILE NAV
════════════════════════════════════ */
.db-mobile-controls {
    display: none;
    align-items: center;
    gap: 12px;
}

.db-mobile-lets-work {
    background: var(--db-olive);
    color: var(--db-white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    border: none;
    border-radius: var(--db-radius-pill);
    padding: 9px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s;
}

.db-mobile-lets-work:hover { background: var(--db-olive-light); }

.db-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.db-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--db-olive);
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
}

/* ── Mobile offcanvas ── */
.db-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    pointer-events: none;
}

.db-offcanvas-backdrop {
    flex: 1;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.db-offcanvas-panel {
    width: min(420px, 100vw);
    background: var(--db-white);
    height: 100%;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.db-offcanvas.db-oc-open {
    pointer-events: all;
}

.db-offcanvas.db-oc-open .db-offcanvas-backdrop {
    opacity: 1;
}

.db-offcanvas.db-oc-open .db-offcanvas-panel {
    transform: translateX(0);
}

/* Offcanvas header */
.db-oc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--db-border);
}

.db-oc-header-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--db-olive);
}

.db-oc-header-title img{
    width: 50px;
}

.db-oc-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--db-olive);
    line-height: 1;
    padding: 4px;
}

/* Offcanvas body */
.db-oc-body {
    padding: 24px;
    flex: 1;
}

.db-oc-section-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--db-muted);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.db-oc-service-card {
    border: 1px solid var(--db-border);
    border-radius: var(--db-radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    display: block;
}


.db-oc-card-img-placeholder {
    width: 100%;
    background: linear-gradient(135deg, #d4d8c8 0%, #bcc0ac 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #8a9070;
    font-style: italic;
}

.db-oc-card-body {
    padding: 18px;
    background: var(--db-white);
    transition: all .5s;
}

.db-oc-card-body:focus, .db-oc-card-body:hover  {
    background: var(--db-olive-pale);
}

.db-oc-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #000000;
}

.db-oc-card-desc {
    font-size: 1rem;
    color: var(--db-muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

.db-oc-card-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--db-olive);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Offcanvas service links */
.db-oc-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
    padding-left: 0!important;
}

.db-oc-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    text-decoration: none;
    color: var(--db-text);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--db-radius-sm);
    transition: background 0.15s;
}

.db-oc-links a:hover { background: var(--db-olive-pale); }

.db-oc-links .db-globe {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--db-green-icon);
    flex-shrink: 0;
}

.db-oc-links .db-arrow { margin-left: auto; color: var(--db-olive); }

/* Offcanvas divider rows */
.db-oc-divider {
    border: none;
    border-top: 1px solid var(--db-border);
    margin: 20px 0 16px;
}

.db-oc-plain-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px;
    text-decoration: none;
    color: var(--db-text);
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid var(--db-border);
}

.db-oc-plain-link:last-child { border-bottom: none; }
.db-oc-plain-link .db-arrow { color: var(--db-olive); }

.db-oc-sub-label {
    font-size: 1.2rem;
    color: var(--db-muted);
    letter-spacing: 0.04em;
    margin: 20px 0 8px;
}

.db-oc-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0px;
    text-decoration: none;
    color: var(--db-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.db-oc-sub-link .db-arrow { color: var(--db-olive); }

/* ════════════════════════════════════
    HERO
════════════════════════════════════ */
.db-hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 48px 0 64px;
    background-color: var(--brand-cream);
}

.db-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

/* Left column */
.db-hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.db-hero-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.6rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--db-text);
    text-align: center;
    height: 100px;
}

.db-hero-sub {
    font-size: 1rem;
    color: var(--db-muted);
    line-height: 1.65;
    max-width: 380px;
    text-align: center;
}

/* Person image */
.db-hero-person-wrap {
    width: 320px!important;
}


.db-hero-person {
    width: 100%;
    border-radius: var(--db-radius-lg);
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.473);
}

/* Person placeholder */
.db-hero-person-placeholder {
    width: 320px;
    height: 240px;
    border-radius: var(--db-radius-lg);
    background: linear-gradient(135deg, #d8dccb 0%, #c4c8b4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #8a9070;
    font-style: italic;
}

/* CTA button */
.db-hero-cta {
    display: inline-flex;
    align-items: center;
    background: var(--db-olive);
    color: var(--db-white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    border-radius: var(--db-radius-pill);
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, transform 0.15s;
}

.db-hero-cta:hover {
    background: var(--db-olive-light);
    color: var(--db-white);
    transform: translateY(-1px);
}

/* Right column — dashboard graphic */
.db-hero-right {
    position: relative;
}

.db-hero-dashboard {
    border-radius: var(--db-radius-lg);
    border: 1px solid var(--db-border);
    aspect-ratio: 1 / 0.88;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    overflow: hidden;

    /* Grid tile background */
    background-image:
    linear-gradient(var(--db-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--db-border) 1px, transparent 1px);
    background-size: 48px 48px;
    background-color: #f8f7f2;
}

/* ── Image cards ── */
.db-dash-img-card {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.13);
    transition: filter 0.28s ease, transform 0.28s ease;
    cursor: default;
}

/* Card 1 — main chart, left side, vertically centred */
.db-dash-img-1 {
    left: 0;
    top: 4%;
    width: 58%;
    z-index: 2;
}

/* Card 2 — insights top-right, overlaps card 1 */
.db-dash-img-2 {
    right: 0;
    top: 4%;
    width: 36%;
    z-index: 3;
}

/* Card 3 — notification bottom-right, floats over both */
.db-dash-img-3 {
    right: 20%;
    bottom: 4%;
    width: 52%;
    z-index: 4;
}

@media (max-width: 768px){
    .db-dash-img-1:hover, .db-dash-img-1:focus {
    width: 95%;
}
    .db-dash-img-2:hover, .db-dash-img-2:focus  {
    width: 95%;
}
    .db-dash-img-3:hover, .db-dash-img-3:focus  {
    width: 95%;
    right: 2.5%;
    left: 2.5%;
}
}
.db-dashboard-info{
    display: none;
}

@media (max-width: 768px){
    .db-dashboard-info{
    text-align: center;
    margin: 8px auto;
    color: var(--db-text);
    opacity: .5;
    display: block;
    }
}


/* Image fills the card */
.db-dash-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder shown until real images are dropped in */
.db-dash-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e0e4d4 0%, #ccd0bc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #8a9070;
    font-style: italic;
    text-align: center;
    padding: 8px;
}

/* ── Blur effect: when dashboard is hovered, blur non-hovered cards ── */
.db-hero-dashboard:has(.db-dash-img-card:hover) .db-dash-img-card {
    filter: blur(4px) brightness(0.85);
    transform: scale(0.98);
}

.db-hero-dashboard:has(.db-dash-img-card:hover) .db-dash-img-card:hover {
    filter: none;
    transform: scale(1.02);
    z-index: 10;
}

/* ── Cursor tooltip ── */
.db-dash-cursor-tip {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-width: 220px;
}

.db-dash-cursor-tip.db-tip-visible {
    opacity: 1;
    transform: translateY(0);
}

.db-dash-cursor-tip-inner {
    background: var(--db-navy);
    color: var(--db-white);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    position: relative;
}

.db-tip-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--db-gold, #e8a020);
    margin-bottom: 5px;
}

.db-tip-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
    color: #fff;
}

.db-tip-body {
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.68);
}



/* ════════════════════════════════════
    RESPONSIVE
════════════════════════════════════ */
@media (max-width: 991.98px) {
    .db-nav-links   { display: none; }
    .db-mobile-controls { display: flex; }

    .db-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    }

    .db-hero-right { order: -1; }

    .db-hero-heading { font-size: 2.4rem; }

    .db-hero-person-wrap { width: 260px;}

    
    .db-hero-person-placeholder { width: 260px; height: 200px; }
}

@media (max-width: 575.98px) {
    .db-topbar-inner,
    .db-navbar-inner,
    .db-hero-inner { padding-left: 20px; padding-right: 20px; }

    .db-hero-heading { font-size: 2rem; }
}