:root {
    --brand-primary: #396EB0;
    --brand-primary-dark: #33639E;
    --brand-sidebar: #14273E;
    --brand-sidebar-text: #E4EAF1;
    --brand-sidebar-muted: #9AADC0;
    --brand-soft: #E8F0F8;
    --brand-page: #F4F7FB;
    --color-1: #396EB0;
    --color-2: #14273E;
    --skinColor: #396EB0;
    --darkColor: #14273E;
}

body {
    background-color: #ffffff;
}

/* Admin / instructor dashboard canvas stays a soft white */
body:has(.ol-sidebar) {
    background-color: var(--brand-page);
}

/* ---------- Sidebar ---------- */
.ol-sidebar {
    background: var(--brand-sidebar) !important;
    box-shadow: 4px 0 24px rgba(20, 39, 62, 0.18);
}

.ol-sidebar .sidebar-title {
    color: var(--brand-sidebar-muted) !important;
}

.ol-sidebar .sidebar-first-li > a {
    color: var(--brand-sidebar-text) !important;
}

.ol-sidebar .sidebar-first-li > a .icon {
    color: var(--brand-sidebar-muted) !important;
}

.ol-sidebar .sidebar-first-li.active > a,
.ol-sidebar .sidebar-first-li:hover > a {
    background: var(--brand-primary) !important;
    color: #fff !important;
}

.ol-sidebar .sidebar-first-li.active > a .icon,
.ol-sidebar .sidebar-first-li:hover > a .icon {
    color: #fff !important;
}

.ol-sidebar .sidebar-second-li > a,
.ol-sidebar .sidebar-third-li > a {
    color: #C5D2DF !important;
}

.ol-sidebar .sidebar-second-li.active > a,
.ol-sidebar .sidebar-second-li:hover > a,
.ol-sidebar .sidebar-third-li.active > a,
.ol-sidebar .sidebar-third-li:hover > a {
    color: #8FBFEC !important;
}

.ol-sidebar .sidebar-second-li > a::after,
.ol-sidebar .sidebar-third-li > a::after {
    background: var(--brand-sidebar-muted);
}

.ol-sidebar .sidebar-second-li.active > a::after,
.ol-sidebar .sidebar-second-li:hover > a::after,
.ol-sidebar .sidebar-third-li.active > a::after,
.ol-sidebar .sidebar-third-li:hover > a::after {
    background: #8FBFEC;
}

.ol-sidebar .sidebar-cross ::before {
    color: var(--brand-sidebar-muted);
}

.ol-sidebar .first-sub-menu-title {
    color: #fff;
}

@media (min-width: 992px) {
    .ol-sidebar.hide .first-sub-menu {
        background: #fff;
        box-shadow: 0 10px 30px rgba(20, 39, 62, 0.12);
    }

    .ol-sidebar.hide .first-sub-menu .sidebar-second-li > a,
    .ol-sidebar.hide .first-sub-menu .sidebar-third-li > a {
        color: #4b5675 !important;
    }

    .ol-sidebar.hide .first-sub-menu .sidebar-second-li.active > a,
    .ol-sidebar.hide .first-sub-menu .sidebar-second-li:hover > a,
    .ol-sidebar.hide .first-sub-menu .sidebar-third-li.active > a,
    .ol-sidebar.hide .first-sub-menu .sidebar-third-li:hover > a {
        color: var(--brand-primary) !important;
    }

    .ol-sidebar.hide .first-sub-menu-title {
        color: var(--brand-sidebar);
    }
}

html {
    scroll-behavior: smooth;
}

#solutions,
#competency,
#assessment,
#lms,
#about-us,
#contact {
    scroll-margin-top: 24px;
}

.primary-menu li.mk-nav-item {
    position: relative;
}

.primary-menu li.mk-nav-item > a i {
    font-size: 11px;
}

.mk-nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 9999;
    display: none;
    min-width: 340px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(57, 110, 176, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(46, 88, 141, 0.12);
}

.primary-menu li.mk-nav-item:hover > .mk-nav-dropdown,
.primary-menu li.mk-nav-item:focus-within > .mk-nav-dropdown {
    display: block;
}

.mk-nav-dropdown li {
    padding: 0;
}

.mk-nav-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #2E588D !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mk-nav-dropdown a::after {
    display: none !important;
}

.mk-nav-dropdown a:hover {
    background: #EEF4FB;
    color: #396EB0 !important;
}

