:root {
    --primary: #6C55F9;
    --accent: #FF3D85;
    --secondary: #645F88;
    --success: #2eab50;
    --info: #05B4E1;
    --warning: #FAC14D;
    --danger: #FF4943;
    --grey: #B4B2C5;
    --dark: #2D2B3A;
    --light: #F6F5FC;
}

body {
    font-family: "Work Sans",sans-serif;
    line-height: 1.5;
    color: #2d2b3a;
}

a {
    color: #2f77ed;
    text-decoration: none;
    background-color: transparent;
}
a:hover {
    color: #5641df;
    text-decoration: underline;
}

.h5, h5 {
    margin-bottom: 12px;
}

.text-sm {
    font-size: 14px!important;
}
.text-md {
    font-size: 1rem!important;
}
.text-lg {
    font-size: 18px!important;
}
.text-xl {
    font-size: 20px!important;
}

.bg-primary {
    background-color: #2f77ed!important;
}
a.bg-primary:focus,a.bg-primary:hover {
    background-color: #195ecf!important;
}

.bg-secondary {
    background-color: #645f88!important;
}
a.bg-secondary:focus,a.bg-secondary:hover {
    background-color: #59547c!important;
}

.bg-success {
    background-color: #2eab50!important;
}
a.bg-success:focus,a.bg-success:hover {
    background-color: #1d993f!important;
}

.bg-grey {
    background-color: #8e8aad!important;
}
a.bg-grey:focus,a.bg-grey:hover {
    background-color: #7d7a99!important;
}

.bg-light {
    background-color: #f6f5fc!important;
}
a.bg-light:focus,a.bg-light:hover {
    background-color: #edecf5!important;
}

.text-primary {
    color: #2f77ed!important;
}
a.text-primary:focus,a.text-primary:hover {
    color: #195ecf!important;
}

.text-secondary {
    color: #645f88!important;
}
a.text-secondary:focus,a.text-secondary:hover {
    color: #59547c!important;
}

.text-grey {
    color: #8e8aad!important;
}
a.text-grey:focus,a.text-grey:hover {
    color: #7d7a99!important;
}

.text-body {
    color: #3f3d4d!important;
}

.btn-primary {
    color: #fff;
    background-color: #2f77ed;
    border-color: transparent;
}
.btn-primary:disabled {
    color: #fff;
    background-color: #195ecf;
    border-color: transparent;
}
.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #2f77ed;
    border-color: #195ecf;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

.btn-secondary {
    color: #fff;
    background-color: #645f88;
    border-color: transparent;
}
.btn-secondary:disabled {
    color: #fff;
    background-color: #59547c;
    border-color: transparent;
}
.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #645f88;
    border-color: #59547c;
}
.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

.btn-success {
    color: #fff;
    background-color: #2eab50;
    border-color: transparent;
}
.btn-success:disabled {
    color: #fff;
    background-color: #1d993f;
    border-color: transparent;
}
.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #2eab50;
    border-color: #1d993f;
}
.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

.btn {
    padding: 8px 24px;
}

.navbar {
    min-height: 70px;
}
.navbar.sticky {
    z-index: 1080;
}
.navbar.sticky.fixed ~ * {
    margin-top: 70px;
}
.navbar.sticky.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: navTransition .5s ease;
    box-shadow: 0 2px 6px rgba(100, 95, 136, 0.15);
    z-index: 1080;
}
@keyframes navTransition {
    from {
        top: -100%;
    }
    to {
        top: 0;
    }
}

.navbar-brand {
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-nav {
    margin-top: 10px;
    border-top: 1px solid #e4e7ee;
    flex-shrink: 0;
}
.navbar-nav .nav-link {
    transition: all .2s ease;
}
.navbar-nav .btn {
    font-size: 14px;
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(100,95,136,.75);
}
.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover {
    color: #645f88;
}
@media (min-width:576px) {
    .navbar-expand-sm .navbar-nav {
        margin-top: 0;
        border-top: none;
    }
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
    }
    .navbar-expand-sm .navbar-nav {
        align-items: center;
    }
}
@media (min-width:768px) {
    .navbar-expand-md .navbar-nav {
        margin-top: 0;
        border-top: none;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
    }
    .navbar-expand-md .navbar-nav {
        align-items: center;
    }
}
@media (min-width:992px) {
    .navbar-expand-lg .navbar-nav {
        margin-top: 0;
        border-top: none;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
    }
    .navbar-expand-lg .navbar-nav {
        align-items: center;
    }
}
@media (min-width:1200px) {
    .navbar-expand-xl .navbar-nav {
        margin-top: 0;
        border-top: none;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
    }
    .navbar-expand-xl .navbar-nav {
        align-items: center;
    }
}

.page-section .form-control {
    padding: 8px 15px;
    height: calc(1.5em + 1.375rem + 2px);
    border-color: #d6dbd9;
}
.page-section textarea.form-control  {
    height: 80px;
}
.page-about .page-section.goals ul li{
    margin-bottom: 10px;
}

.page-link {
    margin-left: 5px;
    min-width: 40px;
    color: #b4b2c5;
    border: 1px solid #dee1e6;
    text-align: center;
    border-radius: 4px;
}
.page-link:hover {
    color: #645f88;
    background-color: #f6f5fc;
    border-color: #dee1e6;
}
.page-link:focus {
    box-shadow: none;
}

