@font-face {
    font-family: "Audiowide";
    src: local("Audiowide Regular"), url("/fonts/Audiowide-Regular.woff2") format("woff2"), url("/fonts/Audiowide-Regular.woff") format("woff"), url("/fonts/Audiowide-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: "Gotham";
    src: local("Gotham Book"), url("/fonts/GothamBook.woff2") format("woff2"), url("/fonts/GothamBook.woff") format("woff"), url("/fonts/GothamBook.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: "Gotham";
    src: local("Gotham Bold"), url("/fonts/GothamBook.woff2") format("woff2"), url("/fonts/GothamBold.woff") format("woff"), url("/fonts/GothamBold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

.font-audiowide {
    font-family: "Audiowide", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.font-gotham {
    font-family: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.font-400 {
    font-weight: 400;
}

.font-700 {
    font-weight: 700;
}

:root {
    --color-accent: #A19460;
    --color-accent-hover: #8c7f4f;
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    --color-border: #e2e8f0;
    --color-text: #2d3748;
    --color-text-soft: #4a5568;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
    --transition-base: .25s cubic-bezier(.4,.0,.2,1);
    --anim-duration: .9s;
    --anim-ease: cubic-bezier(.4,.0,.2,1);
    --anim-delay-step: .08s;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background: var(--color-bg);
    color: var(--color-text);
    max-width: 100%;
    overflow-x: hidden; /* prevent horizontal scroll */
}

/* Universal box sizing to avoid layout overflow from padding+width calculations */
*, *::before, *::after { box-sizing: border-box; }

/* Responsive images safeguard */
img { max-width: 100%; height: auto; }

a {
    color: #5E6B9F;
    text-decoration: none !important;
    transition: color var(--transition-base);
}

    a:hover {
        color: var(--color-accent);
        text-decoration: none !important;
    }

h1:focus {
    outline: none;
}

/* Layout refinements */
/* Modern Footer - JetBrains Inspired */
.footer {
    background: #4F4F4F;
    color: #f5f5f5;
    padding: 4rem 0 1.5rem 0;
    font-size: 0.95rem;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.25);
    border-top: 1px solid rgba(161,148,96,0.25);
    position: relative;
    margin-top: 0;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
        opacity: 0.7;
    }

    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .footer-brand img {
        height: 48px;
        width: auto;
        border-radius: 10px;
        background: #fff;
        padding: 0.4rem;
        box-shadow: 0 4px 16px rgba(161,148,96,0.2);
    }

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.footer-brand-tagline {
    font-size: 0.85rem;
    color: #d4c89f;
    font-weight: 500;
    margin-top: 0.2rem;
}

.footer-description {
    color: #e8e8e8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.footer-cta-wrapper {
    margin-top: auto;
}

    .footer-cta-wrapper .btn-cta {
        font-size: 0.95rem;
        padding: 0.75rem 2rem;
        width: 100%;
        max-width: 220px;
        text-align: center;
    }

.footer-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start !important;
}

    .footer-links a {
        color: #e0e0e0;
        font-size: 0.95rem;
        transition: color 0.2s, transform 0.2s;
        display: inline-flex;
        align-items: center;
    }

        .footer-links a:hover {
            color: var(--color-accent);
            transform: translateX(4px);
        }

.footer-social-section {
    display: flex;
    flex-direction: column;
}

.footer-social {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-start !important;
}

    .footer-social a {
        color: #4F4F4F;
        background: var(--color-accent);
        border-radius: 8px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

        .footer-social a:hover {
            background: #ffffff;
            color: var(--color-accent);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(161,148,96,0.4);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: #d0d0d0;
    font-size: 0.88rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

    .footer-legal a {
        color: #d0d0d0;
        font-size: 0.88rem;
        transition: color 0.2s;
    }

        .footer-legal a:hover {
            color: var(--color-accent);
        }

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-brand-text {
        text-align: left;
    }

    .footer-description {
        text-align: center;
    }

    .footer-cta-wrapper .btn-cta {
        max-width: 100%;
    }

    .footer-section-title {
        text-align: left !important;
        float: none;
    }

    .footer-links {
        align-items: flex-start !important;
    }

    .footer-social {
        justify-content: flex-start !important;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fa 100%);
    color: #111;
    padding: 5rem 0 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 30%, rgba(255,138,0,0.08), transparent 60%), radial-gradient(circle at 70% 60%, rgba(81,79,80,0.07), transparent 65%);
        pointer-events: none;
    }

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 2rem;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 24px;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}

.hero-subtitle {
    font-size: 1.55rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    opacity: .85;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: .9;
    max-width: 700px;
    margin: 0 auto 2.4rem auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Unified CTA Button */
.btn-cta {
    background: linear-gradient(90deg, var(--color-accent) 70%, #b8ae7a 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 36px;
    border: none;
    box-shadow: 0 2px 8px rgba(161,148,96,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    outline: none;
    font-size: 1.05rem;
    padding: 1rem 2.4rem;
}

    .btn-cta.large {
        font-size: 1.15rem;
        padding: 1.1rem 2.8rem;
    }

    .btn-cta:focus {
        box-shadow: 0 2px 8px rgba(161,148,96,0.18), 0 1.5px 6px rgba(0,0,0,0.10), 0 0 0 3px rgba(161,148,96,0.25);
    }

    .btn-cta:hover {
        background: linear-gradient(90deg, var(--color-accent-hover) 70%, #a19460 100%);
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 6px 24px rgba(161,148,96,0.28), 0 2px 8px rgba(0,0,0,0.12);
    }

    .btn-cta.small {
        padding: .55rem 1.1rem;
        font-size: .8rem;
    }

    /* Material ripple effect */
    .btn-cta::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        background: rgba(255,255,255,0.35);
        border-radius: 100%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        transition: width 0.4s cubic-bezier(.4,0,.2,1), height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.6s;
        opacity: 0;
    }

    .btn-cta:active::after {
        width: 120%;
        height: 120%;
        opacity: 1;
        transition: 0s;
    }

/* Secondary CTA */
.btn-cta-secondary {
    background: #fff;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 36px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    box-shadow: 0 1px 4px rgba(161,148,96,0.10);
}

    .btn-cta-secondary:hover {
        background: #f1f5f9;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(161,148,96,0.18);
    }

    .btn-cta-secondary.small {
        padding: .55rem 1.1rem;
        font-size: .8rem;
    }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.55rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-soft);
    max-width: 720px;
    margin: 1em auto;
}

/* Services */
.services-section {
    padding: 6rem 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.25rem;
}

.service-card {
    background: #fff;
    padding: 2.25rem 2.25rem 2.4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--color-border);
    position: relative;
}

    .service-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(120deg, rgba(255,138,0,.15), rgba(94,107,159,.05));
        opacity: 0;
        transition: var(--transition-base);
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(255,138,0,.5);
    }

        .service-card:hover::after {
            opacity: 1;
        }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card > p {
    color: var(--color-text-soft);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    font-size: .97rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .4rem;
}

    .service-features li {
        padding: .45rem 0 .45rem 1.35rem;
        color: #3e4c6d;
        font-weight: 500;
        position: relative;
        font-size: .9rem;
        letter-spacing: .25px;
        background: rgba(94,107,159,.06);
        border-radius: 20px;
    }

        .service-features li::before {
            content: "";
            position: absolute;
            left: .55rem;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: var(--color-accent);
            border-radius: 50%;
            box-shadow: 0 0 0 3px rgba(255,138,0,.25);
        }

/* Why Choose */
.why-choose-section {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.25rem;
}

.why-card {
    background: #fff;
    padding: 2.2rem 2rem 2.4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

    .why-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.why-icon {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .85rem;
    color: var(--color-text);
}

.why-card p {
    color: var(--color-text-soft);
    line-height: 1.6;
    margin: 0;
    font-size: .95rem;
}
/* Why Choose grid responsive fix */
@media (max-width: 1100px) and (min-width: 600px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Technologies */
.technologies-section {
    padding: 6rem 0;
    background: var(--color-bg);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
}

.tech-category h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.1rem;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
}

.tech-tag {
    background: #fff;
    color: var(--color-text);
    padding: .55rem 1.15rem;
    border-radius: 28px;
    font-size: .85rem;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

    .tech-tag:hover {
        transform: translateY(-2px);
        background: var(--color-accent);
        color: #fff;
        box-shadow: 0 4px 14px rgba(255,138,0,.35);
        border-color: var(--color-accent);
    }

/* CTA */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fa 100%);
    color: #111;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1.3rem;
    letter-spacing: -.5px;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
    opacity: .85;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: min(560px, 92%);
    max-width: 98vw;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1010;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    max-height: none;
    height: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

    .modal-header h3 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 700;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    color: var(--color-text-soft);
}

    .close-btn:hover {
        color: var(--color-accent);
    }

.modal-body {
    padding: 1.3rem 1.5rem 1.4rem;
    font-size: .95rem;
    line-height: 1.55;
    color: var(--color-text-soft);
    overflow: visible;
    flex: 0 1 auto;
    padding-bottom: 0 !important;
}

    .modal-body p {
        margin: 0 0 .8rem 0;
    }

.modal-footer {
    padding: 0;
    border: none;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

/* Remove extra space below the modal-footer */
.modal-body > .modal-footer {
    margin-bottom: 0 !important;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--anim-ease), transform .6s var(--anim-ease);
    will-change: opacity, transform;
}

    .reveal.fade-in {
        opacity: 0;
    }

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal.scale {
        transform: scale(.95);
    }

        .reveal.scale.is-visible {
            transform: scale(1);
        }

    .reveal.slide-left {
        transform: translateX(40px);
    }

        .reveal.slide-left.is-visible {
            transform: translateX(0);
        }

    .reveal.slide-right {
        transform: translateX(-40px);
    }

        .reveal.slide-right.is-visible {
            transform: translateX(0);
        }

.stagger-parent > .reveal {
    transition-delay: var(--delay,0s);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.scale, .reveal.slide-left, .reveal.slide-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .animated-gradient, .floating {
        animation: none !important;
    }
}

/* Micro interactions */
.floating {
    animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradientMove 12s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Accessibility focus for animated elements */
.reveal:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* Append animation for headings */
.animate-heading {
    position: relative;
    display: inline-block;
}

    .animate-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        height: 4px;
        width: 0;
        background: linear-gradient(90deg,var(--color-accent),#5E6B9F);
        border-radius: 4px;
        transition: width .65s var(--anim-ease) .15s;
    }

    .reveal.is-visible .animate-heading::after, .animate-heading.is-visible::after {
        width: 100%;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: .98rem;
    }

    .hero-section {
        padding: 4rem 0 5rem 0;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .services-section, .why-choose-section, .technologies-section, .cta-section {
        padding: 4.2rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.05rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .tech-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inner {
        text-align: center;
    }
}

/* Error Boundary */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA6IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2IDY2LjAxODMgMjYzLjU4NiA2Ni4wMTgzWk0yNjMuNTc2IDg2LjA1NDdDMjYxLjA0OSA4Ni4wNTQ7IDI1OS43ODUgODcuMzAwNSAyNTkuNzg2IDg5Ljc5MjEgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA4OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Contact form additions */
.form-control {
    width: 100%;
    padding: .75rem 1rem;
    margin: .6rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(255,138,0,.25);
    }

.form-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
}

.status {
    font-size: .75rem;
    color: var(--color-text-soft);
    padding-right: 1rem;
}

.btn-cta[type="submit"] {
    margin-bottom: 1em;
}
/* --- Navbar Styles --- */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    position: relative;
    z-index: 100;
}

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
    }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: none;
}

