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

h1:focus {
    outline: none;
}

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

.btn-primary {
    color: #ffffff;
    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 {
    padding-top: 1.1rem;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA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ZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.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");
    }

code {
    color: #c02d76;
}

.responsive-heading {
    color: #ffffff;
    margin-right: 3rem;
    font-size: 2.5rem;
}

@media (max-width: 600px) {
    .responsive-heading {
        font-size: 1.5rem;
        margin-right: 0;
        text-align: center;
    }


    .wave-container {
        border-top-left-radius: 0% -20px;
        border-top-right-radius: 50% 20vw;
        border-bottom-left-radius: 0% 20vw;
        border-bottom-right-radius: 0% 20vw;
    }
}

.wave-container {
    background-color: white;
    border-top-left-radius: 50% -10px;
    border-top-right-radius: 50% 10vw;
    border-bottom-left-radius: 0% 10vw;
    border-bottom-right-radius: 0% 10vw;
}

.creative-s {
    color: white;
    font-size: 160px;
    font-weight: 900;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    width: 200px;
    height: 200px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .creative-s:hover {
        transform: scale(1.05) rotate(-1deg);
        box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.2), 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    }

.icon-card {
    background-color: #90D5FF;
    border-radius: 5% 50% 30% 50%;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-card:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card {
    background-color: #4d8ca6;
    border-radius: 5% 5% 5% 5%;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .process-card:hover {
        transform: scale(1.05) rotate(-1deg);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

.title-text{
    padding-left:50px;
}
@media (max-width: 600px) {
    .title-text {
        padding-left: 20px;
    }
}


.tight-s {
    width: 60px;
    height: 60px;
    background-color: #90D5FF; /* Light blue background */
    color: white;
    font-size: 40px;
    font-weight: 800;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
    user-select: none;
}

.mud-appbar.menu-bar {
    background: rgba(26, 43, 60, 0.3); /* Slightly transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

    /* Solid background when scrolled */
.mud-appbar.menu-bar.scrolled {
    background: #1A2B3C;
}

@media (max-width: 600px) {
    .mobile {
        margin-top: 0px !important;
    }
}

.badge-cloud {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.badge-float {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

    /* Add variation to movement by using nth-child */
    .badge-float:nth-child(odd) {
        animation-duration: 5s;
        top: -10px;
    }

    .badge-float:nth-child(even) {
        animation-duration: 7s;
        top: 10px;
    }

/* Circular Badge Styling */
.badge-circle {
    background-color: white;
    border: 4px solid #90D5FF;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    /* On hover */
    .badge-circle:hover {
        transform: scale(1.1) rotate(2deg);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

    100% {
        transform: translateY(0px);
    }
}

.mud-toolbar-gutters {
    padding-left:0 !important;
    padding-right: 0 !important;
}

.shiny-title {
    position: relative;
    margin: 10px auto 24px;
    width: fit-content;
    color: #1A2B3C;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255,255,255,0.35);
    padding-bottom: 10px; /* space for the underline */
}

    /* animated shiny underline */
    .shiny-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, #1E3145, #5DADE2, #1E3145);
        background-size: 200% 100%;
        animation: underline-shine 3s linear infinite;
    }

    /* optional subtle pulse on the text itself */
    .shiny-title::before {
        content: "";
        position: absolute;
        inset: 0;
        filter: blur(12px);
        opacity: 0.15;
        background: radial-gradient(circle at 50% 120%, #5DADE2 0%, transparent 70%);
        pointer-events: none;
    }

@keyframes underline-shine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Accessibility: stop animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .shiny-title::after {
        animation: none;
        background-position: 100% 50%;
    }
}