﻿body {
}

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




.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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."
    }

.diskret-lank {
    font-size: 0.85rem;
    color: #2c2c2c;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

    .diskret-lank:hover {
        opacity: 1;
        color: #4CAF50; /* Din gröna accentfärg */
        text-decoration: underline;
    }

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

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* General Styles */
body {
    background-color: #f5f5f5 !important; /* Off white */
    color: #2c2c2cff; /* Dark grey */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background: linear-gradient(to right, #2c3e50, #4CAF50); /* Dark grey to green */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: top 0.3s ease-in-out;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    .navbar.hidden {
        top: -100px;
    }

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF !important;
    margin-right: 2rem;
}

.navbar .nav-link {
    color: #FFFFFF !important;
    font-size: 1rem;
    margin-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

    .navbar .nav-link::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #FFFFFF;
        bottom: -5px;
        left: 0;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }

    .navbar .nav-link:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .navbar .nav-link:hover {
        color: #FFFFFF !important;
    }

.navbar-toggler {
    border: none;
    color: #FFFFFF;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
@keyframes animated-gradient {
    0% {
        background-position: 0% 50%;
    }

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

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






/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f5f5f5; /* Off white */
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50; /* Green */
    margin-bottom: 2rem;
    text-align: center;
}

.service-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    font-size: 2.5rem;
    color: #4CAF50; /* Green */
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #4CAF50; /* Green */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #333333; /* Dark grey */
    font-size: 1rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-body iframe {
    border-radius: 0 0 8px 8px;
}

.testimonial-text {
    font-style: italic;
    color: #333333; /* Dark grey */
}

.testimonial-author {
    font-weight: bold;
    color: #4CAF50; /* Green */
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .team-card img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 1rem;
        object-position: center;
    }

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

/* Blog card styling */
.blog-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.featured-post {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.featured-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.7); /* Halvtransparent grön */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    transition: background 0.3s ease;
}

    .featured-overlay:hover {
        background: rgba(76, 175, 80, 0.8);
    }

.featured-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.featured-excerpt {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 300px; /* Fixed height */
    object-fit: cover; /* Ensures consistent image cropping */
    border-radius: 10px;
}


/* Footer */
footer {
    background: linear-gradient(to right, #FFFFFF, #f1f1f1); /* White to off white */
    padding-bottom: 2rem 0;
    color: #333333;
    text-align: center;
}

    footer p {
        margin: 0;
    }

    footer .social-links a {
        color: #333333;
        margin: 0 10px;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

        footer .social-links a:hover {
            color: #4CAF50; /* Green */
        }

/* Global Typography – matching the hero headline style */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, button {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

/* Optionally, adjust headings so they scale nicely while still matching */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

}

*/
body, h1, h2, h3, h4, h5, h6, p, a, span, li, button {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}
/* Preloader styles */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #4CAF50;
}

html {
    scroll-behavior: smooth;
}






.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 0;
}

    .hero-wave svg {
        width: 140% !important;
        max-width: none !important; /* Lite bredare än skärmen */
        margin-left: -10%;
        height: auto;
        display: block;
        opacity: 0.95;
    }

    /* Enhancing the Wave Gradient */
    .hero-wave path {
        fill: url(#waveGradient);
        transition: all 0.5s ease-in-out;
    }

/* Wave Animation */
@keyframes waveMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50px);
    }
}

.hero-wave svg {
    animation: waveMove 3s infinite alternate ease-in-out;
    width: 130%; /* Lite bredare än skärmen */
    height: auto;
    margin-left: -10%;
    display: block;
    opacity: 0.95;
}

/* Global Typography with Poppins font */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, button {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

/* Preloader styles */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #4CAF50;
}
/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* HERO SECTION with layered gradient + wave */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(285deg, #4CAF50 0%, #2c3e50 100%);
    background-size: cover;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
    padding: 4rem 2rem;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.1), transparent 70%);
        animation: pulseGlow 5s infinite alternate;
    }

    .hero-section .container {
        position: relative;
        z-index: 2; /* Above the radial gradient */
    }

@keyframes pulseGlow {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
}

.hero-title:focus,
.lead:focus {
    outline: none;
    box-shadow: none;
}
/* Wave divider at the bottom of hero */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0 !important;
    color: #F8F8F8
}

    .hero-wave svg {
        width: 100%;
        height: auto;
        display: block;
    }

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

    /* Highlight AI-vågen */
    .hero-section h1 span {
        color: #00E676;
        text-shadow: 0px 0px 20px rgba(0, 230, 118, 0.6);
    }

/* Hero subtitle */
.hero-section p {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
    color: #E0E0E0;
}

