:root {
    --nav-color: #272828;
    --nav-hover-color: #1e90ff;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #272828;
    --nav-dropdown-hover-color: #5fcf80;
}

:root {
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #37423b;
    --accent-color: #1e90ff;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.dropdown-item:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: transparent;
}

#logo {
    width: 100%;
}

#student-loan-logo {
    width: 100px;
    display: none;
}

.logo-layout {
    background: #5271FF;
}

.section-title {
    text-align: center;

    h2 {
        color: rgba(0, 0, 0, 0.5);
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        line-height: 1px;
    }

    h2::after {
        content: "";
        width: 120px;
        height: 1px;
        background-color: var(--accent-color);
        display: inline-block;
        margin: 4px 10px;
        padding: 0;
    }

    p {
        color: var(--heading-color);
        margin: 0;
        font-size: 36px;
        font-weight: 700;
    }
}

#back-to-top {
    position: fixed;
    bottom: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    font-size: 20px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

#back-to-top.active {
    bottom: 15px;
    visibility: visible;
    opacity: 1;
}


#back-to-top:hover {
    background-color: #0b5ed7;
    color: white;
}

.copyright-bar {
    background-color: #eaeaea;
    padding: 15px 0;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.sidebar {
    color: white;
    position: relative;
    flex-shrink: 0;
    width: 17%;

    a {
        color: white;
        text-decoration: none;
        display: block;
        margin-bottom: 1rem;
    }

    a:hover {
        text-decoration: underline;
    }
}

.show-lg {
    display: none;
}

@media (min-width: 992px) {
    #logo {
        width: 35%;
    }

    #student-loan-logo {
        display: block;
    }

    .logo-layout {
        background: linear-gradient(to right,
            #5271FF 0%,
            #5271FF 50%,
            #fff 100%);
    }

    .nav-link {
        transition: all 0.3s ease;
        position: relative;
        padding: 0.5rem 1rem !important;
    }

    .nav-link:not(.dropdown-toggle)::after {
        content: "";
        position: absolute;
        background-color: var(--nav-color);
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.2s ease;
    }

    .nav-link:not(.dropdown-toggle):hover::after {
        width: 100%;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        visibility: hidden;
        border: 0;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .show-lg {
        display: block;
    }

    .hero-section {
        min-height: 300px;

        .hero-section-bottom {
            height: auto;
        }
    }
}
