/* =============================================
   Barnet Associates - Blazor App Styles
   ============================================= */

/* CSS Variables */
:root {
    --theme: #0066cc;
    --themeExtra: #004499;
    --defaultColor: #333333;
    --lightColor: #666666;
    --white: #ffffff;
    --black: #000000;
    --gray: #f5f5f5;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--defaultColor);
    background-color: var(--white);
    overflow-x: hidden;
}

a, .btn-link {
    color: #006bb7;
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--theme);
    }

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1:focus {
    outline: none;
}

/* Button Styles */
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Content Area */
.content {
    padding-top: 1.1rem;
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Preloader - Hidden by default, shown briefly then removed */
.prealoder-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #fff !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
}

    .prealoder-area img {
        width: 900px !important;
        height: auto !important;
        max-width: none !important;
        min-width: 900px !important;
    }

/* Header Area */
.header-area {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--gray);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

    .header-top ul {
        display: flex;
        justify-content: flex-end;
        gap: 30px;
    }

        .header-top ul li a {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--lightColor);
        }

            .header-top ul li a img {
                width: 16px;
                height: 16px;
            }

.header-bottom {
    padding: 15px 0;
}

.logo-area img {
    max-height: 50px;
}

/* Navigation Menu */
.menu-area nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

    .menu-area nav ul li {
        position: relative;
    }

        .menu-area nav ul li a,
        .menu-area nav ul li ::deep a {
            font-weight: 500;
            color: var(--defaultColor);
            padding: 10px 0;
            display: inline-block;
        }

            .menu-area nav ul li a:hover,
            .menu-area nav ul li ::deep a:hover,
            .menu-area nav ul li ::deep a.active {
                color: var(--theme);
            }

        /* Dropdown Menu */
        .menu-area nav ul li.dropdown {
            position: relative;
        }

            .menu-area nav ul li.dropdown > ul {
                position: absolute;
                top: 100%;
                left: 0;
                min-width: 250px;
                background: #004499 !important;
                box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
                border-radius: 8px;
                padding: 15px 0;
                opacity: 0;
                visibility: hidden;
                transform: translateY(10px);
                transition: all 0.3s ease;
                display: flex;
                flex-direction: column;
                gap: 0;
                z-index: 1000;
            }

            .menu-area nav ul li.dropdown:hover > ul {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .menu-area nav ul li.dropdown > ul li {
                width: 100%;
            }

                .menu-area nav ul li.dropdown > ul li a,
                .menu-area nav ul li.dropdown > ul li ::deep a {
                    display: block;
                    padding: 10px 20px;
                    font-weight: 400;
                    color: #fff !important;
                }

                    .menu-area nav ul li.dropdown > ul li a:hover,
                    .menu-area nav ul li.dropdown > ul li ::deep a:hover {
                        background: #0066cc !important;
                        color: #fff !important;
                    }

/* Menu Buttons */
.m-btn {
    padding: 10px 25px !important;
    border-radius: 25px;
    font-weight: 600 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

    .m-btn.contact-btn {
        background: var(--theme);
        color: var(--white) !important;
    }

        .m-btn.contact-btn:hover {
            background: var(--themeExtra);
        }

    .m-btn.support {
        background: var(--themeExtra);
        color: var(--white) !important;
    }

        .m-btn.support:hover {
            background: var(--theme);
        }

/* Mobile Menu Toggle - Hamburger Button */
.bar-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Mobile Menu - ensure it's above the overlay */
.mobile-menu,
.mobile-menu.siteBar {
    z-index: 9999 !important;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

.mobile-menu .logo {
    display: block;
    margin-bottom: 30px;
}

    .mobile-menu .logo img {
        max-height: 40px;
    }

.mobile-menu .bars {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--defaultColor);
    -webkit-tap-highlight-color: transparent;
}

    .mobile-menu .bars:hover {
        color: var(--theme);
    }

.mobile-menu nav ul {
    margin-bottom: 20px;
}

    .mobile-menu nav ul li {
        border-bottom: 1px solid var(--border);
    }

        .mobile-menu nav ul li a,
        .mobile-menu nav ul li ::deep a {
            display: block;
            padding: 15px 0;
            font-weight: 500;
            color: var(--defaultColor);
        }

            .mobile-menu nav ul li a:hover,
            .mobile-menu nav ul li ::deep a:hover {
                color: var(--theme);
            }

        .mobile-menu nav ul li.dropdown ul {
            padding-left: 20px;
        }

            .mobile-menu nav ul li.dropdown ul li {
                border-bottom: none;
            }

                .mobile-menu nav ul li.dropdown ul li a,
                .mobile-menu nav ul li.dropdown ul li ::deep a {
                    padding: 10px 0;
                    font-size: 14px;
                }

.mobile-menu .contacts {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

    .mobile-menu .contacts ul li {
        border: none;
    }

        .mobile-menu .contacts ul li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            font-size: 14px;
        }

            .mobile-menu .contacts ul li a img {
                width: 16px;
            }

.mobile-menu .btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .mobile-menu .btns a {
        display: block;
        text-align: center;
        padding: 12px 20px;
        border-radius: 25px;
        font-weight: 600;
        background: var(--theme);
        color: var(--white);
        cursor: pointer;
    }

        .mobile-menu .btns a:hover {
            background: var(--themeExtra);
            color: var(--white);
        }

/* Hero Area */
.hero-area {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray) 0%, var(--white) 100%);
}