.hero-section .btn-primary {
    background: linear-gradient(45deg, #00E676, #00BFA5);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    box-shadow: 0px 5px 15px rgba(0, 230, 118, 0.4);
}

    /* CTA Hover Effect */
    .hero-section .btn-primary:hover {
        background: linear-gradient(45deg, #00C853, #00897B) !important;
        transform: scale(1.05) !important;
        box-shadow: 0px 8px 20px rgba(0, 230, 118, 0.6) !important;
    }

.hero-section .btn-cta {
    background: linear-gradient(45deg, #00E676, #00BFA5);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1 !important;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    box-shadow: 0px 5px 15px rgba(0, 230, 118, 0.4);
    border: none;
    animation: pulse 3s infinite alternate;
}
/* Tar bort padding/marginal på små skärmar */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: center;
    }
}

.navi .btn-cta {
    background: linear-gradient(45deg, #00E676, #00BFA5);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    box-shadow: 0px 5px 15px rgba(0, 230, 118, 0.4);
    border: none;
    animation: pulse 3s infinite alternate;
}

.btn-cta:hover {
    background: linear-gradient(45deg, #00C853, #00897B) !important;
    transform: scale(1.05) !important;
    box-shadow: 0px 8px 20px rgba(0, 230, 118, 0.6) !important;
    color: white !important;
}




.floating-label {
    position: absolute; /* Eller fixed, beroende på om du vill att den ska ligga kvar vid scroll */
    top: 120px;
    right: 15px;
    background: rgb(0, 0, 0, 0.20);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 1px;
    /*box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);*/
    z-index: 9999; /* Se till att den ligger ovanför annat */
}

@media (max-width: 768px) {
    .floating-label {
        top: auto;
        bottom: 10px;
        right: 20px;
        left: 20px;
        font-size: 12px;
        text-align: center;
        padding: 8px 12px;
        border-radius: 12px;
        width: auto;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.hero-section .btn-primary {
    animation: pulse 3s infinite alternate;
}

/* Styling för modaler */
.custom-modal .modal-content {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.custom-modal .modal-header {
    background-color: #4CAF50;
    color: #fff;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

    .custom-modal .modal-header .modal-title {
        font-size: 1.5rem;
    }

.custom-modal .modal-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-readmore {
    background: linear-gradient(45deg, #4CAF50, #81C784);
    border: none;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

    .btn-readmore:hover {
        background: linear-gradient(45deg, #43A047, #66BB6A);
        transform: translateY(-2px);
    }

.btn-success {
    background: linear-gradient(45deg, #4CAF50, #81C784) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

    .btn-success:hover {
        background: linear-gradient(45deg, #43A047, #66BB6A) !important;
        transform: translateY(-2px);
    }

.btn-outline-success {
    background: transparent !important;
    border: 2px solid #4CAF50 !important;
    color: #4CAF50 !important;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

    .btn-outline-success:hover {
        background: linear-gradient(45deg, #43A047, #66BB6A) !important;
        color: #fff !important;
        border-color: transparent !important;
        transform: translateY(-2px);
    }


/* För att säkerställa att modalen ligger över andra element */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal.custom-modal {
    z-index: 1050 !important;
}


/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    }

.service-icon {
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 1rem;
}

/* Testimonials & Team & Blog Cards with refined shadows */
.testimonial-card,
.team-card,
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonial-card:hover,
    .team-card:hover,
    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

.logo-img {
    max-height: 80px; /* Anpassa efter smak */
    width: auto;
    border-radius: 6px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

    .glass-card:hover {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
        transform: scale(1.01);
    }

.animated-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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



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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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."
    }

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

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}*/

/* General Styles */
/*body {
    background-color: #F8F8F8;*/ /* Off white */
    /*color: #2c2c2c3a;*/ /* Dark grey */
    /*font-family: 'Segoe UI', Tahoma, Geneva         , Verdana, sans-serif;
    margin: 0;
    padding: 0;
}*/

/* Navbar */
/*.navbar {
    background: linear-gradient(to right, #2c3e50, #4CAF50);*/ /* Dark grey to green */
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF !important;
    margin-right: 2rem;
}

.navbar .nav-link {
    color: #FFFFFF !important;
    font-size: 1rem;
    margin-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

    .navbar .nav-link::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #FFFFFF;
        bottom: -5px;
        left: 0;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease;
    }

    .navbar .nav-link:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .navbar .nav-link:hover {
        color: #FFFFFF !important;
    }

.navbar-toggler {
    border: none;
    color: #FFFFFF;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}*/

/* Hero Section */
/*@keyframes animated-gradient {
    0% {
        background-position: 0% 50%;
    }

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

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

.hero-section {
    min-height: 100vh;*/ /* full screen height, adjust as needed */
    /*background: linear-gradient(135deg, #4caf50 0%, #2c3e50 100%);
    background-size: cover;
    position: relative;
    overflow: hidden;*/ /* so the wave is clipped properly */
/*}

    .hero-section::before {*/
        /* Add a second, subtle gradient layer for creativity */
        /*content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.1), transparent 70%);*/
        /* The radial gradient adds a faint highlight up top */
        /*z-index: 1;
    }

.hero-content {
    z-index: 2;*/ /* ensure text is above gradient layers */
    /*max-width: 800px;
    margin: auto;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;*/
    /* If you want the wave to be behind content, set a lower z-index */
    /*z-index: 3;
    color: #F8F8F8;*/ /* Off white */
/*}

    .hero-wave svg {
        width: 100%;
        height: auto;
        display: block;
    }


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

    .hero-section h1 {
        font-size: 3.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

.hero-section .btn-primary {
    background-color: #F8F8F8;
    border-color: #F8F8F8;
    color: #4CAF50;
    font-size: 1.1rem;
    padding: 10px 25px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

        .hero-section .btn-primary:hover {
            background-color: #4CAF50;
            border-color: #4CAF50;
            color: #FFFFFF;
        }*/

/* Services Section */
/*.services-section {
    padding: 80px 0;
    background-color: #f1f1f1;*/ /* Off white */
/*}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;*/ /* Green */
    /*margin-bottom: 2rem;
    text-align: center;
}

.service-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    font-size: 2.5rem;
    color: #4CAF50;*/ /* Green */
    /*margin-bottom: 1rem;
}

.service-card h3 {
    color: #4CAF50;*/ /* Green */
    /*font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #333333;*/ /* Dark grey */
    /*font-size: 1rem;
}*/

/* About Section */
/*.about-section {
    padding: 80px 0;
}*/

/* Testimonials Section */
/*.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: #333333;*/ /* Dark grey */
/*}

.testimonial-author {
    font-weight: bold;
    color: #4CAF50;*/ /* Green */
/*}*/

/* Team Section */
/*.team-section {
    padding: 80px 0;
}

.team-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    .team-card img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 1rem;
        object-position: center;
    }*/

/* Contact Section */
/*.contact-section {
    padding: 80px 0;
}*/

/* Blog Section */
/*.blog-section {
    padding: 80px 0;
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .blog-card img {
        width: 100%;
        height: 300px;*/ /* Fixed height */
        /*object-fit: cover;*/ /* Ensures consistent image cropping */
        /*border-radius: 10px;
    }*/


/* Footer */
/*footer {
    background: linear-gradient(to right, #FFFFFF, #f1f1f1);*/ /* White to off white */
    /*padding-bottom: 2rem 0;
    color: #333333;
    text-align: center;
}

    footer p {
        margin: 0;
    }

    footer .social-links a {
        color: #333333;
        margin: 0 10px;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

        footer .social-links a:hover {
            color: #4CAF50;*/ /* Green */
        /*}*/

/* Global Typography – matching the hero headline style */
/*body, h1, h2, h3, h4, h5, h6, p, a, span, li, button {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}*/

/* Optionally, adjust headings so they scale nicely while still matching */
/*h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}*/



/* Responsive Styles */

/*

body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

Navbar
.navbar {
    background-color: #1E1E1E;
    border-bottom: 1px solid #333;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00BFA5 !important;
}

.navbar .nav-link {
    color: #E0E0E0 !important;
}

    .navbar .nav-link:hover {
        color: #00BFA5 !important;
    }

Hero Section
.hero-section {
    background: linear-gradient(135deg, #1E1E1E, #121212);
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #00BFA5;
}

.hero-section p {
    font-size: 1.2rem;
    color: #E0E0E0;
}

.hero-section .btn-primary {
    background-color: #00BFA5;
    border-color: #00BFA5;
    font-size: 1.1rem;
    padding: 10px 25px;
}

    .hero-section .btn-primary:hover {
        background-color: #009688;
        border-color: #009688;
    }

Services Section
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00BFA5;
    margin-bottom: 30px;
}

.service-card {
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.service-icon {
    font-size: 2.5rem;
    color: #00BFA5;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #00BFA5;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #E0E0E0;
    font-size: 1rem;
}

.footer {
    background-color: #1E1E1E;
    padding: 20px 0;
    color: #E0E0E0;
    border-top: 1px solid #333;
}

    .footer .social-links a {
        color: #E0E0E0;
        margin: 0 10px;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

        .footer .social-links a:hover {
            color: #00BFA5;
        }

*/
/*body, h1, h2, h3, h4, h5, h6, p, a, span, li, button {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}*/
/* Preloader styles */
/*#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #4CAF50;
}
 Smooth scroll 
html {
    scroll-behavior: smooth;
}
 Navbar shrink style 
.navbar-shrink {
    padding: 0.5rem 0;
    transition: padding 0.3s ease;
}*/
 /*Hero Section 
.hero-section {
    position: relative;
    overflow: hidden;
    background: #333333;  Dark grey background 
    background-attachment: fixed;  Parallax effect 
    padding: 120px 0;
    text-align: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

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

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 400;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-section .btn-primary {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #4CAF50;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s;
}

    .hero-section .btn-primary:hover {
        background-color: #4CAF50;
        border-color: #4CAF50;
        color: #FFFFFF;
        transform: translateY(-3px);
    }
 Section Titles 
.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}
 Service Cards 
.service-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    }

.service-icon {
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 1rem;
}
 Testimonials & Team Cards remain similar with refined shadows 
.testimonial-card, .team-card, .blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonial-card:hover, .team-card:hover, .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }*/