@charset "UTF-8";

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Nunito", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --background-color: #ffffff;
    --default-color: #212529;
    --heading-color: #2d465e;
    --accent-color: #f75815;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    scroll-behavior: smooth;
}

.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

body {
    padding-top: 5rem;
    color: #000000;
}

.table {
    > :not(caption) > * > * {
        box-shadow: none;
    }
    .form-control {
        background-color: #ffffff !important;
        border-width: 0.5px !important;
        border-bottom-color: #ccc !important;
    }
    .form-select {
        background-color: #ffffff !important;
        border-width: 0.5px !important;
        border-bottom-color: #ccc !important;
    }
    .btn-primary {
        background-color: var(--bs-primary);
        white-space: nowrap;
    }
    .btn-secondary {
        background-color: var(--bs-secondary);
        white-space: nowrap;
    }
}

.alert-dismissible {
    .btn-close {
        z-index: 1;
    }
}

.header {
    .app-logo {
        img {
            max-height: 64px;
            margin-right: 8px;
        }
    }
    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.1);
        margin: .5rem;
    }
    .app-menu {
        .nav-item {
            font-size: 0.9rem;
            padding-bottom: 0.5rem;
            a {
                border-radius: 4px;
                height: 3rem;
                display: flex;
                align-items: center;
                padding-left: 1rem;
                &.active {
                    background-color: rgba(255,255,255,0.25);
                    color: white;
                }
                &:hover {
                    background-color: rgba(255,255,255,0.1);
                    color: white;
                }
            }
        }
        .nav-link {
            .oi {
                width: 1.5rem;
                font-size: 1.1rem;
                vertical-align: text-top;
                top: -2px;
            }
        }
    }
    .controls {
        z-index: 2000;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-right: 10px;
    }
}

div.app-moduleactions {
    a.dropdown-toggle, div.dropdown-menu {
        color: #000000;
    }
}

.dropdown-menu {
    span {
        mix-blend-mode: difference;
    }
}

@media (max-width: 991.98px) {
    .app-menu {
        width: 100%;
    }
    .navbar {
        position: fixed;
        top: 60px;
        width: 100%;
    }
    .controls {
        height: 60px;
        position: fixed;
        top: 0px;
        width: 100%;
        background-color: rgba(var(--bs-body-bg-rgb));
    }
    .controls-group {
        float: right;
        margin-right: 25px;
    }
    .content {
        position: relative;
        top: 60px;
    }
}

.hero {
    position: relative;
    height: 800px;
    .hero-body {
        width: 100%;
        height: 800px;
        position: absolute;
        top: 0rem;
        background-position: top center;
        background-repeat: no-repeat;
        &::before,
        &::after {
            content: '';
            position: absolute;
            top: 0;
            width: 20%;
            height: 100%;
            z-index: 1;
        }
        &::before {
            left: 0;
            background: linear-gradient(to right, white, transparent);
        }
        &::after {
            right: 0;
            background: linear-gradient(to left, white, transparent);
        }
    }
    h1, h2 {
        color: #fff;
    }
    h1 {
        font-size: 3rem;
        margin-top: 3rem;
    }
    h2 {
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    .banner {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.6);
    }
}

button, .btn, th {
    white-space: nowrap;
}

.callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }
    p:last-child {
        margin-bottom: 0;
    }
    code {
        border-radius: 3px;
    }
    & + .callout {
        margin-top: -5px;
    }
    &-primary {
        border-left-color: rgba(var(--bs-primary-rgb));
        h4 {
            color: rgba(var(--bs-primary-rgb));
        }
    }
    &-secondary {
        border-left-color: rgba(var(--bs-secondary-rgb));
        h4 {
            color: rgba(var(--bs-secondary-rgb));
        }
    }
    &-success {
        border-left-color: rgba(var(--bs-success-rgb));
        h4 {
            color: rgba(var(--bs-success-rgb));
        }
    }
    &-danger {
        border-left-color: rgba(var(--bs-danger-rgb));
        h4 {
            color: rgba(var(--bs-danger-rgb));
        }
    }
    &-warning {
        border-left-color: rgba(var(--bs-warning-rgb));
        h4 {
            color: rgba(var(--bs-warning-rgb));
        }
    }
    &-info {
        border-left-color: rgba(var(--bs-info-rgb));
        h4 {
            color: rgba(var(--bs-info-rgb));
        }
    }
    &-dark {
        border-left-color: rgba(var(--bs-dark-rgb));
        h4 {
            color: rgba(var(--bs-dark-rgb));
        }
    }
    &-light {
        border-left-color: rgba(var(--bs-light-rgb));
        h4 {
            color: rgba(var(--bs-light-rgb));
        }
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    @media (max-width: 991px) {
        grid-template-columns: repeat(6, 1fr);
    }
    @media (max-width: 768px) {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0.5px 15px color-mix(in srgb, var(--default-color), transparent 90%);
    transition: transform 0.3s ease-in-out;
    background-color: var(--surface-color);
    &:hover {
        transform: translateY(-5px);
        img {
            transform: scale(1.05);
        }
        .blog-content {
            background: linear-gradient(0deg, color-mix(in srgb, var(--default-color), transparent 10%) 0%, transparent 100%);
        }
    }
    &:first-child {
        grid-column: span 8;
        .post-title {
            font-size: 2rem;
            @media(max-width: 768px) {
                font-size: 1.5rem;
            }
        }
    }
    &:not(:first-child) {
        grid-column: span 4;
        @media (max-width: 991px) {
            grid-column: span 3;
        }
        @media(max-width: 768px) {
            grid-column: span 1;
        }
    }
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
        aspect-ratio: 16/9;
    }
    .blog-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 2rem;
        background: linear-gradient(0deg, color-mix(in srgb, var(--default-color), transparent 20%) 0%, transparent 100%);
        transition: background 0.3s ease-in-out;
    }
    .post-meta {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        gap: 1rem;
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
        color: var(--contrast-color);
        .category {
            display: flex;
            align-items: center;
        }
        ul {
            display: flex;
            list-style: none;
            margin-top: 1rem;
            margin-bottom: 1rem;
        }
        li {
            margin-right: 0.5rem;
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            background-color: #ffffff90;
            border-radius: 0.5rem;
            box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
            font-weight: 600;
        }
    }
    .post-title {
        margin: 0;
        font-family: var(--heading-font);
        a {
            color: var(--contrast-color);
            text-decoration: none;
            &:hover {
                color: color-mix(in srgb, var(--contrast-color), transparent 20%);
            }
        }
    }
    .post-summary {
        color: var(--contrast-color);
    }
}

