:root {
    --primary-color: #003090;
    --secondary-color: #B9E0F7;
    --accent-color: #6FB3F8;
    --text-color: #333;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.navbar {
    background-color: var(--primary-color) !important;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.portal-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    color: white;
    transition: transform 0.3s ease;
    text-decoration: none !important;
}

.portal-logo:hover {
    transform: scale(1.02);
}

.logo-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.logo-main .portal-highlight {
    color: var(--secondary-color);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-top: 2px;
}

.category-btn {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 10px;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: #eee;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.sidebar-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    margin-bottom: 20px;
}

.sidebar-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.search-box {
    border-radius: 20px;
    padding-left: 20px;
}

.search-button {
    border-radius: 0 20px 20px 0;
    margin-left: -1px;
}

/* Maintain some "classic" looks but clean */
.link1 {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.link1:hover {
    text-decoration: underline;
}

.link2 {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
}

.link2:hover {
    color: var(--primary-color);
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.6) !important;
}