.bg-image {
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.bg-image>* {
    position: relative;
    z-index: 10;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(224,223,233,.7);
    visibility: hidden;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 1100;
}
.back-to-top::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: -4px auto;
    width: 12px;
    height: 12px;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.back-to-top:hover {
    background: #2f77ed;
}
.back-to-top:hover::after {
    border-color: #fff;
}

.page-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #898798;
    overflow: hidden;
}
.page-action .page-section {
    min-height: 300px;
}
.page-action .pg-msg {
    position: absolute;
    top: 140px;
    left: 0; 
    right: 0;
    margin-left: auto;
    margin-right: auto; 
    width: 45%;
    padding: 20px 25px;
    text-align: center;
    border-radius: 5px;
}
.page-action .pg-msg.success {
    background: #edfff9;
    border: 2px solid #00e099;
    color: #03a873;
}
.page-action .pg-msg.error {
    background: #fcf0f0;
    border: 2px solid #de6666;
    color: #d64b4b;
}

.page-banner {
    position: relative;
    margin-top: 16px;
    margin-bottom: 16px;
    height: 320px;
    background-color: #f6f5fc;
    color: #645f88;
    border-radius: 30px;
    z-index: 10;
}
.page-banner.home-banner {
    height: auto;
}
.page-banner.home-banner .img-fluid {
    max-width: 400px;
    margin: 0 auto;
}
.page-banner.home-banner .btn-scroll {
    position: absolute;
    bottom: -14px;
    left: 0;
    right: 0;
    margin: auto;
    width: 26px;
    height: 40px;
    line-height: 44px;
    background-color: #fff;
    color: #645f88;
    text-align: center;
    border-radius: 40px;
    box-shadow: 0 2px 6px rgba(100,95,136,.24);
    transition: all .2s ease;
}
.page-banner.home-banner .btn-scroll:hover {
    text-decoration: none;
    background-color: #2f77ed;
    color: #fff;
}
@media (max-width:1024px) {
    .page-banner.home-banner .img-fluid img {
        max-width: 320px;
    }
}
@media (min-width:768px) {
    .page-banner.home-banner {
        height: 540px;
    }
}
@media (max-width:768px) {
    .page-home #about .img-fluid img {
        max-width: 360px;
    }
    .page-home .banner-info .img-fluid img {
        max-width: 400px;
    }

    .page-about .img-fluid img {
        max-width: 360px;
    }

    .page-service .img-fluid img {
        max-width: 360px;
    }
}

.home-banner .row>:first-child {
    padding-left: 8%;
}

.subhead {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #898798;
    font-weight: 500;
    margin-bottom: 18px;
}

.title-section {
    color: #645f88;
}

.divider {
    display: block;
    margin-top: 16px;
    margin-bottom: 32px;
    width: 32px;
    height: 3px;
    border-radius: 40px;
    background-color: #2f77ed;
}

.btn-split {
    display: inline-flex;
    align-items: center;
    border-radius: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 6px;
}
.btn-split .fab {
    display: inline-block;
    margin-left: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
    color: #2f77ed;
}
.btn-split .fab svg {
    margin-bottom: 4px;
}

.card-service {
    display: block;
    margin: 16px auto;
    padding: 32px 20px;
    max-width: 300px;
    text-align: center;
    color: #898798;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(95,92,120,.12);
}
.card-service .header {
    display: inline-block;
    width: 100px;
    height: 100px;
    padding: 12px 12px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    background: #f6f5fc;
    color: #2f77ed;
    border-radius: 50%;
    text-align: center;
}
.card-service .header svg,
.card-service .header img{
    width: 48px;
    height: 48px;
    margin-top: 14px;
}

.features {
    text-align: center;
}
.features .header {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    background-color: #fff;
    color: #2f77ed;
    font-size: 34px;
    box-shadow: 0 2px 4px rgba(95,92,120,.16);
}
.features .header>svg,
.features .header>img{
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
}
.features h5 {
    color: #2d2b3a;
}
.features p {
    font-size: 13px;
    color: #898798;
}

.banner-info {
    padding: 0;
    background-color: #135acf;
    color: rgba(255,255,255,.8);
}
.banner-info .wrap {
    padding: 80px 0;
}
.banner-info .title-section {
    color: #fff;
}
.banner-info .divider {
    background-color: #fff;
}
.banner-info .h5 {
    margin-top: 25px;
}

.contact-detail svg {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.page-footer {
    position: relative;
    display: block;
    padding-top: 80px;
    padding-bottom: 16px;
    background-color: #2d2b3a;
}
.page-footer p a {
    color: #2eab50;
    transition: color .2s ease;
}
.page-footer p a:hover {
    color: #40d48a;
}
.page-footer h3,.page-footer h4,.page-footer h5 {
    color: #fff;
    margin-bottom: 24px;
}
.page-footer p {
    color: #898798;
}

.footer-menu {
    position: relative;
    padding-left: 0;
    list-style: none;
}
.footer-menu li {
    margin-bottom: 12px;
}

.footer-link {
    display: inline-block;
    padding: 6px 0;
}
.footer-link,.footer-menu a {
    color: #898798;
}
.footer-link:hover,.footer-menu a:hover {
    color: #fff;
    text-decoration: none;
}

.social-media-button a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    color: #898798;
    transition: all .2s linear;
}
.social-media-button a:hover {
    background-color: #2f77ed;
    color: #fff;
    text-decoration: none;
    transform: rotate(360deg);
}
.social-media-button a svg {
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
}