:root {
    --bs-primary: #005994;
    --bs-primary-rgb: 0, 89, 148;
    --bs-heading-color: #212529;
    --bs-body-color: #4e5b6c;
    --bs-body-color-rgb: 78, 91, 108;
    --bs-link-color: #212529;
    --bs-link-color-rgb: 33, 37, 41;
    --bs-link-decoration: none;
    --bs-link-hover-color: #005994;
    --bs-body-font-family: 'Ubuntu', serif;
}

h1,
.h1,
h2,
.h2 {
    font-family: "Afacad Flux", serif;
}

a {
    text-decoration: var(--bs-link-decoration);
}

a:hover {
    color: var(--bs-primary);
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.bd-mode-toggle {
    z-index: 1500;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #005994;
    --bs-btn-border-color: #005994;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #008de5;
    --bs-btn-hover-border-color: #008de5;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #008de5;
    --bs-btn-active-border-color: #008de5;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #4e819d;
    --bs-btn-disabled-border-color: #4e819d;
}

.btn-outline-primary {
    --bs-btn-color: #005994;
    --bs-btn-border-color: #005994;
    --bs-btn-hover-bg: #005994;
    --bs-btn-hover-border-color: #005994;
    --bs-btn-active-bg: #005994;
    --bs-btn-active-border-color: #005994;
    --bs-btn-disabled-color: #005994;
    --bs-btn-disabled-border-color: #005994;
}

.form-check-input:checked {
    background-color: #005994;
    border-color: #005994;
}

.form-check-input:focus {
    border-color: #008de5;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 89, 148, .25);
}

.dropdown-menu {
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #005994;
}

.navbar .navbar-nav .nav-link {
    padding: 1rem .75rem;
}

.navbar-expand-lg .nav-item:not(:last-child) {
    margin-right: .5rem;
}

.navbar {
    --bs-navbar-active-color: #005994;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--bs-navbar-active-color);
    font-weight: 600;
}

.navbar-brand-logo {
    width: 100%;
    min-width: 7.5rem;
    max-width: 12rem;
}

.card {
    --bs-card-spacer-y: 1.6rem;
    --bs-card-spacer-x: 1.6rem;
    --bs-card-title-spacer-y: 0.25rem;
    --bs-card-border-width: 0.0625rem;
    --bs-card-border-color: rgba(33, 50, 91, 0.1);
    --bs-card-border-radius: 0.5rem;
    --bs-card-box-shadow: 0rem 0.375rem 1.5rem 0rem rgba(140, 152, 164, 0.125);
    --bs-card-inner-border-radius: 0.4375rem;
    --bs-card-cap-padding-y: 1.6rem;
    --bs-card-cap-padding-x: 1.6rem;
    --bs-card-img-overlay-padding: 1.6rem 1.6rem;
    --bs-card-group-margin: 0.75rem;
    box-shadow: var(--bs-card-box-shadow);
}

/* Custom Spacing */

.pb-6 {
    padding-bottom: 4rem !important
}

.pb-7 {
    padding-bottom: 5rem !important
}

.pb-8 {
    padding-bottom: 6rem !important
}

.px-6 {
    padding-left: 4rem !important;
    padding-right: 4rem !important
}

.py-7 {
    padding-bottom: 5rem !important;
    padding-top: 5rem !important
}

.py-8 {
    padding-bottom: 6rem !important;
    padding-top: 6rem !important
}

.mt-n6 {
    margin-top: -4rem !important;
}

@media (min-width: 992px) {
    .my-lg-6 {
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
    }

    .my-lg-7 {
        margin-top: 5rem !important;
        margin-bottom: 5rem !important;
    }

    .mb-lg-7 {
        margin-bottom: 5rem !important;
    }

    .px-lg-8 {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }

    .py-lg-7 {
        padding-bottom: 5rem !important;
        padding-top: 5rem !important
    }

    .g-lg-5 {
        --bs-gutter-x: 6rem;
        --bs-gutter-y: 6rem;
    }

}

@media (min-width: 1200px) {
    .my-xl-6 {
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
    }

    .my-xl-8 {
        margin-bottom: 6rem !important;
        margin-top: 6rem !important;
    }

    .py-xl-7 {
        padding-bottom: 5rem !important;
        padding-top: 5rem !important;
    }

    .py-xl-8 {
        padding-bottom: 6rem !important;
        padding-top: 6rem !important;
    }
}

/* ---------------- */

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--bs-primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--bs-light);
    line-height: 0;
}

.scroll-top:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.8);
    color: var(--bs-light);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}