.navbar-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.25rem 0;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-base);
}

    .navbar-link:hover {
        color: var(--color-accent);
        text-decoration: underline;
    }

/* Hamburger styles */
.navbar-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger-icon {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-text);
    position: relative;
    border-radius: 2px;
}

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 28px;
        height: 3px;
        background: var(--color-text);
        border-radius: 2px;
        transition: 0.3s;
    }

    .hamburger-icon::before {
        top: -8px;
    }

    .hamburger-icon::after {
        top: 8px;
    }

/* Mobile styles */
@media (max-width: 900px) {
    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%; /* changed from 100vw to avoid horizontal overflow */
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: var(--shadow-md);
        padding: 1.2rem 1.5rem;
        display: none;
        overflow-x: hidden; /* ensure no accidental horizontal scroll */
    }

        .navbar-links.open {
            display: flex;
        }

    .navbar-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.15rem;
        border-bottom: 1px solid var(--color-border);
        background: none;
        text-align: left;
    }

    .navbar-hamburger {
        display: block;
    }
}

/* Hide hamburger on desktop */
@media (min-width: 901px) {
    .navbar-hamburger {
        display: none;
    }

    .navbar-links {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        width: auto;
    }

    .navbar-link {
        border-bottom: none;
        font-size: 1rem;
        padding: 0.25rem 0;
        text-align: center;
    }
}

