:root {
    /* Palette */
    --bg: #071028; /* deep navy */
    --card: #0f1724; /* dark card */
    --card-2: #0b1220; /* card gradient end */
    --text-main: #e6eef8; /* primary text */
    --text-soft: #cbd7e6; /* softer text */
    --text-muted: #9aa7bf; /* muted */
    --accent: #06b6d4; /* corporate teal/blue */
    --accent-strong: #04a0b0;
    --accent-soft: rgba(6, 182, 212, 0.08);
    --border-subtle: rgba(255,255,255,0.04);
    --border-strong: rgba(6,182,212,0.12);

    /* Motion & layout */
    --shadow-soft: 0 10px 30px rgba(2,6,23,0.6);
    --shadow-card: 0 8px 28px rgba(2,6,23,0.6);
    --radius-xl: 18px;
    --radius-lg: 12px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --max-width: 1180px;
    --font-main: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --transition-fast: 180ms ease-out;
}

/* Generic container used across pages */
.container {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 18px;
}

/* Responsive and spacing tweaks for crisp corporate layout */
.hero-actions { gap: 12px; }
.hero-image img { border-radius: 10px; box-shadow: var(--shadow-card); }
.page-main { gap: 28px; }

@media (max-width: 860px) {
    .site-nav-inner, .navbar .container { padding: 10px 12px; }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: radial-gradient(circle at top, #172445 0, #071028 48%, #020309 100%);
    color: var(--text-main);
    line-height: 1.6;
    padding: 18px 12px 36px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

    a:hover {
        color: var(--accent-strong);
    }

.site {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(9, 13, 24, 0.98));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.topline {
    padding: 12px 28px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(10, 14, 25, 0.88);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

    .topline .meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.hero-header {
    position: relative;
    padding: 28px 30px 26px;
    border-bottom: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 0 0, rgba(79, 209, 197, 0.16), transparent 55%), radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.16), transparent 52%), linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(8, 12, 22, 0.92));
}

    .hero-header::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 130%, rgba(15, 23, 42, 0.9), transparent 60%);
        pointer-events: none;
    }

.hero-header-inner {
    position: relative;
    z-index: 3; /* ensure content sits above overlay */
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center; /* center brand vertically for stronger presence */
}

@media (max-width: 860px) {
    .hero-header-inner {
        grid-template-columns: 1fr;
    }
}

.brand-wrap {
    display: flex;
    gap: 2px; /* minimal gap so the logo fills more visual space */
    align-items: center; /* align center to make logo visually dominant */
}

.brand-logo {
    width: 260px; /* increase logo size for prominence */
    height: 260px;
    border-radius: 4px;
    padding: 0; /* remove padding so image fills available area */
    object-fit: cover;
    background: transparent;
    border: none;
    box-shadow: 0 8px 24px rgba(2,6,23,0.45);
}

@media (max-width: 860px) {
    .brand-logo {
        width: 96px; /* mobile size */
        height: 96px;
        border-radius: 8px;
        object-fit: contain;
    }
}

.brand-copy h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: 0.015em;
}

.brand-copy p {
    margin: 0;
    max-width: 760px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-strong);
    box-shadow: 0 0 14px rgba(99, 230, 190, 0.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-self: center;
    justify-content: flex-end;
}

/* Simple grid helpers to mimic Bootstrap column widths used in New.aspx */
.col-md-3 {
    width: 25%;
    padding: 6px;
}

@media (max-width: 860px) {
    .col-md-3 { width: 100%; }
}

/* Form control helper to match site inputs to Bootstrap form-control usage */
.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    color: var(--text-main);
}

/* List-group / panel helpers to render similarly without Bootstrap */
.list-group { list-style: none; padding: 0; margin: 0; }
.list-group-item { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.03); padding: 12px; }
.panel-heading { padding: 8px 12px; }
.panel-body { padding: 12px; }
.btn-lg { padding: 12px 18px; font-size: 1.05rem; }

/* Improved form styling to replace Bootstrap defaults and make the guestbook readable */
.panel-body {
    background: linear-gradient(180deg, rgba(15,23,42,0.6), rgba(8,12,22,0.6));
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.02);
}

.list-group { margin: 0; }
.list-group-item {
    background: rgba(11,17,36,0.5);
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(2,6,23,0.45);
}

