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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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,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."
}

/* Method 2: Recommended - Replace with custom focus style */
h1:focus {
    outline: 2px solid transparent; /* Maintains accessibility while hiding default outline */
    box-shadow: none; /* Remove any additional focus indicators */
}

/* Original color scheme 
:root {
--primary: #2563eb;
--primary-light: #dbeafe;
--primary-dark: #1e40af;
--secondary: #7c3aed;
--secondary-light: #cffafe;
--accent: #7c3aed;
--dark: #1e293b;
--light: #f8fafc;
--gradient-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

*/

:root {
    /* gx blue = 0000AB */
    /* gx orange = EE4600 */
    --primary: #0000AB;
    --primary-light: #dbeafe;
    --primary-dark: #1e40af;
    --secondary: #EE4600; /* #7c3aed #0891b2; */
    --secondary-light: #cffafe;
    --accent: #7c3aed;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.hero-section {
    background: var(--gradient-bg);
    padding: 6rem 0;
    margin-bottom: 0;
    position: relative;
    color: white;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
        opacity: 0.5;
    }

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-bottom svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 70px;
    }

    .wave-bottom .shape-fill {
        fill: var(--light);
    }

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

    .wave-top svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 70px;
    }

    .wave-top .shape-fill {
        fill: var(--light);
    }

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

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--primary);
    }

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.service-card {
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    background: white;
    border-bottom: 4px solid var(--primary);
}

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--primary-light);
        transition: all 0.3s ease;
        z-index: -1;
        border-radius: 10px 10px 0 0;
    }

    .service-card:hover::before {
        height: 100%;
    }

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
}

.client-type-nav .nav-link {
    color: var(--dark);
    border-radius: 30px;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
}

.client-type-nav .nav-link.active {
    color: white !important;
    background: var(--gradient-bg);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.project-card {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

    .project-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: var(--gradient-bg);
        transition: all 0.3s ease;
    }

    .project-card:hover::before {
        width: 100%;
        opacity: 0.1;
    }

    .project-card .project-details {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .project-card.active .project-details {
        max-height: 500px;
    }

.feature-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.skill-badge {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 30px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    margin: 0.3rem 0.2rem;
    transition: all 0.3s ease;
}

    .skill-badge:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 30px;
    padding: 0.5rem 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-primary::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: all 0.5s ease;
        z-index: -1;
    }

    .btn-primary:hover::after {
        left: 100%;
    }

    .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }

.btn-outline-secondary {
    color: white;
    border-color: white;
    border-radius: 30px;
    padding: 0.5rem 1.8rem;
    transition: all 0.3s ease;
}

    .btn-outline-secondary:hover {
        background: white;
        color: var(--primary);
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    }

footer {
    background: var(--dark);
    color: white;
    position: relative;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

    .footer-waves svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 70px;
    }

    .footer-waves .shape-fill {
        fill: var(--light);
    }

.form-control, .form-select {
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

/* Animated number counter */
.counter-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.counter-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0;
}

/* Animated background elements */
.bg-animate {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bg-animate-shape {
    position: absolute;
    background: rgba(255,255,255,0.20);
    border-radius: 50%;
    opacity: 0.7;
}

.shape1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
    z-index: 10000;
}

.shape2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation: float 9s ease-in-out infinite;
    z-index: 10000;
}

.shape3 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
    z-index: 10000;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Hexagon grid for skills */
    .hexagon-container {
    margin: 0 auto;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
}

.hexagon {
    position: relative;
    width: 100px;
    height: 110px;
    background-color: var(--primary-light);
    margin: 5px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .hexagon:hover {
        background-color: var(--primary);
        transform: scale(1.1);
    }

        .hexagon:hover .hexagon-content {
            color: white;
        }

.hexagon-content {
    text-align: center;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0 10px;
    transition: all 0.3s ease;
}