/* Microsoft Partner Badge */
.ms-partner-badge {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .ms-partner-badge img {
        height: 22px;
        width: auto;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(161,148,96,0.10);
        padding: 2px 6px;
    }

/* Microsoft Partner Badge in Footer */
.ms-partner-badge-footer {
    margin-top: 1.2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 38px;
    background: none;
}

    .ms-partner-badge-footer img {
        height: 38px;
        width: auto;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(161,148,96,0.10);
        padding: 4px 12px;
    }

/* Process Strip Section */
.process-strip {
    background: linear-gradient(90deg, #f5f7fa 0%, #fff 100%);
    padding: 3.2rem 0 2.8rem 0;
    margin-bottom: 0;
    text-align: center;
}

.process-strip-header {
    margin-bottom: 2.2rem;
}

.process-strip-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    letter-spacing: -.5px;
}

.process-strip-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-soft);
    max-width: 720px;
    margin: 1em auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.1rem 1.2rem 2.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow .3s, transform .3s;
    border: 1px solid var(--color-border);
    position: relative;
    min-height: 220px;
}

    .process-step:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px) scale(1.03);
        border-color: var(--color-accent);
    }

.process-step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.1rem;
}

.process-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.process-step-desc {
    color: var(--color-text-soft);
    font-size: 0.98rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .process-step {
        min-height: 180px;
        padding: 1.5rem 0.7rem 1.5rem 0.7rem;
    }
}

@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        min-height: 120px;
        padding: 1.1rem 0.5rem 1.1rem 0.5rem;
    }

    .process-strip-title {
        font-size: 1.3rem;
    }
}
