/* Layout Base */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex: 1;
}


/* Header Top Menu */
.menu {
    background-color: var(--brand-Orange);
    padding: 5px 30px 5px 100px;
    color: #fff;
}

/* Footer */
footer {
    background-color: var(--brand-Blue);
}

    footer hr {
        width: 100px;
        background-color: var(--brand-Orange);
        height: 3px;
    }

/* Scroll To Top */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #fc9803;
    color: #fff;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    z-index: 999;
}

    #scrollTopBtn:hover {
        background: #3fe0c8;
        transform: scale(1.1);
    }


.nav-pill-container {
    background-color: var(--brand-Orange);
    border-radius: 50px; /* Makes it pill-shaped */
    border: 1px solid #e0e0e0;
    gap: 24px; /* Space between items */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 1.15rem; /* <-- Controls base font size */
    padding: 5px 22px; /* <-- Padding of the orange capsule */
}

    .nav-pill-container .nav-link {
        color: var(--brand-Blue) !important; /* Darker text for contrast on light background */
        padding: 0.25rem 0.6rem !important;
        font-size: 1.15rem;     /* Explicitly ensures the link text is larger */
        font-weight: 500;       /* Slightly bolder for clarity */
        transition: color 0.3s;
    }

        .nav-pill-container .nav-link:hover {
            color: #007bff !important;
        }

.login-nav-link {
    font-size: 0.95rem;
}

/* --- Mobile Navbar Cleanup --- */

/* Smaller, tighter logo on phones/tablets so it doesn't dominate the bar */
.navbar-brand img {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
}

/* Remove the boxy outline Bootstrap puts around the hamburger by default */
.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

@media (max-width: 991.98px) {
    /* pull logo/toggler closer to the true screen edges */
    .navbar > .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand img {
        height: 42px;
        max-height: 42px;
    }

    /* turn the desktop "pill" into a compact stacked list */
    .nav-pill-container {
        border-radius: 14px;
        gap: 0;
        box-shadow: none;
        margin-top: 10px;
        font-size: 1.05rem !important; /* overrides the fs-4 utility on this element */
    }

        .nav-pill-container .nav-item {
            width: 100%;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }

            .nav-pill-container .nav-item:last-child {
                border-bottom: none;
            }

        .nav-pill-container .nav-link {
            padding: 0.7rem 1.25rem !important;
            text-align: left;
        }
}
