/* DEMO STYLE - Fully Fixed for Bootstrap 5 */
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover, a:focus {
    color: inherit;
}

/* NAVBAR STYLING */
.navbar {
    padding: 15px 10px;
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    position: absolute;
    right: 20px;
    top: 10px;
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: right;
        width: 100%;
    }
}

/* SIDEBAR STYLING */
#sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -250px;
    width: 250px;
    background: #013364;
    color: #fff;
    padding-top: 20px;
    z-index: 1000;
    transition: all 0.3s;
    overflow-y: auto;
}

#sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    background: #013364;
    text-align: center;
}

.sidebar-logo {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #013364;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff;
}

#sidebar ul li a:hover {
    background: #fff;
    color: #013364;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    background: #013364;
    color: #fff;
}

/* SIDEBAR TOGGLE BUTTON */
#sidebarCollapse {
    background: #d30b0d !important;
    color: #fff !important;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    transition: background 0.3s;
}

#sidebarCollapse:hover {
    background: #a00b0d !important;
}

/* SIDEBAR DROPDOWN ICONS */
#sidebar a.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sidebar a.dropdown-toggle::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0d7";
    transition: transform 0.3s;
    margin-left: 5px;
}

#sidebar a.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* CONTENT STYLING */
#content {
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: 250px;
    width: calc(100% - 250px);
}

#content:not(.active) {
    margin-left: 0;
    width: 100%;
}

/* CALL TO ACTION LINKS */
ul.CTAs {
    padding: 20px;
}

ul.CTAs a,
a.download,
a.article {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
}

a.download {
    background: #d30b0d;
    color: #fff;
}

a.download:hover {
    background: #a00b0d;
}

a.article {
    background: #013364 !important;
    color: #fff !important;
}

a.article:hover {
    background: #021e4c !important;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    #sidebar {
        left: -200px;
        width: 200px;
    }

    #sidebar.active {
        left: 0;
    }

    #content {
        margin-left: 0;
        width: 100%;
    }
}