.list-group-item + .list-group-item { margin-top: 12px; }

.list-group-item .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.col-md-3 {
    flex: 1 1 calc(25% - 12px);
    min-width: 180px;
}

@media (max-width: 860px) {
    .col-md-3 { flex: 1 1 100%; }
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.02);
    color: var(--text-main);
    outline: none;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.form-control:focus {
    box-shadow: 0 6px 18px rgba(6,182,212,0.06);
    border-color: var(--accent-strong);
}

.list-group-item p { margin: 0 0 8px 0; color: var(--text-muted); }

.list-group-item .btn { margin-top: 8px; }

.panel-heading { margin-bottom: 10px; }

.panel-body h4 { margin-top: 0; margin-bottom: 8px; }

/* Button variants */
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-strong)); color: #fff; }
.btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.06); color: var(--text-main); }

/* Center the submit button row */
.list-group-item:last-child { display:flex; justify-content:flex-start; align-items:center; }

@media (max-width: 860px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--text-main);
    background: linear-gradient(135deg, #1f2937, #111827);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

    .btn:hover {
        transform: translateY(-1px);
        text-decoration: none;
    }

.btn-primary {
    border-color: var(--accent-strong);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 20px rgba(6,182,212,0.18);
}

.btn-secondary {
    background: linear-gradient(135deg, #182235, #0e1525);
}

.site-nav {
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(8, 12, 22, 0.9);
    backdrop-filter: blur(10px);
}

.site-nav-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 24px;
}

/* allow horizontal scrolling of nav on very small viewports */
.site-nav-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 600;
}

    .site-nav a:hover,
    .site-nav a.active {
        border-color: rgba(99, 230, 190, 0.35);
        background: rgba(79, 209, 197, 0.1);
        color: var(--text-main);
    }

.page-main {
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(280px, 1fr);
    gap: 22px;
}

/* Ensure content and side-panel align to the top of the grid columns */
.page-main {
    align-items: start;
}

/* Brand / header compatibility rules */
.brand, .brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-text, .brand-copy {
    display: block;
}

.brand-text h1, .brand-copy h1 {
    margin: 0 0 6px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-main);
    line-height: 1.05;
}

.brand-text p, .brand-copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* Alias navbar class used in some pages */
.navbar { background: rgba(8,12,22,0.9); border-bottom: 1px solid var(--border-subtle); }
.navbar .container { display:flex; flex-wrap:wrap; gap:8px; padding: 14px 24px; }
.navbar a { display:inline-flex; align-items:center; padding:9px 14px; border-radius:var(--radius-pill); color:var(--text-soft); font-weight:600; }
.navbar a:hover, .navbar a.active { border-color: var(--border-strong); background: var(--accent-soft); color:var(--text-main); }

/* Backwards-compatibility: some pages used .site-header rather than .hero-header */
.site-header { position: relative; padding: 28px 30px 26px; border-bottom: 1px solid var(--border-subtle); background: radial-gradient(circle at 0 0, rgba(79, 209, 197, 0.06), transparent 55%), linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(8, 12, 22, 0.92)); }
.site-header .header-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.site-header .brand { display:flex; gap:16px; align-items:flex-start; }
.site-header .brand img, .site-header .brand .brand-logo { width:64px; height:64px; }

/* Footer tweaks */
.footer { border-top: 1px solid var(--border-subtle); padding: 22px; color: var(--text-muted); }
.footer a { color: var(--text-soft); }

/* Slightly tighter card shadow and spacing for corporate look */
.card { padding: 18px; }
.card h4 { color: var(--text-main); }

    .page-main.single {
        grid-template-columns: minmax(0, 1fr);
    }

@media (max-width: 980px) {
    .page-main {
        grid-template-columns: 1fr;
    }
}

.content-column section {
    margin-bottom: 18px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.section-tag {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-strong);
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(99, 230, 190, 0.32);
    background: rgba(15, 23, 42, 0.9);
}

