/* Grundläggande stilar */
:root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --background-color: #f9fafb;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --card-bg: #fff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --subheading-color: #4b5563;
}

#service-icon-gradient {
    --gradient-start: #0284c7;
    --gradient-end: #8A2BE2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color-dark);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Page Wrapper */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navigation */
nav {
    background-color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    z-index: 50;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.nav-links a:hover {
    border-color: #0284c7;
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 60;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #000000;
    z-index: 55;
    transition: right 0.3s ease;
    padding-top: 5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mobile-menu-links a {
    color: #fff;
    font-size: 1.2rem;
    padding: 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.mobile-menu-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Rubriker */
h1, h2, h3, h4.section-title {
    color: var(--text-color-dark);
}

/* Underrubriker */
h4, .section-subtitle {
    color: var(--text-color-dark);
}

h3 {
    color: var(--text-color-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0 2rem;
    background: #000000;
    position: relative;
    overflow: visible;
    color: #ffffff;
    margin-bottom: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
}

.hero-text-section {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -6rem;
}

.hero-video-section {
    grid-area: 1 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cta-section {
    grid-area: 2 / 1;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-quote-section {
    grid-area: 2 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text-section h1 {
    color: var(--text-color-light);
    font-size: 8rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-align: center;
}

.hero-text-section p {
    font-size: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: 500;
    text-align: center;
    margin-top: -1rem;
}

.hero-video-section video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #0284c7, #8A2BE2);
    color: white;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    width: 200px;
    text-align: center;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.hero-quote {
    /* width: 80%; */
    text-align: center;
    max-width: 600px;
}

/* Large (små laptops) */
@media (min-width: 1000px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .hero-content > div {
        flex: 1;
    }

    .hero-content:nth-child(odd) {
        flex-direction: row-reverse;
    }

    /* Byt plats på första sektionens element */
    .hero-content:first-child {
        flex-direction: row;
    }

    .dashboard-image {
        flex: 1;
        text-align: center;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium (surfplattor) */
@media (max-width: 999.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 2rem;
    }

    .hero-text-section {
        grid-area: 1 / 1;
        margin-top: -6rem;
    }

    .hero-video-section {
        grid-area: 2 / 1;
    }

    .hero-cta-section {
        grid-area: 3 / 1;
    }

    .hero-quote-section {
        grid-area: 4 / 1;
    }

    .hero-text-section h1 {
        font-size: 5rem;
    }
    
    .hero-text-section p {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
    }

    .dashboard-image {
        margin: 2rem 0;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small (mobiler) */
@media (max-width: 767.98px) {
    .hero-content {
        padding: 2rem;
    }

    .dashboard-image {
        margin: 1rem 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        width: 100%;
        max-width: 200px;
    }
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 2rem auto 0;
    transform: scale(1.25);
    z-index: 1;
}

.hero-image .background-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image .new-product-image {
    position: absolute;
    top: 25%;
    left: 82%;
    transform: translate(-50%, -50%) rotate(25deg);
    width: 20%;
    height: auto;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-white {
    background: linear-gradient(to right, #0284c7, #8A2BE2);
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s ease;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.btn-white:hover {
    background: linear-gradient(to right, #0369a1, #7B68EE);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background: linear-gradient(90deg, rgb(16, 95, 251), rgb(161, 90, 240));
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.dashboard {
    background-color: var(--background-color);
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--text-color-dark);
}

.dashboard-content > div {
    flex: 1;
}

.dashboard-image {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.dashboard-image video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.dashboard ul li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color-dark);
}

.dashboard ul li::before {
    content: "•";
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
    color: var(--text-color-dark);
}

.dashboard h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color-dark);
}

/* Large screens */
@media (min-width: 1000px) {
    .dashboard-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .dashboard-content:nth-child(odd) {
        flex-direction: row-reverse;
    }
}

/* Medium screens */
@media (max-width: 999.98px) {
    .dashboard-content {
        text-align: center;
    }

    .dashboard ul {
        text-align: left;
    }

    .dashboard-image {
        margin: 2rem 0;
    }
}

/* Small screens */
@media (max-width: 767.98px) {
    .dashboard {
        padding: 2rem 0;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .dashboard ul li {
        font-size: 1rem;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: left;
    font-weight: 400;
}

/* Cards Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

textarea.form-control {
    resize: vertical;
}

/* Footer */
#kontakt {
    background-color: #000000;
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

#kontakt h2, #kontakt h3 {
    color: var(--text-color-light);
}

/* Responsive Styles*/

/* XXL (stora skärmar) */
@media (min-width: 1400px) {
    .hero-text h1 {
        font-size: 8rem;
        margin-top: -180px;

    }
    
    .hero-text p {
        font-size: 2rem;
        text-align: left;
    }
    
    .hero-image {
        transform: scale(1.15);
        margin-left: 2rem;
    }

    .hero-image video {
        /* max-width: 40rem; */
        width: 85%;
        height: auto; 
        margin-left: 4rem;
    }
    
    .hero-cta {
        margin-top: -3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .section-subtitle {
        text-align: left;
    }
    
    .dashboard-image img {
        max-width: 30rem;
    }
}

/* Extra large (vanliga laptops/desktops) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-text-section h1 {
        font-size: 7rem;
    }
    
    .hero-text-section p {
        font-size: 1.8rem;
        text-align: center;
    }
}

/* Medium (surfplattor) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        margin-top: 0;
        position: relative;
        z-index: 3;
    }
    
    .hero-text h1 {
        font-size: 5rem;
        text-align: center;
    }
    
    .hero-text p {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .hero-image {
        margin-top: -4rem;
        transform: scale(1.1);
    }

    .hero-image video {
        /* max-width: 30rem; */
        width: 85%;
        height: auto; 
        /* margin-left: 2rem; */
        margin-top: 6rem;
    }
    
    .hero-image .background-image {
        max-width: 100%;
        margin-top: 0rem;
    }
    
    .hero-cta {
        /* margin-top: 3rem; */
        padding: 0.9rem 2rem;
        font-size: 1.3rem;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
    
    .section-subtitle {
        text-align: left;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 3rem;
        justify-content: center;
        width: 100%;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .slanted-divider {
        height: 75px;
    }
    
    .slanted-divider::before {
        clip-path: polygon(0 70%, 100% 0, 100% 0, 0 0);
    }
    
    .dashboard-image img {
        max-width: 100%;
    }
    
    #dashboard .section-title {
        font-size: 1.75rem;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
    
    #dashboard .section-subtitle {
        text-align: left;
    }
    
    .nav-links {
        display: none;
    }
    
    #dashboard .hero-content:first-of-type {
        display: flex;
        flex-direction: column-reverse;
    }
    
    #dashboard .hero-content:first-of-type .dashboard-image {
        margin-bottom: 2rem;
    }
    
    #kontakt h2, #kontakt h3, #kontakt p {
        text-align: center;
    }
    
    #dashboard .hero-content:nth-of-type(2) {
        margin-top: 4rem;
        display: flex;
        flex-direction: column;
    }
    
    #dashboard .hero-content:nth-of-type(2) .dashboard-image {
        margin-bottom: 2rem;
    }
    
    #tjanster .section-title {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
    
    #tjanster .section-subtitle {
        text-align: left;
    }
    
    .hamburger-menu {
        display: flex;
    }
}

/* Small (mobiler, landskap) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        margin-top: 0;
        position: relative;
        z-index: 3;
    }
    
    .hero-text h1 {
        font-size: 4rem;
        text-align: center;
    }
    
    .hero-text p {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .hero-image {
        margin-top: -4rem;
        transform: scale(1.05);
        height: auto;
    }

    .hero-image video {
        /* max-width: 30rem; */
        width: 85%;
        height: auto; 
        /* margin-left: 2rem; */
        margin-top: 5rem;
    }
    
    .hero-image .background-image {
        max-width: 100%;
        margin-top: -3rem;
    }
    
    .hero-cta {
        margin-top: 2rem;
        padding: 0.8rem 1.8rem;
        font-size: 1.2rem;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 1.65rem;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
    
    .section-subtitle {
        text-align: left;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .slanted-divider {
        height: 60px;
    }
    
    .slanted-divider::before {
        clip-path: polygon(0 70%, 100% 0, 100% 0, 0 0);
    }
    
    .dashboard-image img {
        max-width: 100%;
    }
    
    #dashboard .section-title {
        font-size: 1.65rem;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
    
    #dashboard .section-subtitle {
        text-align: left;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    /* .service-card {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    } */
    
    #kontakt h2, #kontakt h3, #kontakt p {
        text-align: center;
    }
    
    #dashboard .hero-content:first-of-type {
        display: flex;
        flex-direction: column-reverse;
    }
    
    #dashboard .hero-content:first-of-type .dashboard-image {
        margin-bottom: 2rem;
    }
    
    #dashboard .hero-content:nth-of-type(2) {
        margin-top: 3rem;
        display: flex;
        flex-direction: column;
    }
    
    #dashboard .hero-content:nth-of-type(2) .dashboard-image {
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
        /* width: 100%; */
        box-sizing: border-box;
    }
    
    #dashboard ul li {
        font-size: 1rem;
        margin-left: 0;
        padding-left: 1.5rem;
    }
    
    #tjanster .section-title {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
    
    #tjanster .section-subtitle {
        text-align: left;
    }
    
    /* #tjanster .card-grid {
        gap: 1rem;
    } */
    
    /*#tjanster .service-card {
        margin-bottom: 1rem;
        /* width: 100%;
        min-width: 200px;
        max-width: 230px;
        margin-left: auto;
        margin-right: auto;
    }*/
}

