@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.panzoom1 {
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 100vh;
}

.panzoom2 {
    position: absolute;
    z-index: -1;
    width: 100vw;
    height: 100vh
}

.videocontainer {
    width: 90vw;
    height: 90vh;
    position: relative;
}

.videooverflowcontainer{
    overflow: hidden;
}

.videotop {
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.videobottom {
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}

.videosidebyside {
    width: fit-content;
    height: fit-content;
    position: relative;
    top: 0;
    left: 0;
    opacity: 1;
}

.buttoncontainerdiv {
    position: absolute;
    bottom: 0px;
    z-index: 3;
}

.mainlogo {
    position: absolute;
    z-index: 3;
}

.homepagebackground {
    width: 100%;
    height: 100%;
}

.homepagebackgroundcontainer {
    position: relative;
}

.homepageoverlay {
    position: absolute;
    top: 40%;
    left: 0;
    z-index: 1;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9y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0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.contact-clean {
    background: #f1f7fc;
    padding: 80px 0;
}

@media (max-width:767px) {
    .contact-clean {
        padding: 20px 0;
    }
}

.contact-clean form-class {
    max-width: 480px;
    width: 90%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 4px;
    color: #505e6c;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}

@media (max-width:767px) {
    .contact-clean form-class {
        padding: 30px;
    }
}

.contact-clean h2 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 36px;
    color: inherit;
}

.contact-clean .form-group:last-child {
    margin-bottom: 5px;
}

.contact-clean .form-control {
    background: #fff;
    border-radius: 2px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.05);
    outline: none;
    color: inherit;
    padding-left: 12px;
    height: 42px;
}

.contact-clean .form-control:focus {
    border: 1px solid #b2b2b2;
}

.contact-clean textarea.form-control {
    min-height: 100px;
    max-height: 260px;
    padding-top: 10px;
    resize: vertical;
}

.contact-clean .btn {
    padding: 16px 32px;
    border: none;
    background: none;
    box-shadow: none;
    text-shadow: none;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.4px;
    line-height: 1;
    outline: none !important;
}

.contact-clean .btn:hover {
    opacity: 1;
}

.contact-clean .btn:active {
    transform: translateY(1px);
}

.contact-clean .btn-primary {
    background-color: #055ada !important;
    margin-top: 15px;
    color: #fff;
}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.column-wrapper{
    position: relative;
    height: 30px;
}

.timeline-button {
    transform: translateX(-100%);
}

.mover{
    position: absolute;
}

.chart-scroll {
    max-height: 90vh; /* take up at most 90% of viewport height */
    overflow-y: auto; /* vertical scrollbar when content exceeds */
    overflow-x: hidden; /* prevent sideways scroll */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ghostlap-hero {
    background: linear-gradient(135deg, #3333CC 0%, #99B9FF 50%, #A85FED 100%);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .ghostlap-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="carGradient" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0.05"/></linearGradient></defs><pathd="M50 300 Q200 250 400 280 Q600 310 800 290 Q1000 270 1150 300 L1150 350 Q1000 330 800 350 Q600 370 400 340 Q200 310 50 350 Z" fill="url(%23carGradient)"/></svg>') no-repeat center center;
        background-size: cover;
        opacity: 0.3;
    }

    .ghostlap-hero .container {
        position: relative;
        z-index: 2;
    }

    .ghostlap-hero h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        font-weight: 800;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        margin-bottom: 1.5rem;
    }

    .ghostlap-hero p {
        font-size: 1.4rem;
        color: rgba(0, 0, 0, 0.9);
        margin-bottom: 2.5rem;
        max-width: 600px;
    }

.btn-primary-custom {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        color: white;
        text-decoration: none;
    }

.btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    padding: 19px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline-custom:hover {
        background: rgba(255,255,255,0.1);
        border-color: white;
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

.section-padding {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid #667eea;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    }

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.brand-logo {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

    .brand-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><circle cx="100" cy="100" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="150" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="500" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="200" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="120" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="180" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
        opacity: 0.3;
    }

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-family: "shader", "Oxanium", "ibm-plex-sans";
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #e8f4fd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-family: "shader", "Oxanium", "ibm-plex-sans";
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.story-section {
    background: #f8f9fa;
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.story-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.demo-form {
    border-radius: 20px;
    padding: 3rem;
}

.form-control-custom {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

    .form-control-custom:focus {
        background: whitb;
        box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
        outline: none;
    }

.gradient-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.text-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer {
    background: white;
    color: black;
    padding: 3rem 0 2rem;
    border-top: 4px solid #A85FED;
}

.footer-link {
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
    text-decoration: none;
}

/* --- Overlay is the current default (both at 0,0) --- */
.panzoom1.overlaymode {
    position: absolute; /* you already had this */
    z-index: 1;
    width: 100vw;
    height: 100vh;
}

/* --- Side-by-side mode on the SAME container --- */
.panzoom1.videosidebyside {
    display: flex;
    flex-direction: row-reverse; /* flips which video sits left vs right */
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 0;
}

/* In side-by-side, cancel the children's absolute positioning */
.panzoom1.videosidebyside .videotop,
.panzoom1.videosidebyside .videobottom {
    position: static !important; /* overrides top/left absolute from your defaults */
    width: 50%;
    height: 100%;
    opacity: 1; /* make both fully visible */
    /* If your <video> doesn't auto-fit, force it: */
    display: block;
}

/* Make the <video> content scale nicely inside each half */
.panzoom1.videosidebyside .videotop video,
.panzoom1.videosidebyside .videobottom video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or 'cover' if you prefer filling the cell */
}

/* Keep your overlay canvas spanning the whole stage in both modes */
#overlay {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Responsive adjustments */


.ghostlap-hero p {
    font-size: 1.1rem;
}

.section-padding {
    padding: 3rem 0;
}

.feature-card, .testimonial-card {
    margin-bottom: 2rem;
}

.btn-primary-custom, .btn-outline-custom {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.demo-form {
    padding: 2rem;
}

.login {
    font-family: "Shader", "Oxanium", "ibm-plex-sans", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: clamp(0.8rem, 2vw, 22px);
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Light Themes */
h1 {
    font-family: "Shader", "Oxanium", "ibm-plex-sans", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: clamp(2.5rem, 6vw, 96px);
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
/* Dark Themes */
h2 {
    font-family: "Shader", "Oxanium", "ibm-plex-sans", sans-serif;
    font-weight: 700; /* Bold */
    font-style: normal;
    font-size: clamp(1.5rem, 4vw, 71px);
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

h3 {
    font-family: "ibm-plex-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.75rem, 4vw, 48px);
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

h4 {
    font-family: "ibm-plex-sans", sans-serif;
    font-weight: 300; /* light */
    font-style: normal;
    font-size: clamp(1.5rem, 3.5vw, 36px);
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

h5 {
    font-family: "Shader", "Oxanium", "ibm-plex-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.25rem, 2.5vw, 28px);
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

h6 {
    font-family: "Saira", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(1rem, 2vw, 22px);
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}
/* Body / Paragraphs — IBM Plex Sans Regular */
body, p {
    font-family: "ibm-plex-sans", sans-serif;
    font-weight: 400; /* Regular */
    font-style: normal;
    font-size: clamp(0.95rem, 1.2vw, 16px);
    line-height: 1.6;
    letter-spacing: 0.2px;
    margin-bottom: 0.75rem;
    color: #333;
}

/* Captions — IBM Plex Sans Bold */
.caption {
    font-family: "ibm-plex-sans", sans-serif;
    font-weight: 800; /* Bold */
    font-style: normal;
    font-size: clamp(0.9rem, 1.4vw, 19px);
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    color: #555;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Hairline.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Thin.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-XBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shader';
    src: url('./fonts/Shader-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}