﻿
/* --------- Navbar --------- */
#mainNav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

    #mainNav .nav-top,
    #mainNav > .container {
        width: 100%;
    }

        #mainNav .nav-top .container {
            flex-wrap: wrap;
            row-gap: .35rem;
        }

    #mainNav .nav-top-item {
        white-space: nowrap;
    }

.navbar-transparent {
    background: transparent;
    transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease, padding .25s ease;
}

.nav-top {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
}

    .nav-top a {
        color: inherit;
        text-decoration: none;
    }

.nav-top-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

    .navbar-scrolled .nav-top {
        color: rgba(15, 23, 42, .7);
        border-bottom-color: rgba(15, 23, 42, .08);
    }

    .navbar-scrolled.navbar-dark {
        --bs-navbar-color: rgba(15, 23, 42, .75);
        --bs-navbar-hover-color: rgba(15, 23, 42, .92);
        --bs-navbar-brand-color: rgba(15, 23, 42, .95);
        --bs-navbar-brand-hover-color: rgba(15, 23, 42, 1);
        --bs-navbar-toggler-border-color: rgba(15, 23, 42, .18);
    }

.navbar .dropdown-menu {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
    padding: .75rem;
    min-width: 240px;
}

.navbar .dropdown-header {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--slate-500);
    font-weight: 700;
    padding-left: .25rem;
}

.navbar .dropdown-item {
    font-weight: 600;
    color: var(--slate-700);
    border-radius: 10px;
    padding: .45rem .6rem;
}

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: rgba(30, 93, 214, .08);
        color: var(--slate-800);
    }

.navbar .dropdown-divider {
    margin: .5rem 0;
}

.dropdown-hub {
    border-top: 1px solid rgba(15, 23, 42, .08);
    padding-top: .25rem;
    margin-top: .25rem;
}

    .dropdown-hub:first-child {
        border-top: 0;
        margin-top: 0;
        padding-top: 0;
    }

.dropdown-hub-toggle {
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--slate-500);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .dropdown-hub-toggle:hover,
    .dropdown-hub-toggle:focus {
        background: rgba(30, 93, 214, .05);
        color: var(--slate-700);
    }

    .dropdown-hub-toggle:focus-visible {
        outline: 2px solid rgba(30, 93, 214, .25);
        outline-offset: 2px;
    }

.dropdown-hub-panel {
    padding-bottom: .4rem;
}

    .dropdown-hub-panel .dropdown-item {
        padding-left: .9rem;
    }

.dropdown-hub-toggle .hub-icon {
    transition: transform .2s ease;
}

.dropdown-hub-toggle[aria-expanded="true"] .hub-icon {
    transform: rotate(180deg);
}
/* --------- Footer --------- */

footer.site-footer .social-icons a {
    width: 2.5rem; /* w-10 */
    height: 2.5rem; /* h-10 */
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%; /* rounded-full */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    footer.site-footer .social-icons a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px) scale(1.05);
    }

    footer.site-footer .social-icons a[href*="facebook.com"]:hover {
        background-color: #1877f2 !important;
        border-color: #1877f2 !important;
    }

    footer.site-footer .social-icons a[href*="linkedin.com"]:hover {
        background-color: #0077b5 !important;
        border-color: #0077b5 !important;
    }

footer.site-footer a {
    transition: color 0.3s ease, transform 0.3s ease;
    color: #adb5bd;
    text-decoration: none;
}

footer.site-footer .award-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

    footer.site-footer .award-item:hover {
        background-color: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px) scale(1.02);
    }

    footer.site-footer .award-item .bi {
        font-size: 1.5rem; /* text-2xl */
        color: #fbbf24;
        margin-bottom: 0.25rem; /* mb-1 */
        display: block;
    }

    footer.site-footer .award-item span {
        font-size: 0.75rem; /* text-xs */
        color: #adb5bd; /* text-gray-300 */
    }

.footer-link {
    color: rgba(148, 163, 184, .9);
    text-decoration: none;
}

    .footer-link:hover {
        color: rgba(255, 255, 255, .92);
    }

.social-dot {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(30, 41, 59, .8);
    display: inline-block;
    transition: background-color .2s ease;
}

    .social-dot:hover {
        background: rgb(30, 93, 214);
    }