/* Extra small (mobiler, porträtt) */
@media (max-width: 575.98px) {
    .hero-text-section h1 {
        font-size: 3rem;
        padding-top: 2rem;
    }
    
    .hero-text-section p {
        font-size: 1.1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
}

/* Blazor UI overrides */
#blazor-error-ui {
    background-color: #ffffe0;
    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;
}

/* Extra styles for Blazor components */
h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.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: "Ett fel har uppstått.";
}

code {
    color: #c02d76;
}

#tjanster {
    position: relative;
    margin-top: 0;
}

#tjanster .container {
    position: relative;
    z-index: 2;
}

.service-card {
    background: #ffffff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: transparent;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: url(#service-icon-gradient);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #374151;
}

.service-card .service-cta {
    margin-top: 1.5rem;
    align-self: center;
}

.slanted-divider {
    position: relative;
    height: 75px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    margin-top: -1px;
}

.slanted-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    clip-path: polygon(0 80%, 100% 0, 100% 0, 0 0);
}

.slanted-divider-contact {
    position: relative;
    height: 75px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.slanted-divider-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    clip-path: polygon(0 0, 100% 80%, 100% 100%, 0 100%);
}

.star-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.star-rating img {
    width: 24px;
    height: 24px;
}

#kundomdomen {
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

/* Dashboard text alignment */
#dashboard ul li,
#dashboard h3,
#dashboard p,
#dashboard .hero-content {
    text-align: left;
}

/* Collection Dashboard Section */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-image {
    width: 100%;
    text-align: center;
}

.dashboard-image video {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Small (mobiler) */
@media (max-width: 767.98px) {
    .hero-content {
        padding: 2rem;
    }

    .dashboard-image {
        margin: 1rem 0;
    }
}

/* Sekretesspolicy */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-content h2 {
    color: var(--text-color-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--text-color-dark);
}

.privacy-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 3rem 0 1rem;
    /* margin-top: 4rem; */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #ffffff;
    opacity: 0.6;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}