/* IEEE-Compliant Professional Academic Styling */

:root {
    --ieee-blue: #00629b; /* Standard IEEE Blue */
    --academic-grey: #555555;
    --heading-color: #222222;
    --bg-color: #ffffff;
    --card-bg: #f9f9f9;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: var(--bg-color);
    font-size: 16px;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    color: var(--heading-color);
    font-weight: 700;
}

.navbar-brand {
    color: var(--ieee-blue) !important;
    letter-spacing: 0.5px;
}

.text-primary {
    color: var(--ieee-blue) !important;
}

/* Formal Navigation */
.nav-link {
    color: #444 !important;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--ieee-blue) !important;
}

/* Publication (IEEE Style) */
.ieee-citation {
    font-size: 0.95rem;
    padding-left: 0;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.ieee-citation:hover {
    border-left: 3px solid var(--ieee-blue);
    padding-left: 10px;
}

/* Smooth Fade-in */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Dividers */
.border-bottom {
    border-bottom: 2px solid #eeeeee !important;
}

/* Layout Polish */
.sidebar img {
    max-width: 100%;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

.card {
    border: 1px solid #eef0f2;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.badge-light {
    background-color: #f8f9fa;
    color: #666;
}

/* Utilities */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.text-underline-hover:hover {
    text-decoration: underline !important;
}

footer {
    border-top: 1px solid #eeeeee;
    padding: 40px 0;
}

/* Sidebar Alignment */
.academic-links li {
    display: flex;
    align-items: center;
}

.academic-links i {
    width: 24px;
    text-align: center;
    margin-right: 12px;
}