.hero-wrp .section-title h5 {
    color: var(--theme);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-wrp .section-title h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--defaultColor);
}

    .hero-wrp .section-title h1 b {
        color: var(--theme);
    }

.hero-wrp p {
    color: var(--lightColor);
    margin-bottom: 20px;
    font-size: 16px;
}

/* Hero Services Grid */
.hero-services {
    padding: 20px;
}

    .hero-services .services {
        background: var(--white);
        padding: 30px 15px;
        border-radius: 15px;
        box-shadow: 0 5px 30px var(--shadow);
        transition: var(--transition);
        height: 100%;
    }

        .hero-services .services:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
        }

    .hero-services .serv-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .hero-services .serv-icon img {
            max-width: 50px;
            max-height: 50px;
        }

    .hero-services .services p {
        font-size: 14px;
        font-weight: 600;
        color: var(--defaultColor);
        margin: 0;
    }

.mrb_lx {
    margin-bottom: 30px;
}

.mrb_sm {
    margin-bottom: 15px;
}

/* About Area */
.about-area {
    padding: 100px 0;
    position: relative;
}

    .about-area.withOvl {
        background: var(--gray);
    }

.section-title {
    margin-bottom: 30px;
}

    .section-title h5 {
        color: var(--theme);
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .section-title h1 {
        font-size: 36px;
        line-height: 1.4;
        color: var(--defaultColor);
    }

        .section-title h1 b {
            color: var(--theme);
        }

    .section-title.middle-title {
        text-align: center;
        margin: 50px 0;
    }

.about-desc p {
    color: var(--lightColor);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Team Section */
.we_are {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .we_are .item {
        background: var(--white);
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 5px 20px var(--shadow);
        text-align: center;
        flex: 1;
        min-width: 150px;
    }

        .we_are .item img {
            width: 200px;
            height: 175px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center;
            margin-bottom: 15px;
        }

        .we_are .item h5 {
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--defaultColor);
        }

        .we_are .item p {
            font-size: 14px;
            color: var(--lightColor);
            margin: 0;
        }

    /* Team Grid - Extended layout for multiple team members */
    .we_are.team-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

        .we_are.team-grid .item {
            flex: 0 0 calc(33.333% - 30px);
            max-width: calc(33.333% - 30px);
            min-width: auto;
            transition: var(--transition);
        }

            .we_are.team-grid .item:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
            }

            .we_are.team-grid .item .title {
                color: var(--theme);
                font-weight: 600;
                margin-bottom: 15px;
            }

            .we_are.team-grid .item .bio {
                border-top: 1px solid var(--border);
                padding-top: 15px;
                margin-top: 5px;
                text-align: left;
            }

                .we_are.team-grid .item .bio p {
                    font-size: 13px;
                    line-height: 1.7;
                    color: var(--lightColor);
                    margin-bottom: 10px;
                }

                    .we_are.team-grid .item .bio p:last-child {
                        margin-bottom: 0;
                    }

                .we_are.team-grid .item .bio .fun-fact {
                    background: var(--gray);
                    padding: 10px 12px;
                    border-radius: 8px;
                    border-left: 3px solid var(--theme);
                    font-style: italic;
                    margin-top: 12px;
                }

.about-contents h2 {
    font-size: 32px;
    color: var(--theme);
    margin-bottom: 20px;
}

.about-contents p {
    color: var(--lightColor);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Partners Area */
.partners-area {
    padding: 100px 0;
    background: var(--white);
}

    .partners-area .section-title.first h1 {
        font-size: 28px;
    }

    .partners-area .section-title.bottom {
        margin-top: 50px;
    }

.partners-company {
    margin-top: 50px;
    text-align: center;
}

    .partners-company ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
        margin-bottom: 50px;
    }

        .partners-company ul li {
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .partners-company ul li img {
                max-height: 50px;
                filter: grayscale(100%);
                opacity: 0.7;
                transition: var(--transition);
            }

                .partners-company ul li img:hover {
                    filter: grayscale(0%);
                    opacity: 1;
                }

    .partners-company .map {
        max-width: 100%;
        opacity: 0.8;
    }

/* Contact Area */
.contact-area {
    padding: 100px 0;
    background: var(--gray);
}

    .contact-area .section-title {
        text-align: center;
        margin-bottom: 50px;
    }

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

    .contact-form label {
        display: block;
        margin-bottom: 20px;
        font-weight: 600;
        color: var(--defaultColor);
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 15px;
        border: 1px solid var(--border);
        border-radius: 10px;
        font-size: 16px;
        margin-top: 8px;
        transition: var(--transition);
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--theme);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }

    .contact-form textarea {
        min-height: 150px;
        resize: vertical;
    }

    .contact-form button {
        width: 100%;
        padding: 15px 30px;
        background: var(--theme);
        color: var(--white);
        border: none;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }

        .contact-form button:hover {
            background: var(--themeExtra);
            transform: translateY(-2px);
        }

/* Form Layout - Two Column */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

    .form-group.half {
        flex: 1;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--defaultColor);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 15px;
        border: 1px solid var(--border);
        border-radius: 10px;
        font-size: 16px;
        transition: var(--transition);
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--theme);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }

    .form-group select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        padding-right: 40px;
        cursor: pointer;
    }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