.lead,
.section-copy {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.card {
    background: linear-gradient(180deg, var(--card), var(--card-2));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    box-shadow: var(--shadow-card);
    margin-bottom: 14px;
}

    .card.highlight {
        border-color: var(--border-strong);
        box-shadow: 0 0 0 1px rgba(99, 230, 190, 0.18), var(--shadow-card);
    }

.card-header {
    display: flex;
    gap: 10px;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .card-header h4,
    .card h4 {
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.3;
    }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.8);
    font-size: 0.72rem;
    white-space: nowrap;
}

.grid {
    display: grid;
    gap: 12px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-card {
    background: #0f1728;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 12px 12px;
}

    .info-card h5 {
        margin: 0 0 5px;
        font-size: 0.86rem;
        color: #e2e8f0;
    }

    .info-card p {
        margin: 0;
        font-size: 0.82rem;
        color: var(--text-muted);
    }

ul.clean {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

    ul.clean li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 6px;
        color: var(--text-muted);
        font-size: 0.89rem;
    }

        ul.clean li::before {
            content: "•";
            position: absolute;
            left: 4px;
            top: 0;
            color: var(--accent-strong);
            font-size: 0.8rem;
        }

.metric-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.metric-card {
    background: #0f1728;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.28);
    padding: 12px 12px;
}

/* Lightweight metric block used in side-panels */
.metric {
    display: block;
    margin-bottom: 10px;
}

.metric strong {
    display: block;
    color: var(--accent-strong);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.metric span {
    display: block;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.side-panel .side-section {
    padding: 6px 0;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.metric-value {
    color: var(--accent-strong);
    font-size: 1.15rem;
    font-weight: 700;
}

.metric-note {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 4px;
}

.timeline {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}

.timeline-item {
    background: #0f1728;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.26);
    padding: 12px;
}

.timeline-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-strong);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.callout {
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 230, 190, 0.46);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(22, 101, 52, 0.24));
    padding: 12px 13px;
    font-size: 0.87rem;
    color: var(--text-soft);
}

    .callout strong {
        color: #fefcbf;
    }

.side-panel {
    background: radial-gradient(circle at top, #101828 0, #060913 72%);
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-card);
}

/* Make the side-panel sticky on wider screens so the funnel stays visible */
.side-panel {
    position: sticky;
    top: 90px; /* adjusted sticky offset to match header height */
    /* keep the side-panel from pushing below content on short viewports */
    max-height: calc(100vh - 120px);
    overflow: auto;
}

/* Ensure the side-panel occupies the second grid column and stays at the top */
.page-main > .side-panel {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: start;
}

/* Allow content column to shrink properly so sticky aside doesn't drop below */
.page-main > .content-column {
    min-height: 0;
}

@media (max-width: 980px) {
    .side-panel {
        position: static;
        top: auto;
    }
}

/* Emphasise the funnel CTA visually */
.side-order {
    background: linear-gradient(180deg, rgba(6,182,212,0.04), rgba(6,182,212,0.02));
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(6,182,212,0.08);
}

.side-order .side-order-btn {
    box-shadow: 0 6px 20px rgba(6,182,212,0.12);
}

.side-order .side-order-btn:hover {
    transform: translateY(-2px);
}

/* Order / funnel block inside side-panel */
.side-order {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(148,163,184,0.06);
}

.side-order .side-order-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.side-order .mono {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.side-section h4 {
    margin: 0 0 6px;
    font-size: 0.92rem;
}

.side-section p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer {
    padding: 18px 24px 22px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(8, 12, 22, 0.96);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.hero-image {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-card);
    margin-top: 10px;
}

    .hero-image img {
        width: 100%;
        max-height: 320px;
        object-fit: cover;
    }

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #0f1728;
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 0.86rem;
}

th {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.02);
}

td {
    color: var(--text-muted);
}

.page-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

    .page-map img {
        width: 100%;
        display: block;
    }


/*
--bg-alt: #10182d;
--bg-panel: #111827;
--card: #161f35;
--card-2: #101726;
--accent: #4fd1c5;
--accent-strong: #63e6be;
--accent-soft: rgba(79, 209, 197, 0.12);
--accent-glow: rgba(79, 209, 197, 0.28);
--text-main: #f7fafc;
--text-soft: #d9e2ec;
--text-muted: #94a3b8;
--border-subtle: rgba(148, 163, 184, 0.22);
--border-strong: rgba(99, 230, 190, 0.35);
--warning: #ecc94b;
--danger: #f56565;
*/