@import 'blockgridlayout.css';

/* Global Variables */

:root {
    --core-light: #13E6D8;
    --core-mid: #424269;
    --core-dark: #2C2C58;
    --core-darkest: #180136;
    --protect-light: #00FFFF;
    --protect-mid: #00AAFF;
    --protect-dark: var(--core-dark);
    --mortgage-light: #D9E021;
    --mortgage-mid: #67C940;
    --mortgage-dark: var(--core-dark);
    --invest-light: #FFE100;
    --invest-mid: #F7B82B;
    --invest-dark: #F15A24;
    --insure-light: #FFD149;
    --insure-mid: #FF9530;
    --invest-dark: #C1272D;
    --mds-light: #F7931E;
    --mds-mid: #F65535;
    --mds-dark: #5F272D;
    --events-light: #D48BFC;
    --events-mid: #D74BB3;
    --events-dark: var(--core-dark);
    /* Override block grid variables from umbraco stylesheet */
    --umb-block-grid--row-gap: 1.8em;
    --umb-block-grid--column-gap: 1.8em;
}

/* Global Styles */
body {
    font-family: 'mundial', sans-serif;
    background-color: var(--core-darkest);
    color: #fff;
}
h1, h2, h3 {
    font-family: 'co-headline', sans-serif;
    font-size: 66px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}
h4 {
    font-family: 'co-headline', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1rem;
}
p {
    font-size: 24px;
    font-weight: 200;
    line-height: 1.6;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
.checklist {
    list-style: none;
    list-style-image: url('../svg/check.svg');
}
    .checklist li {
        align-self:baseline;
    }

/* Brand styles */

.core a {
    color: var(--core-light);
}
    .core a:hover {
        color: #fff;
    }
.protect a {
    color: var(--protect-mid);
}
    .protect a:hover {
        color: var(--protect-light);
    }

/* Button styles */

.btn {
    border-radius: 50px;
    padding: 8px 20px 10px 20px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 1.2em;
}
a.btn-core, a.btn-none {
    background-color: var(--core-light);
    color: #000;
}
    a.btn-core:hover, a.btn-none:hover {
        background: transparent;
        border: 1px solid var(--core-light);
        color: #fff;
    }
a.btn-protect {
    background: linear-gradient(270deg, var(--protect-light) 5%, var(--protect-mid) 60%);
    color: #000;
}
    a.btn-protect:hover {
        background: transparent;
        border: 1px solid var(--protect-mid);
        color: #fff;
    }

/* Navigation Styles */

.header-logo, .footer-logo {
    max-height: 116px;
}
.navbar {
    position: absolute;
    z-index: 100;
}
.navbar.scrolled {
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #fff !important;
}
.nav-link {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px 10px 20px;
    margin: 0 20px;
}
    nav-link:focus, .nav-link:hover, .nav-link.dropdown-toggle:focus {
        color: #fff;
    }
.dropdown-toggle.show::after {
    transform: rotate(180deg);
}
.dropdown-menu {
    background-color: var(--core-light);
    border: none;
}
.dropdown-item {
    text-align: center;
    text-transform: uppercase;
}
    .dropdown-item:hover, .dropdown-item.active {
        color: var(--core-dark);
        background-color: transparent;
    }
.navbar-toggler {
    border: none;
    padding-right: 0;
}
    .navbar-toggler:focus {
        box-shadow: none;
    }
.navbar-toggler-icon {
    background-image: url('../svg/list.svg');
    width: 1.8em;
}
    .navbar-toggler-icon.close {
        background-image: url('../svg/x.svg');
        position: relative;
        left: 10px;
    }
.offcanvas {
    background-color: var(--core-darkest);
}

/* Footer Styles */
footer {
    background: linear-gradient(235deg, #FFFFFF 0.5%, rgba(19, 230, 216, 0.6) 10%, rgba(19, 230, 216, 0) 40%);
    padding: 40px 0;
}
footer p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.social-media {
    list-style: none;
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 20px;
    padding: 0;
    margin: 0;  
}

/* Cookie banner Styles */

#cookieBanner .modal-dialog {
    position: fixed;
    width: 100%;
    align-content: end;
}
#cookieBanner .modal-dialog div p {
    font-size: 15px;
}
#cookieBanner .modal-body {
    border-top: 1px solid #55616B;
}

/* Error page styles */
.error-page {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0 50px 0;
}

/* Block Styles */

