﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* VARIABLES */
:root {
    --black-color: #000000;
    --white-color: #FFFFFF;
    --purple-color: #8338EB;
    --pink-color: #B5179F;
    --orange-color: #FB5507;
    --blue-color: #374CFF;
    --light-purple-color: #F3EBFD;
    --light-pink-color: #F8E8F5;
    --light-orange-color: #FFEEE6;
    --light-blue-color: #374CFFB2;
    --poppins-font: 'Poppins';
}

/* BASE STYLES */
html, body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    color: var(--black-color);
    font-family: var(--poppins-font), sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
}

main {
    position: relative;
}

.overlay {
    display: none;
    position: absolute;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(244, 244, 244, 0.8);
    z-index: 1;
}

.background-color-one {
    background-color: var(--light-purple-color);
}

.background-color-two {
    background-color: var(--light-orange-color);
}

.background-color-three {
    background-color: var(--light-pink-color);
}

h1 {
    color: var(--pink-color);
    font-weight: 600;
    font-size: 55px;
    line-height: 60px;
    margin-bottom: 1rem;
}

h2 {
    color: var(--purple-color);
    font-weight: 600;
    font-size: 40px;
    line-height: 44px;
    margin-bottom: 1rem;
}

    h2.pink {
        color: var(--pink-color);
    }

h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
}

input,
textarea {
    border-radius: 4px;
    border: 2px solid var(--pink-color);
    min-height: 48px;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    background-clip: padding-box;
}

    input:active,
    input:focus,
    textarea:active,
    textarea:focus {
        border: 2px solid var(--pink-color);
        box-shadow: inset 0 0 10px var(--pink-color);
        -webkit-box-shadow: inset 0 0 10px var(--pink-color);
        outline: none;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

textarea {
    padding: 0.8rem;
}

/* HEADER */
header {
    margin-bottom: 80px;
}

.navbar {
    padding: 2.5rem 0 1rem;
    box-shadow: 0 4px 23px 0 rgb(131 19 255 / 10%);
}

    .navbar .nav-item .nav-link {
        color: var(--black-color);
        font-weight: 500;
        font-size: 18px;
        line-height: 27px;
        white-space: nowrap;
    }

    .navbar .nav-item.active .nav-link {
        color: var(--pink-color);
    }

    .navbar .nav-item:hover .nav-link {
        color: var(--purple-color);
    }

.navbar-light .navbar-toggler {
    border: none;
    font-size: 30px;
    padding: 0;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url('../images/icons/nav-icon.svg');
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url('../images/icons/nav-close.svg');
}

a.navbar-brand {
    padding: 0;
    width: 200px;
}

.visible-xs {
    display: none;
}

/* FOOTER */
.footer {
    background-color: var(--purple-color);
    color: var(--white-color);
    flex: 1 0;
    width: 100%;
    padding: 90px;
}

    .footer img {
        margin-bottom: 20px;
    }

.footer-menu {
    list-style: none;
    padding-left: 0;
}

    .footer-menu li:not(:last-child) {
        margin-bottom: 1.6rem;
    }

    .footer-menu li a,
    .footer p {
        color: var(--white-color);
        opacity: .9;
        text-decoration: none;
    }

        .footer-menu li a:hover {
            opacity: 1;
        }

    .footer-menu.footer-menu--bold li a {
        font-weight: 600;
    }

.footer-col-1 {
    flex: 1;
    padding-right: 8%;
}

.footer-col-2 {
    flex-basis: 22%;
    font-weight: 600;
}

.footer-col-3 {
    flex-basis: 22%;
}

/* BUTTONS */
.btn {
    border-radius: 60px;
}

.btn-primary {
    border-color: var(--purple-color);
    background-color: var(--purple-color);
    color: var(--white-color);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 20px;
}

    .btn-primary:hover,
    .btn-primary:active {
        border-color: var(--purple-color) !important;
        background-color: var(--white-color) !important;
        color: var(--purple-color) !important;
        transition: all 0.3s ease;
    }

/* ACCORDION */
.accordion {
    max-width: 730px;
    margin: 0 auto;
}

.accordion__title {
    background-image: url('../images/icons/caret-down.svg');
    background-position: right 1.5rem center;
    background-repeat: no-repeat;
    border-top: 1px solid #B6BEC6;
    cursor: pointer;
    font-weight: 500;
    margin-top: -1px;
    padding: 1rem 1rem;
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--black-color);
    text-align: left;
}

    .accordion__title.--last {
        border-bottom: 1px solid #B6BEC6;
    }

.accordion__para-item {
    display: block;
    padding: 1.2rem 1rem;
    text-align: left;
}

    .accordion__para-item > p:last-child,
    .accordion__para-item > ul:last-child {
        margin-bottom: 0;
    }

.accordion__para {
    border-bottom: 1px solid #B6BEC6;
    margin: 0;
}

/* STATE */
.accordion__title:hover,
.accordion__title:focus {
    background-color: var(--light-purple-color);
    color: var(--purple-color);
    text-decoration: none;
    font-weight: bold;
}

