/* main/static/main/css/base.css */

:root {
    --primary: #1E3A8A; /* Dark Blue - for text */
    --secondary: #3B82F6; /* Brighter Blue - for hover/active */
    --accent: #F59E0B;
    --background: #F8F9FA; /* A very light gray background */
    --text: #1F2937;
    --white: #FFFFFF;
    --black: #000000;
}

/* --- CORE LAYOUT & FONT --- */

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    /* --- MODIFICATION --- */
    /* This is the key fix for the fixed-top navbar. It pushes all content down. */
    padding-top: 80px; /* Adjust this value if your navbar height is different */
}

/* The 'main' element no longer needs its own margin-top */
main {
    /* Styles for the main content area if needed, e.g., min-height */
}


/* --- NAVBAR STYLING (Unchanged) --- */
.navbar.fixed-top {
    background: var(--white);
    border-bottom: 1px solid #dee2e6;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary) !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

/* Company name styling */
.company-name {
    letter-spacing: -0.5px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 500;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
    font-weight: 600;
}

.navbar-nav .nav-icon {
    font-size: 1.2rem;
}


/* --- RESPONSIVE NAVBAR STYLING (Unchanged) --- */
@media (max-width: 768px) {
    .company-name {
        font-size: 0.9rem;
        letter-spacing: -0.3px;
    }
}

@media (max-width: 576px) {
    .company-name {
        display: none;
    }
}


/* --- FOOTER STYLING (Unchanged) --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 3rem;
}
footer a {
    color: var(--accent);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.footer-social a:hover {
    color: var(--accent);
}