/* ---------- Logos ---------- */
.logo-image img,
.header-dark-logo,
.header-light-logo,
.sidebar-logo-lg,
.sidebar-logo-sm,
.footer-content img {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 0;
    background: transparent !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.sidebar-logo-sm {
    height: 40px;
    max-width: 40px;
}

.ol-sidebar .sidebar-logo-lg,
.ol-sidebar .sidebar-logo-sm {
    background: transparent;
}

/* ---------- Buttons & accents ---------- */
.eBtn.gradient,
.gradient {
    background-image: linear-gradient(to right, #396EB0 0%, #33639E 51%, #33639E 100%) !important;
    box-shadow: 0 8px 20px rgba(57, 110, 176, 0.18);
}

.btn-primary,
.bg-primary,
.badge.bg-primary {
    background-color: #396EB0 !important;
    border-color: #396EB0 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #33639E !important;
    border-color: #33639E !important;
}

.text-primary,
a.text-primary {
    color: #396EB0 !important;
}

.page-item.active .page-link,
.entry-pagination .pagination li.active a {
    background-color: #396EB0 !important;
    border-color: #396EB0 !important;
}

.form-control:focus,
.form-select:focus,
.select2-container--default .select2-selection--single:focus {
    border-color: #396EB0 !important;
    box-shadow: 0 0 0 0.2rem rgba(57, 110, 176, 0.18) !important;
}

/* Student profile sidebar */
.couses-tab-list li.active a,
.couses-tab-list li a:hover {
    color: #396EB0 !important;
}

.couses-tab-list li.active a svg path,
.couses-tab-list li a:hover svg path {
    fill: #396EB0 !important;
}

h1, h2, h3, h4, h5, h6,
.g-title,
.mk-landing .mk-title,
.banner-content h1,
.banner-content h5,
.entry-title h3,
.en-title h3 {
    color: #396EB0 !important;
}

.footer-area h1,
.footer-area h2,
.footer-area h3,
.footer-area h4,
.footer-area h5,
.footer-area h6,
.mk-landing .mk-contact-copy .mk-title,
.mk-landing .mk-contact-copy h2,
.modal-header .modal-title,
.ol-sidebar h1,
.ol-sidebar h2,
.ol-sidebar h3,
.ol-sidebar h4,
.ol-sidebar h5,
.ol-sidebar h6 {
    color: #ffffff !important;
}

.footer-area {
    background: linear-gradient(180deg, #14273E 0%, #1C3552 100%) !important;
}

.sub-header .right-sub ul li a.mk-social-icon,
.footer-area .f-socials li a.mk-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(230, 57, 70, 0.14);
    border-radius: 50%;
    background-color: #FFF5F6;
    background-image: none;
    box-shadow: none;
    color: #E63946 !important;
    line-height: 1;
    text-decoration: none;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.sub-header .right-sub ul li a.mk-social-icon i,
.footer-area .f-socials li a.mk-social-icon i {
    display: block;
    width: auto;
    height: auto;
    color: inherit !important;
    font-size: 14px;
    line-height: 1;
    transition: color 0.3s ease-in-out;
}

.sub-header .right-sub ul li a.mk-social-icon:hover,
.sub-header .right-sub ul li a.mk-social-icon:focus,
.sub-header .right-sub ul li a.mk-social-icon:focus-visible,
.footer-area .f-socials li a.mk-social-icon:hover,
.footer-area .f-socials li a.mk-social-icon:focus,
.footer-area .f-socials li a.mk-social-icon:focus-visible {
    background: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25) !important;
    color: #FFE8EA !important;
    transform: translateY(-2px);
}

.sub-header .right-sub ul li a.mk-social-icon:hover i,
.sub-header .right-sub ul li a.mk-social-icon:focus i,
.sub-header .right-sub ul li a.mk-social-icon:focus-visible i,
.footer-area .f-socials li a.mk-social-icon:hover i,
.footer-area .f-socials li a.mk-social-icon:focus i,
.footer-area .f-socials li a.mk-social-icon:focus-visible i {
    color: #FFE8EA !important;
}

.breadcum-area {
    background: linear-gradient(115deg, #E1E9F3 0%, #C2D2E7 48%, #8FA8C9 78%, #396EB0 100%) !important;
}

.breadcum-area:after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(225, 233, 243, 0.2) 64%, rgba(255, 255, 255, 0.05) 100%) !important;
}

.contact-card {
    border: 1px solid rgba(57, 110, 176, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(46, 88, 141, 0.08);
}

.contact-icon {
    background: linear-gradient(180deg, #F7FAFD 0%, #E1E9F3 100%);
    border-color: #C2D2E7;
}

.contact-card .g-title {
    color: #396EB0 !important;
}

.contact-left .g-title,
.eNtry-breadcum .g-title {
    color: #2E588D !important;
}

/* Comfortable cards and links */
.ol-card,
.card {
    border-color: #E2E8F0;
}

.ol-sidebar-content .ol-header {
    background: #F4F7FB;
}