/* reCAPTCHA Styling */
.recaptcha-group {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

    .recaptcha-group .g-recaptcha {
        transform-origin: center;
    }

/* Thank You Pages */
.thank-you-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

    .thank-you-section .thank-you-icon {
        color: var(--theme);
        margin-bottom: 30px;
    }

        .thank-you-section .thank-you-icon svg {
            width: 80px;
            height: 80px;
        }

    .thank-you-section h1 {
        font-size: 32px;
        color: var(--defaultColor);
        margin-bottom: 20px;
    }

    .thank-you-section p {
        font-size: 16px;
        color: var(--lightColor);
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .thank-you-section .thank-you-actions {
        margin-top: 40px;
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

.theme-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

    .theme-btn.v-blue {
        background: var(--theme);
        color: var(--white);
    }

        .theme-btn.v-blue:hover {
            background: var(--themeExtra);
            color: var(--white);
        }

    .theme-btn.v-outline {
        background: transparent;
        color: var(--theme);
        border: 2px solid var(--theme);
    }

        .theme-btn.v-outline:hover {
            background: var(--theme);
            color: var(--white);
        }

/* reCAPTCHA Notice */
.recaptcha-notice {
    font-size: 12px;
    color: var(--lightColor);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

    .recaptcha-notice a {
        color: var(--theme);
    }

/* =============================================
   Footer Area
   ============================================= */

.footer-area {
    background: #333333;
    padding: 50px 0;
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    flex-shrink: 0;
}

    .footer-logo img {
        max-height: 40px;
        filter: brightness(0) invert(1);
    }

/* Newsletter Box - Footer Subscribe Section */
.newsletter-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    min-width: 0;
}

.newsletter-title {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 500;
}

.newsletter-box form {
    display: block;
    width: 100%;
}

.newsletter-field {
    width: 100%;
    margin-bottom: 15px;
}

    .newsletter-field label {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .newsletter-field input {
        width: 100%;
        padding: 14px 18px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        box-sizing: border-box;
    }

        .newsletter-field input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter-field input:focus {
            outline: none;
            border-color: #0066cc;
            background: rgba(255, 255, 255, 0.1);
        }

.newsletter-actions {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.newsletter-recaptcha {
    flex-shrink: 0;
}

.newsletter-box button {
    padding: 14px 30px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    height: 78px;
}

    .newsletter-box button:hover {
        background: #004499;
    }

/* Utility Classes */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* =============================================
   Form Validation & Blazor-specific Styles
   ============================================= */

/* Valid/Invalid Form States */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 400;
}

.validation-errors {
    color: #e50000;
    padding: 10px;
    margin-bottom: 15px;
    background: #fff5f5;
    border-radius: 5px;
}

/* Checkbox Styles */
.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Blazor Error Boundary */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* Blazor Error UI */
#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;
    }

/* Loading Indicator */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: var(--theme);
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--border);
            stroke-dasharray: calc(3.14 * 8rem);
            stroke-dashoffset: calc(3.14 * 8rem);
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 991px) {
    .hero-area {
        padding: 50px 0;
    }

    .hero-wrp .section-title h1 {
        font-size: 32px;
    }

    .hero-services {
        margin-top: 40px;
    }

    .about-area,
    .partners-area,
    .contact-area {
        padding: 60px 0;
    }

    .section-title h1 {
        font-size: 28px;
    }

    .we_are {
        margin-bottom: 30px;
    }

        .we_are.team-grid .item {
            flex: 0 0 calc(50% - 30px);
            max-width: calc(50% - 30px);
        }

    .footer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .footer-logo {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-wrp .section-title h1 {
        font-size: 26px;
    }

    .section-title h1 {
        font-size: 24px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .newsletter-box {
        padding: 25px;
    }

    .newsletter-title {
        font-size: 16px;
    }

    .newsletter-actions {
        flex-direction: column;
    }

    .newsletter-recaptcha {
        display: flex;
        justify-content: center;
    }

    .newsletter-box button {
        width: 100%;
        height: auto;
    }

    .partners-company ul {
        gap: 20px;
    }

        .partners-company ul li img {
            max-height: 35px;
        }
}

@media (max-width: 575px) {
    .hero-services .services {
        padding: 20px 10px;
    }

    .hero-services .serv-icon {
        width: 40px;
        height: 40px;
    }

    .hero-services .services p {
        font-size: 12px;
    }

    .we_are .item {
        min-width: 100%;
    }

    .we_are.team-grid .item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .newsletter-box {
        padding: 20px;
        border-radius: 15px;
    }

    .footer-container {
        padding: 0 15px;
    }
}