.blog {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
    h1, h2, h3 {
        position: relative;
        padding-top: 0.5rem;
        padding-right: 2rem;
        padding-bottom: 0.5rem;
        padding-left: 2rem;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        border: 1px solid #eaeaea;
        background-image: linear-gradient(#f0f0f0, #ffffff 50%, #f0f0f0);
        &::before, &::after {
            content: "";
            position: absolute;
            top: 0;
            height: 100%;
            width: 1.5rem;
        }
        &::before {
            left: 0;
        }
        &::after {
            right: 0;
        }
    }
    h1::before, h1::after {
        background-image: linear-gradient(#7191b3, #446e9b 50%, #3f658f);
    }
    h2::before, h2::after {
        background-image: linear-gradient(#b1b1b1, #999 50%, #8d8d8d);
    }
    h3::before, h3::after {
        background-image: linear-gradient(#d93f3d, #cd0200 50%, #bd0200);
        background-image: linear-gradient(#de963d, #d47500 50%, #c36c00);
    }
    .meta {
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 1rem;
    }
    p {
        margin-bottom: 1.25rem;
        line-height: 1.75;
    }
    img {
        max-width: 100%;
        height: auto;
        border-radius: 0.5rem;
        margin: 1rem 0;
    }
    blockquote {
        padding: 1rem 1.5rem;
        background-color: #f8f9fa;
        border-left: 5px solid #ced4da;
        font-style: italic;
        color: #495057;
        margin: 2rem 0;
    }
    a {
        color: #0d6efd;
        text-decoration: none;
        &:hover {
            text-decoration: underline;
        }
    }
    @media (max-width: 576px) {
        padding: 1.5rem;
        h1 {
            font-size: 1.75rem;
        }
        h2 {
            font-size: 1.4rem;
        }
    }
    .blog-card {
        border: 1px solid #dee2e6;
        border-radius: 0.75rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
        background-color: #ffffff;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }
        h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }
        p {
            font-size: 0.95rem;
            color: #6c757d;
            margin-bottom: 0;
        }
    }
    pre,
    code {
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9rem;
        border-radius: 0.5rem;
        font-weight: 600;
    }
    pre {
        padding: 1rem;
        overflow-x: auto;
        margin: 1.5rem 0;
        border: 1px solid #dee2e6;
    }
    p code {
        color: #d63384;
        border-radius: 0.3rem;
        font-weight: 600;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
        font-size: 0.95rem;
        background-color: #fff;
        th,
        td {
            border: 1px solid #dee2e6;
            padding: 0.75rem;
            text-align: left;
            vertical-align: top;
        }
        thead {
            background-color: #f8f9fa;
            color: #212529;
            font-weight: 600;
        }
    }
}

.widget-title {
    color: var(--bs-dark);
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid var(--bs-primary);
}

.widget-item {
    margin-bottom: 1.875rem;
    background-color: color-mix(in srgb, var(--bs-primary), transparent 98%);
    border: 1px solid color-mix(in srgb, var(--bs-primary), transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

.categories-widget {
    ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1rem 0;
        a {
            color: color-mix(in srgb, var(--bs-link-color-rgb), transparent 20%);
            transition: 0.3s;
            &:hover {
                color: var(--bs-orange);
            }
        }
    }
}

.latest-posts-widget {
    .post-item {
        display: flex;
        margin-bottom: 1rem;
        &:last-child {
            margin-bottom: 0;
        }
        img {
            width: 5rem;
            height: 4rem;
            margin-right: 1rem;
        }
        h4 {
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            a {
                color: var(--bs-link-color-rgb);
                transition: 0.3s;
                &:hover {
                    color: var(--bs-orange);
                }
            }
        }
    }
}

.tags-widget {
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            display: inline-block;
            a {
                background-color: color-mix(in srgb, var(--bs-primary), transparent 94%);
                color: color-mix(in srgb, var(--bs-primary), transparent 30%);
                border-radius: 50px;
                font-size: 14px;
                padding: 5px 15px;
                margin: 0 6px 8px 0;
                display: inline-block;
                transition: 0.3s;
                &:hover {
                    background: var(--bs-orange);
                    color: var(--bs-white);
                }
                span {
                    padding-left: 5px;
                    color: color-mix(in srgb, var(--bs-primary), transparent 50%);
                    font-size: 1rem;
                }
            }
        }
    }
}

.blog-box {
    .featured-post {
        position: relative;
        margin-bottom: 40px;
        .post-img {
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 0.5rem;
            img {
                width: 100%;
                aspect-ratio: 16/9;
                object-fit: cover;
            }
        }
        .category-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            span {
                position: absolute;
                top: 10px;
                right: 0px;
                font-size: 13px;
                font-weight: 600;
                color: var(--accent-color);
                letter-spacing: 0.5px;
            }
            ul {
                display: flex;
                list-style: none;
                margin: 0;
                padding: 0;
                li {
                    margin-right: 10px;
                    padding-right: 10px;
                    padding-left: 10px;
                    background-color: #ffffff;
                    border-radius: 0.5rem;
                    a {
                        text-decoration: none;
                        &:hover {
                            color: var(--accent-color);
                        }
                    }
                }
            }
        }
        .author-meta {
            .post-date {
                color: color-mix(in srgb, var(--default-color), transparent 40%);
            }
        }
        .title {
            font-size: 20px;
            line-height: 1.4;
            margin: 0;
            a {
                color: var(--heading-color);
                transition: color 0.3s;
                text-decoration: none;
                &:hover {
                    color: var(--accent-color);
                }
            }
        }
    }
}

.blog-box-sm {
    .list-post {
        display: flex;
        align-items: start;
        gap: 20px;
        margin-bottom: 25px;
        .post-img {
            flex: 0 0 100px;
            border-radius: 12px;
            overflow: hidden;
            img {
                width: 100px;
                height: 100px;
                object-fit: cover;
            }
        }
        .post-content {
            flex: 1;
        }
        .category-meta {
            font-size: 13px;
            font-weight: 500;
            color: var(--accent-color);
            margin-bottom: 8px;
            display: inline-block;
            ul {
                display: flex;
                list-style: none;
                margin: 0;
                padding: 0;
                li {
                    margin-right: 0px;
                    padding-right: 5px;
                    padding-left: 5px;
                    background-color: #ffffff;
                    border-radius: 0.5rem;
                    border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
                    a {
                        text-decoration: none;
                        font-weight: bold;
                        color: var(--bs-primary);
                        &:hover {
                            color: var(--accent-color);
                        }
                    }
                }
            }
        }
        .title {
            font-size: 16px;
            line-height: 1.5;
            margin: 0 0 8px 0;
            a {
                color: var(--heading-color);
                text-decoration: none;
                transition: color 0.3s;
                &:hover {
                    color: var(--accent-color);
                }
            }
        }
        .post-meta {
            display: flex;
            flex-direction: row-reverse;
            .post-date {
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                font-size: 13px;
                font-weight: 500;
            }
        }
    }
}

.blog-card {
    article {
        background-color: var(--surface-color);
        padding: 30px;
        height: 100%;
        border-radius: 10px;
        overflow: hidden;
    }
    .post-img {
        max-height: 240px;
        margin: -30px -30px 15px -30px;
        overflow: hidden;
    }
    .category-meta {
        font-size: 16px;
        margin-bottom: 10px;
        ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            li {
                margin-right: 10px;
                padding-right: 10px;
                background-color: #ffffff;
                border-radius: 0.5rem;
                a {
                    text-decoration: none;
                    color: var(--accent-color);
                    &:hover {
                        color: var(--default-color);
                    }
                }
            }
        }
    }
    .title {
        font-size: 20px;
        font-weight: 700;
        padding: 0;
        margin: 0 0 20px 0;
        a {
            color: var(--heading-color);
            transition: 0.3s;
            text-decoration: none;
            &:hover {
                color: var(--accent-color);
            }
        }
    }
    .post-date {
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin-bottom: 0;
    }
}


