﻿:root {
    --ink: #111827;
    --muted: #6b7280;
    --brand: #2E135E;
    --brand2: #3A1B78;
    --accent: #FF6A00;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,Noto Sans,Arial;
    color: var(--ink);
    background: var(--bg)
}

section {
    padding: 48px 0
}

a {
    color: var(--accent);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}

select, input[type=number] {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

input[type=number] {
    width: 120px;
}


.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 16px;
}


.container-wide {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.homepageheader {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    z-index:1;
}

.standardheader {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    padding: 4px;
    z-index: 1;
}



brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .brand img {
        height: 45px;
        width: auto;
    }

.logotext {
    margin-left: 0px;
    font-weight: 800;
    font-size: 25px;
    letter-spacing: 0.06em;
    color: var(--brand);
}

img.logotext {
    height: 25px;
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 15px;
    align-items: baseline;
    
}

    nav a {
        color: #374151;
        padding-right: 10px;      
    }

    nav a:hover {
        color: var(--accent);
}

    nav button {
        background: none;
        border: none;
        color: #374151;
        font:inherit;
        cursor: pointer;
    }

.burger-button {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
}

.mobileonly {
    display: none;
}



.hero {
    padding: 48px 0;
    background: radial-gradient(800px 400px at 15% -10%, rgba(46,19,94,.08), transparent 60%), radial-gradient(700px 320px at 95% 0%, rgba(255,106,0,.10), transparent 55%);
}

.herosearch {
    padding: 48px 0 20px 0; /* top & bottom */
}

.herosearch select {
    margin: 2px;
}

.herosearch input[type=number] {
    margin: 3px;
}

h1 {
    font-size: 2.3em /*38px*/;
    line-height: 1.1;
    margin: 6px  0 10px 0;
    color: var(--brand);
}

h2 {
    color: var(--brand);
    font-size: 1.5em;
    margin: 24px 0 8px;
}

fieldset {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px
}

p {
    line-height: 1.7;
}

.kicker {
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    font-size: 12px;
}

.grid {
    display: grid;
    gap: 20px;
}

grid-1 {
    grid-template-columns: 1fr ;
    gap: 5px;
}

.xgrid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px; /* Optional: adds spacing between columns */
}



/* desktop styles */
@media(min-width:800px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr
    }

    .xgrid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(3,1fr)
    }

}



.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(17,24,39,.06);
}

    .card .media {
        position: relative;
        /*        height: 160px;
        background: #f1f5f9;*/
        /*border: solid 1px red;*/ /*Uncomment to see borders */
        text-align: center;
        aspect-ratio: 5/3;
        width: 100%;
        overflow: hidden;
    }
        .card .media img {
            height: 100%;
            width: auto;
            object-fit: contain;
            border: solid 1px transparent;
        }

            .card .media .active {
                opacity: 1;
                z-index: 1;
            }

    .card .body {
        padding-left:16px;
        padding-right:16px
    }


.leaflet {
     background: linear-gradient(to right, var(--bg-soft) 0%, var(--bg-soft) 10%, transparent 100%);
   /* background-color:transparent;*/
    border-left: 5px solid var(--border);
    padding: 20px;
    
}

    .leaflet .media {
        position: relative;
        /*        height: 160px;
        background: #f1f5f9;*/
        /*border: solid 1px red;* /*Uncomment to see borders */
        text-align: left;
        aspect-ratio: 5/3;
        width: 100%;
        overflow: hidden;
    }

        .leaflet .media img {
            height: 100%;
            width: auto;
            object-fit: contain;
            border: solid 1px transparent;
        }

        .leaflet .media .active {
            opacity: 1;
            z-index: 1;
        }

    .leaflet .body {

    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn i {
        margin-right: 6px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255,106,0,.25);
}

    .btn-primary:hover {
        filter: brightness(.98);
        transform:  translateY(-1px);
    }

.btn-md {
    padding: 11px;
    border-radius: 10px;
    margin-right: 2px;
   /* box-shadow: 0 5px 10px rgba(0,0,0,.25);*/
}

.btn-sm {
    padding: 6px;
    border-radius: 6px;
    margin-right: 2px;
    box-shadow: 0  5px 10px rgba(0,0,0,.25);
}

    .btn-sm:hover {
        filter: brightness(.98);
        transform: translateY(-2px);
        box-shadow: 0 7px 12px rgba(0,0,0,.25);
    }

.btn-ghost {
    border-color: var(--border);
    background: #fff;
    color: #374151;
}

    .btn-ghost:hover {
        background: #f3f4f6;
    }

