/*
 * Liquid Intelligent Technologies public-site brand layer.
 * Applies the May 2021 CI palette and typography without changing page layouts.
 */
:root {
    --liquid-blue: #273c88;
    --liquid-blue-dark: #1d2d68;
    --liquid-magenta: #c8187d;
    --liquid-magenta-dark: #9f1363;
    --liquid-business-grey: #a8a9ac;
    --liquid-gradient: linear-gradient(-45deg, #273c88 0%, #273c88 50%, #c8187d 100%);
    --primary-color: #273c88;
    --primary-dark: #1d2d68;
    --secondary-color: #c8187d;
    --secondary-dark: #9f1363;
}

html,
body,
button,
input,
select,
textarea,
.btn,
.navbar,
.modal,
.swal2-popup {
    font-family: "Montserrat", Arial, sans-serif;
}

a {
    color: var(--liquid-blue);
}

a:hover,
a:focus {
    color: var(--liquid-magenta);
}

::selection {
    color: #fff;
    background: var(--liquid-magenta);
}

.header-top,
.modern-footer {
    background: var(--liquid-blue-dark);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--liquid-blue);
    background-color: rgba(39, 60, 136, 0.09);
}

.btn-primary-modern,
.flat-btn,
.btn-primary,
button[type="submit"]:not(.navbar-toggler):not(.close),
input[type="submit"] {
    color: #fff;
    background-color: var(--liquid-blue);
    border-color: var(--liquid-blue);
}

.btn-primary-modern:hover,
.btn-primary-modern:focus,
.flat-btn:hover,
.flat-btn:focus,
.btn-primary:hover,
.btn-primary:focus,
button[type="submit"]:not(.navbar-toggler):not(.close):hover,
button[type="submit"]:not(.navbar-toggler):not(.close):focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    color: #fff;
    background-color: var(--liquid-magenta);
    border-color: var(--liquid-magenta);
}

.btn-outline-primary {
    color: var(--liquid-blue);
    border-color: var(--liquid-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--liquid-blue);
    border-color: var(--liquid-blue);
}

.text-primary {
    color: var(--liquid-blue) !important;
}

.bg-primary,
.badge-primary,
.page-item.active .page-link,
.progress-bar {
    background-color: var(--liquid-blue) !important;
}

.border-primary,
.page-item.active .page-link {
    border-color: var(--liquid-blue) !important;
}

.text-secondary {
    color: var(--liquid-magenta) !important;
}

.bg-secondary,
.badge-secondary {
    background-color: var(--liquid-magenta) !important;
}

.package-card.featured {
    border-color: var(--liquid-blue);
}

.package-card.featured::before {
    background: var(--liquid-magenta);
}

.package-card-header {
    background: var(--liquid-gradient);
}

.social-links a:hover {
    color: #fff;
    background: var(--liquid-magenta);
}

.bottomtotop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: none;
    width: 48px;
    height: 48px;
}

.bottomtotop i {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    line-height: 1;
    background: var(--liquid-magenta);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    transform: rotate(-90deg);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bottomtotop:hover i,
.bottomtotop:focus i {
    background: var(--liquid-magenta-dark);
    transform: rotate(-90deg) translateX(2px);
}

body:has(.cookie-consent:not([style*="display: none"])) .bottomtotop {
    bottom: 92px;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--liquid-blue);
    box-shadow: 0 0 0 0.2rem rgba(39, 60, 136, 0.18);
}

/* Cookie consent: the package markup uses utility classes that are not
   otherwise present in this Bootstrap site, so position its contents here. */
.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    padding: 16px 24px;
    color: #fff;
    background: var(--liquid-blue-dark);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16);
}

.cookie-consent > div,
.cookie-consent > div > div,
.cookie-consent > div > div > div {
    width: 100%;
}

.cookie-consent > div {
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-consent > div > div > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent .cookie-consent__message,
.cookie-consent .cookie-consent__message p {
    display: block;
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent button.cookie-consent__agree {
    flex: 0 0 auto;
    margin: 0;
    padding: 10px 18px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    background: var(--liquid-magenta);
    border: 0;
    border-radius: 6px;
}

.cookie-consent button.cookie-consent__agree:hover,
.cookie-consent button.cookie-consent__agree:focus {
    color: #fff;
    background: var(--liquid-magenta-dark);
}

@media (max-width: 767.98px) {
    .bottomtotop {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    .bottomtotop i {
        width: 44px;
        height: 44px;
    }

    body:has(.cookie-consent:not([style*="display: none"])) .bottomtotop {
        bottom: 144px;
    }

    .cookie-consent {
        padding: 14px 16px;
    }

    .cookie-consent > div > div > div {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .cookie-consent button.cookie-consent__agree {
        width: 100%;
    }
}