.block-container-content {
    padding: 5% 0 10% 0;
}
.slim {
    padding-left: 100px;
    padding-right: 100px;
}
.hero {
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 75vh;
}
.hero-content {
    padding: 15% 0 20% 0;
}
.hero-heading, .hero-text {
    max-width: 50%;
}
.hero-gradient {
    height: 130px;
}
.hero-content {
    background-repeat: no-repeat;
}
    .hero-content.core {
        background-image: url('../svg/omnicore-hero-vector.svg');
        background-position: 0% 50%;
    }
    .hero-content.protect {
        background-image: url('../svg/omniprotect-hero-vector.svg');
        background-position: 0% 60%;
    }

.banner {
    background-repeat: no-repeat;
    background-size: cover;
}
.banner-content {
    padding: 10% 0 12% 0;
}
.banner-heading, .banner-text {
    max-width: 60%;
}

.info .container {
    padding-top: 50px;
    padding-bottom: 100px;
}
.info-heading, .info-text {
    max-width: 70%;
    position: relative;
    z-index: 1;
}
.info-bg {
    max-width: 33%;
    position: absolute;
    right: 0;
    bottom: 30%;
    z-index: 0;
}

.data-section {
    position: relative;
    margin-top: 80px;
    z-index: 1;
}
.data-section.core .data-heading {
    color: var(--core-light);
}
.data-section.protect .data-heading {
    color: var(--protect-mid);
}
.data-text * {
    font-size: 18px;
}

.card {
    height: 100%;
    padding: 20px;
    color: #fff;
    text-align: center;
    border-radius: 24px;
}
    .card h3 {
        font-size: 28px;
    }
    .card p {
        font-size: 18px;
    }
    .card ul {
        text-align: left;
    }
.card.core {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.2) 0%, rgba(19, 230, 216, 0.2) 10%, rgba(19, 230, 216, 0) 25%, rgba(19, 230, 216, 0.2) 100%);
}
.card.protect {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 170, 255, 0.2) 10%, rgba(0, 170, 255, 0) 25%, rgba(0, 170, 255, 0.2) 100%);
}

/* Responsive Styles */

@media (max-width: 991px) { /* Breakpoint for desktop - mobile styling transition */
    h1, h2, h3 {
        font-size: 36px;
    }
    h4 {
        font-size: 24px;
    }
    p {
        font-size: 20px;
    }

    .header-logo, .footer-logo {
        max-height: 80px;
    }
    .navbar-collapse {
        background-color: var(--core-darkest);
        border-radius: 7px;
    }
    .nav-link, .dropdown-item {
        font-size: 24px
    }
    .nav-link.dropdown-toggle {
        margin: 0;
    }
    .dropdown-menu {
        background-color: transparent;
        border-radius: 0;
    }
        .dropdown-menu .dropdown-item {
            color: #fff;
            text-align: left;
        }
    .dropdown {
        background-color: var(--core-darkest);
    }
    .dropdown:first-child {
        border-top: solid 1px rgb(255,255,255,0.25);
    }
    .dropdown-toggle, .dropdown-menu {
        padding: 15px 0;
        border-bottom: solid 1px rgb(255,255,255,0.25);
    }
    .dropdown-toggle, .dropdown-item {
        display: flex;
        justify-content: space-between;
    }
        .dropdown-toggle::after, .dropdown-item::after {
            content: url("/svg/chevron-down.svg");
            border: none;
            padding-top: 5px;
        }
        .dropdown-toggle.show::after {
            transform: rotate(180deg);
        }
        .dropdown-item {
            padding: 0 0 0 20px;
        }
        .dropdown-item::after {
            transform: rotate(270deg);
        }
    .offcanvas {
        background-image: url('../svg/omnicore-icon-bgnd-img.svg');
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .hero {
        min-height: 0;
    }
    .hero-heading, .hero-text, .info-heading, .info-text, .banner-heading, .banner-text {
        max-width: 100%;
    }
    .hero-content {
        padding: 0 0 50px 0;
    }
        .hero-content.core, .hero-content.protect {
            background-image: none;
        }

    .info .container {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .info-bg {
        bottom: 0;
    }
    .data-section {
        margin-top: 40px;
    }

    .card h3 {
        font-size: 24px;
    }

    .slim {
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }
}
@media (max-width: 1199px) {
    .data-heading h3 {
        font-size: 48px;
    }
}
@media (min-width: 1400px) {
    .info-bg {
        bottom: 0;
    }
    .hero-content.protect {
        background-position: 25% 50%;
    }
}