.pill {
    display: inline-block;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    color: #3730a3;
    padding: 4px 10px;
    font-size: 12px;
}

.quote {
    border-left: 4px solid var(--brand2);
    padding-left: 12px;
    margin: 14px 0;
    color: #374151;
    font-style: italic;
}

.highlight {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 10px 12px;
    border-radius: 12px;
}

.blurredborders {
    /*mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);*/
    mask-image: linear-gradient(to top, transparent 0%, black 3%, black 97%, transparent 100%), linear-gradient(to left, transparent 0%, black 3%, black 97%, transparent 100%);
    mask-composite: intersect;
}

.rounded {
    border-radius: 15px;
}

.shadow {
    box-shadow: 0 10px 30px rgba(17,24,39,.06);
}

.subtle {
    color: var(--muted)
}

.formmessage {
    color: var(--accent)
}

footer {
    margin-top: 15px;
    /*border-top: solid 3px var(--brand);*/
    background: white;
    color: #000;
}

    footer .container {
        padding: 18px 16px;
    }

    footer .muted {
        color: rgba(0,0,0,.7)
    }

.footer-link {
    margin-left: 10px;
    color: var(--muted)
}

    .footer-link:hover {
        color: var(--accent);
        text-decoration: underline
    }

.copyright {
    background: var(--brand);
    text-align: center;
    color:white;
    padding:10px;
    font-size: 0.8em; 
}
    
.breadcrumbs {
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0;
}


/* Utility and accessibility - landing page */
html:focus-within {
    scroll-behavior: smooth;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #94a3b8;
    outline-offset: 2px;
    border-radius: 8px;
}



/* Pricing highlight */
.pricing .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand);
}

/* Details/summary for FAQ etc */
details {
    padding: 16px;
}

    details + details {
        border-top: 1px solid var(--border);
    }

summary {
    cursor: pointer;
    font-weight: 600;
}

/* Logo mark override */
.logo-mark {
    height: 64px !important;
    width: auto;
}

/* Header sticky shadow override */
header.sticky {
    box-shadow: 0 6px 20px rgba(17,24,39,.06);
}

/* Hero section override */
.hero {
    padding: 84px 0;
    background: radial-gradient(1200px 500px at 20% 0%, rgba(46,19,94,.06), transparent 60%), radial-gradient(900px 500px at 90% 10%, rgba(255,106,0,.07), transparent 60%);
}

/* Forms styling */
.form-group { 
    margin-bottom: 15px;
}

.form-group label {
    padding-bottom: 4px;
}

.form-control {
   width:100%;padding:9px;border:1px solid var(--border);border-radius:10px; 
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* optional spacing between cells */
    align-items: flex-start;
}

.form-cell {
    display: flex;
    flex-direction: column;
}

.auto-width {
    flex: 0 0 auto; /* only as wide as content */
}

.grow {
    flex: 1 1 0; /* take up remaining space */
    min-width: 0; /* prevents overflow */
}

.labelwidth {
    width:80px;
    min-width: 8rem; /* optional: prevent labels from shrinking too much */
    padding-right: 0.5rem;
    box-sizing: border-box;
    text-align: left; /* optional: aligns label text to the right */
}

.alert {
}

.alert-success h2 {
    color: green;
}

.alert-failure h2 {
    color: red;
}

/* Sticky mobile CTA */
    @media(max-width: 760px) {
    .mobile-cta {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 60;
        background: rgba(255,255,255,.9);
        backdrop-filter: saturate(180%) blur(10px);
        border-top: 1px solid var(--border);
        padding: 12px 16px;
        display: flex;
        gap: 10px;
    }

        .mobile-cta .btn {
            flex: 1;
        }
}

/* landing */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px
}

    .table th {
        text-align: left;
        font-size: 0.9em;
        color: #6b7280;
        font-weight: 600
    }

    .table td, .table th {
        padding: 8px 10px
    }

    .table tr.row {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px
    }

.badge {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 4px 8px;
    font-size: 12px;
    color: #374151;
    background: #fff
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}


/* Animated fade-in */
[data-animate] {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease
}

    [data-animate].in {
        opacity: 1;
        transform: none
    }

    [data-animate].fallback {
        opacity: 1;
        transform: none;
        visibility: visible;
    }


    /* This breaks the fade-in but keeping it for possible later use */
    /*[data-animate]:not(.in) {opacity: 1;}*/



.image-rotation-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

    .image-rotation-container img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100%;
        object-fit: contain;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

        .image-rotation-container img.active {
            opacity: 1;
            z-index: 1;
        }

.slide-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .slide-panel.open {
        max-height: 1000px; /* Adjust as needed */
    }