.accordion__title[aria-expanded='true'] {
    background-color: var(--light-purple-color);
    background-image: url('../images/icons/caret-up.svg');
    border-bottom: none;
    color: var(--purple-color);
}

    .accordion__title[aria-expanded='true']::after {
        border-bottom: none;
        transform: translateY(-50%) rotate(-180deg);
    }

hr {
    border-top: 1.5px solid #8338EB;
}

.styled-list {
    padding-left: 18px;
}

img {
    width: 100%;
    height: auto;
}

.form-group.required label:after {
    content: "*";
    color: #dc3545;
}

.link {
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
}

    .link.link-normal {
        font-weight: normal;
    }

    .link:hover {
        color: var(--blue-color);
    }

    .link.link-primary {
        color: var(--purple-color);
    }

    .link.link-secondary {
        color: var(--blue-color);
    }

.link-white:hover {
    color: var(--white-color);
    filter: brightness(70%);
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.flex-1 {
    flex: 1;
}

.section-55 {
    width: 55%;
}

.section-50 {
    width: 50%;
    position: relative;
}

.section-45 {
    width: 45%;
}

.section {
    margin: 30px 0px;
    padding: 70px 0px;
    position: relative;
}

.hero-section .section-50:first-child,
.what-is-section .section-45:first-child {
    padding-right: 8%;
}

.section-icons {
    flex-wrap: wrap;
}

.section-icon-item {
    text-align: left;
    flex: 33%;
    flex-grow: 1;
    margin: 2rem 0 1rem 0;
    padding: 0px 1rem;
}

.journey-section .section-icon-item {
    flex: 25%;
}

.documents-section .section-icon-item {
    flex: 20%;
}

.section-icon {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

    .section-icon.step::after {
        content: '';
        position: absolute;
        right: calc(-50% - 45px / 2);
        top: calc(50% - 15px / 2);
        width: 45px;
        height: 15px;
        background: url('/images/icons/arrow-right.svg') no-repeat;
        background-size: cover;
    }

.styled-list li {
    margin-bottom: 0.7rem;
}

.fee-item label {
    background-color: var(--light-purple-color);
    border-top: 1px solid var(--black-color);
    padding: 13px 10px;
    font-weight: 600;
}

.fee-item > p {
    padding: 10px;
}

.rate-circle {
    position: relative;
    width: 270px;
    height: 270px;
    background-color: var(--pink-color);
    color: var(--white-color);
}

.home-rates {
    position: relative;
}

.rates-container {
    margin-top: 50px;
    position: relative;
}

.rate-circle {
    position: relative;
    width: 270px;
    height: 270px;
    background-color: var(--pink-color);
    color: var(--white-color);
    display: inline-block;
    border-radius: 135px;
    font-weight: 600;
}

    .rate-circle.blue {
        background-color: var(--blue-color);
    }

    .rate-circle .rate-title {
        font-size: 20px;
        position: absolute;
        top: 290px;
        left: 25px;
        color: var(--black-color);
        font-weight: normal;
    }

    .rate-circle.right .rate-title {
        left: 45px;
    }

    .rate-circle .rate-value {
        font-size: 86px;
        position: absolute;
        top: 105px;
        left: 15px;
    }

    .rate-circle .rate-percent {
        font-size: 66px;
        position: absolute;
        top: 112px;
        left: 202px;
    }

    .rate-circle .rate-pa {
        font-size: 38px;
        letter-spacing: -0.055em;
        position: absolute;
        top: 170px;
        left: 100px;
    }

.rate-circle-split {
    position: absolute;
    bottom: 0px;
    left: -120px;
}

    .rate-circle-split hr {
        border-color: var(--white-color);
        position: absolute;
        width: 80%;
        top: 44%;
        left: 10%;
    }

    .rate-circle-split .rate-title-1 {
        position: absolute;
        top: 40px;
        left: 37px;
        font-size: 18px;
    }

    .rate-circle-split .rate-title-2 {
        position: absolute;
        top: 140px;
        left: 60px;
        font-size: 18px;
    }

    .rate-circle-split .rate-value-1 {
        position: absolute;
        top: 85px;
        left: 35px;
        font-size: 70px;
    }

    .rate-circle-split .rate-value-2 {
        position: absolute;
        top: 185px;
        left: 35px;
        font-size: 70px;
    }

    .rate-circle-split .rate-pa-1 {
        position: absolute;
        top: 100px;
        left: 190px;
        font-size: 20px;
    }

    .rate-circle-split .rate-pa-2 {
        position: absolute;
        top: 200px;
        left: 185px;
        font-size: 20px;
    }

    .rate-circle-split .rate-percent-1 {
        position: absolute;
        top: 72px;
        left: 185px;
        font-size: 40px;
    }

    .rate-circle-split .rate-percent-2 {
        position: absolute;
        top: 172px;
        left: 185px;
        font-size: 40px;
    }

.text-small {
    font-size: 14px;
    line-height: 18px;
}

@media (min-width: 1200px) {
    .section-icon-item h3 {
        height: 56px;
    }
}
